Skip to content

Commit 6f34430

Browse files
committed
Update to support the latest Corelibs XCTest
1 parent 2c07d38 commit 6f34430

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+97
-97
lines changed

TestFoundation/TestNSAffineTransform.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class TestNSAffineTransform : XCTestCase {
2222
private let accuracyThreshold = 0.001
2323

24-
var allTests : [(String, () throws -> Void)] {
24+
static var allTests: [(String, TestNSAffineTransform -> () throws -> Void)] {
2525
return [
2626
("test_BasicConstruction", test_BasicConstruction),
2727
("test_IdentityTransformation", test_IdentityTransformation),

TestFoundation/TestNSArray.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import SwiftXCTest
2121

2222
class TestNSArray : XCTestCase {
2323

24-
var allTests : [(String, () throws -> Void)] {
24+
static var allTests: [(String, TestNSArray -> () throws -> Void)] {
2525
return [
2626
("test_BasicConstruction", test_BasicConstruction),
2727
("test_enumeration", test_enumeration),

TestFoundation/TestNSBundle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class TestNSBundle : XCTestCase {
2323

24-
var allTests : [(String, () throws -> Void)] {
24+
static var allTests: [(String, TestNSBundle -> () throws -> Void)] {
2525
return [
2626
("test_paths", test_paths),
2727
("test_resources", test_resources),

TestFoundation/TestNSByteCountFormatter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class TestNSByteCountFormatter : XCTestCase {
2323

24-
var allTests : [(String, () throws -> Void)] {
24+
static var allTests: [(String, TestNSByteCountFormatter -> () throws -> Void)] {
2525
return [
2626
("test_DefaultValues", test_DefaultValues)
2727
]

TestFoundation/TestNSCalendar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import CoreFoundation
1818

1919
class TestNSCalendar: XCTestCase {
2020

21-
var allTests : [(String, () throws -> Void)] {
21+
static var allTests: [(String, TestNSCalendar -> () throws -> Void)] {
2222
return [
2323
("test_gettingDatesOnGregorianCalendar", test_gettingDatesOnGregorianCalendar ),
2424
("test_gettingDatesOnHebrewCalendar", test_gettingDatesOnHebrewCalendar ),

TestFoundation/TestNSCharacterSet.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import SwiftXCTest
2121

2222
class TestNSCharacterSet : XCTestCase {
2323

24-
var allTests : [(String, () throws -> Void)] {
24+
static var allTests: [(String, TestNSCharacterSet -> () throws -> Void)] {
2525
return [
2626
("test_Predefines", test_Predefines),
2727
("test_Range", test_Range),

TestFoundation/TestNSData.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class TestNSData: XCTestCase {
1919

20-
var allTests: [(String, () throws -> Void)] {
20+
static var allTests: [(String, TestNSData -> () throws -> Void)] {
2121
return [
2222
("test_description", test_description),
2323
("test_emptyDescription", test_emptyDescription),

TestFoundation/TestNSDate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class TestNSDate : XCTestCase {
2323

24-
var allTests : [(String, () throws -> Void)] {
24+
static var allTests: [(String, TestNSDate -> () throws -> Void)] {
2525
return [
2626
("test_BasicConstruction", test_BasicConstruction),
2727
("test_InitTimeIntervalSince1970", test_InitTimeIntervalSince1970),

TestFoundation/TestNSDictionary.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import SwiftXCTest
2121

2222
class TestNSDictionary : XCTestCase {
2323

24-
var allTests : [(String, () throws -> Void)] {
24+
static var allTests: [(String, TestNSDictionary -> () throws -> Void)] {
2525
return [
2626
("test_BasicConstruction", test_BasicConstruction),
2727
("test_ArrayConstruction", test_ArrayConstruction),

TestFoundation/TestNSFileManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class TestNSFileManger : XCTestCase {
1919

20-
var allTests : [(String, () throws -> Void)] {
20+
static var allTests: [(String, TestNSFileManger -> () throws -> Void)] {
2121
return [
2222
("test_createDirectory", test_createDirectory ),
2323
("test_createFile", test_createFile ),

0 commit comments

Comments
 (0)