Skip to content

Commit 1fe2107

Browse files
committed
Merge tag '0.5.3-beta' into dev-0.6.0
Mainly apply `swift test --generate-linuxmain`
2 parents 325fd0c + 7198617 commit 1fe2107

18 files changed

Lines changed: 262 additions & 127 deletions

EasyImagy.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@
215215
D6134A3F1F852A57005592A2 /* ImageTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageTests.swift; sourceTree = "<group>"; };
216216
D6134A401F852A57005592A2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
217217
D6134A411F852A57005592A2 /* RGBATests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RGBATests.swift; sourceTree = "<group>"; };
218-
D6134A471F852A57005592A2 /* LinuxMain.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LinuxMain.swift; sourceTree = "<group>"; };
219218
D6134A601F852C80005592A2 /* EasyImagy.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = EasyImagy.framework; sourceTree = BUILT_PRODUCTS_DIR; };
220219
D6134A681F852C80005592A2 /* EasyImagyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = EasyImagyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
221220
D6134AA21F85D1F9005592A2 /* EasyImagy.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = EasyImagy.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -376,7 +375,6 @@
376375
isa = PBXGroup;
377376
children = (
378377
D6134A3A1F852A57005592A2 /* EasyImagyTests */,
379-
D6134A471F852A57005592A2 /* LinuxMain.swift */,
380378
);
381379
path = Tests;
382380
sourceTree = "<group>";

Tests/EasyImagyTests/AnyImageTests.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,4 @@ class AnyImageTests : XCTestCase {
111111
XCTAssertEqual(a[0, 0], 9)
112112
XCTAssertEqual(b[0, 0], 1)
113113
}
114-
115-
static var allTests = [
116-
("testSlice", testSlice),
117-
("testXRange", testXRange),
118-
("testYRange", testYRange),
119-
("testSubscript", testSubscript),
120-
("testSubscriptRange", testSubscriptRange),
121-
("testSequence", testSequence),
122-
("testCopyOnWrite", testCopyOnWrite),
123-
]
124114
}

Tests/EasyImagyTests/ConvolutionTests.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,4 @@ class ConvolutionTests: XCTestCase {
150150
]))
151151
}
152152
}
153-
154-
static var allTests = [
155-
("testConvoluted", testConvoluted),
156-
]
157153
}

Tests/EasyImagyTests/EasyImagyTests.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,6 @@ class EasyImagySample: XCTestCase {
217217
/**/ }
218218
}
219219
#endif
220-
221-
static var allTests = [
222-
("testInitialization", testInitialization),
223-
("testAccessToAPixel", testAccessToAPixel),
224-
("testRotation", testRotation),
225-
("testResizing", testResizing),
226-
("testCropping", testCropping),
227-
]
228220
}
229221

230222
private func never() -> Bool {

Tests/EasyImagyTests/ExtrapolationTests.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,4 @@ class ExtrapolationTests: XCTestCase {
532532
XCTAssertEqual(c[-3, -3], 1)
533533
}
534534
}
535-
536-
static var allTests = [
537-
("testSubscriptWithExtrapolation", testSubscriptWithExtrapolation),
538-
("testSubscriptRangeWithExtrapolation", testSubscriptRangeWithExtrapolation),
539-
]
540535
}

Tests/EasyImagyTests/HigherOrderFunctionsTests.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,4 @@ class HigherOrderFunctionsTests : XCTestCase {
107107
image.update { $0 += 1 }
108108
}
109109
}
110-
111-
static var allTests = [
112-
("testMap", testMap),
113-
("testUpdate", testUpdate),
114-
("testUpdatePerformance", testUpdatePerformance),
115-
]
116110
}

Tests/EasyImagyTests/ImageOperatorsTests.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -281,16 +281,5 @@ class ImageOperatorsTests: XCTestCase {
281281
true, true,
282282
]))
283283
}
284-
285-
static var allTests = [
286-
("testAdd", testAdd),
287-
("testAnd", testAnd),
288-
("testAddAsign", testAddAsign),
289-
("testSubtractAsign", testSubtractAsign),
290-
("testIsEqual", testIsEqual),
291-
("testIsNotEqual", testIsNotEqual),
292-
("testNegate", testNegate),
293-
("testNot", testNot),
294-
]
295284
}
296285

Tests/EasyImagyTests/ImageProtocolTests.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,4 @@ class ImageProtocolTests : XCTestCase {
159159
}
160160
}
161161
}
162-
163-
static var allTests = [
164-
("testSlice", testSlice),
165-
("testInitWithPixelAt", testInitWithPixelAt),
166-
("testTransposed", testTransposed),
167-
("testXReversed", testXReversed),
168-
("testYReversed", testYReversed),
169-
("testRotated", testRotated),
170-
]
171162
}

Tests/EasyImagyTests/ImageSliceTests.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,4 @@ class ImageSliceTests: XCTestCase {
145145
XCTAssertNil(image.pixelAt(x: 0, y: -1))
146146
XCTAssertNil(image.pixelAt(x: 0, y: 3))
147147
}
148-
149-
static var allTests = [
150-
("testInit", testInit),
151-
("testSequence", testSequence),
152-
("testSubscriptRange", testSubscriptRange),
153-
("testPixel", testPixel),
154-
]
155148
}

Tests/EasyImagyTests/ImageTests.swift

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -332,20 +332,4 @@ class ImageTests: XCTestCase {
332332
}
333333
}
334334
#endif
335-
336-
static var allTests = [
337-
("testInitWithImageSlice", testInitWithImageSlice),
338-
("testSequence", testSequence),
339-
("testSubscriptGet", testSubscriptGet),
340-
("testSubscriptSet", testSubscriptSet),
341-
("testSubscriptRange", testSubscriptRange),
342-
("testPixel", testPixel),
343-
("testWithUnsafeBufferPointer", testWithUnsafeBufferPointer),
344-
("testWithUnsafeMutableBufferPointer", testWithUnsafeMutableBufferPointer),
345-
("testWithUnsafeBytes", testWithUnsafeBytes),
346-
("testWithUnsafeMutableBytes", testWithUnsafeMutableBytes),
347-
("testCopyOnWritePerformanceOfCopy", testCopyOnWritePerformanceOfCopy),
348-
("testCopyOnWritePerformanceOfUpdate", testCopyOnWritePerformanceOfUpdate),
349-
("testCopyPerformance", testCopyPerformance),
350-
]
351335
}

0 commit comments

Comments
 (0)