-
-
Notifications
You must be signed in to change notification settings - Fork 772
/
Copy pathLinuxMain.swift
119 lines (108 loc) · 5.58 KB
/
LinuxMain.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// Generated using Sourcery 0.15.0 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT
@testable import SwiftDateTests
import XCTest
extension TestDateInRegion {
static var allTests: [(String, (TestDateInRegion) -> () throws -> Void)] = [
("testDateInRegion_ParseWithLocale", testDateInRegion_ParseWithLocale),
("testDateInRegion_InitWithDateAndRegion", testDateInRegion_InitWithDateAndRegion),
("testDateInRegion_InitFromTimeInterval", testDateInRegion_InitFromTimeInterval),
("testDateInRegion_InitFromComponents", testDateInRegion_InitFromComponents),
("testDateInRegion_InitFromParams", testDateInRegion_InitFromParams),
("testDateInRegion_PastAndFuture", testDateInRegion_PastAndFuture),
("testDateInRegion_Description", testDateInRegion_Description),
("testDateInRegion_DateComponents", testDateInRegion_DateComponents),
("testDateInRegion_Hash", testDateInRegion_Hash),
("testDateInRegion_InitComponentsCallback", testDateInRegion_InitComponentsCallback),
("testDateInRegion_ExtractComponents", testDateInRegion_ExtractComponents),
("testDateInRegion_InitStringAutoFormat", testDateInRegion_InitStringAutoFormat)
]
}
extension TestDateInRegion_Compare {
static var allTests: [(String, (TestDateInRegion_Compare) -> () throws -> Void)] = [
("testDateInRegion_compareCloseTo", testDateInRegion_compareCloseTo),
("testDateInRegion_compare", testDateInRegion_compare),
("testDateInRegion_compareGranularity", testDateInRegion_compareGranularity),
("testDateInRegion_isBeforeDate", testDateInRegion_isBeforeDate),
("testDateInRegion_isAfterDate", testDateInRegion_isAfterDate),
("testDateInRegion_isInRange", testDateInRegion_isInRange),
("testDateInRegion_earlierAndLaterDate", testDateInRegion_earlierAndLaterDate),
("testDateInRegion_compareMath", testDateInRegion_compareMath),
("testDateInRange_GranuralityTest", testDateInRange_GranuralityTest)
]
}
extension TestDateInRegion_Components {
static var allTests: [(String, (TestDateInRegion_Components) -> () throws -> Void)] = [
("testDateInRegion_Components", testDateInRegion_Components),
("testDateInRegion_isLeapMonth", testDateInRegion_isLeapMonth),
("testDateInRegion_dateBySet", testDateInRegion_dateBySet),
("testDateInRegion_isLeapYear", testDateInRegion_isLeapYear),
("testDateInRegion_julianDayAndModifiedJulianDay", testDateInRegion_julianDayAndModifiedJulianDay),
("test_ordinalDay", test_ordinalDay),
("testDateInRegion_ISOFormatterAlt", testDateInRegion_ISOFormatterAlt),
("testDateInRegion_getIntervalForComponentBetweenDates", testDateInRegion_getIntervalForComponentBetweenDates),
("testDateInRegion_timeIntervalSince", testDateInRegion_timeIntervalSince),
("testQuarter", testQuarter),
("testAbsoluteDateISOFormatting", testAbsoluteDateISOFormatting)
]
}
extension TestDateInRegion_Create {
static var allTests: [(String, (TestDateInRegion_Create) -> () throws -> Void)] = [
("testDateInRegion_DateBySetTime", testDateInRegion_DateBySetTime),
("testDateInRegion_DateBySet", testDateInRegion_DateBySet),
("testDateInRegion_RandomDatesInRange", testDateInRegion_RandomDatesInRange),
("testDateInRegion_RandomDatesBackToDays", testDateInRegion_RandomDatesBackToDays),
("testDateInRegion_EnumareDates", testDateInRegion_EnumareDates),
("testDateInRegion_oldestAndNewestAndSortsIn", testDateInRegion_oldestAndNewestAndSortsIn)
]
}
extension TestDateInRegion_Langs {
static var allTests: [(String, (TestDateInRegion_Langs) -> () throws -> Void)] = [
("testLanguages", testLanguages)
]
}
extension TestDateInRegion_Math {
static var allTests: [(String, (TestDateInRegion_Math) -> () throws -> Void)] = [
("testDateInRegion_DateTruncated", testDateInRegion_DateTruncated),
("testDateInRegion_Rounding", testDateInRegion_Rounding),
("testDateInRegion_MathOperations", testDateInRegion_MathOperations)
]
}
extension TestFormatters {
static var allTests: [(String, (TestFormatters) -> () throws -> Void)] = [
("testDotNETFormatter", testDotNETFormatter),
("testRSSFormatter", testRSSFormatter),
("testRSSAltFormatter", testRSSAltFormatter),
("testSQLFormatter", testSQLFormatter),
("testISOFormatter", testISOFormatter),
("testTZInISOParser", testTZInISOParser),
("testRSSAltLocale", testRSSAltLocale),
("testTimeInterval_Clock", testTimeInterval_Clock),
("testFormatterCustom", testFormatterCustom),
("testTimeInterval_FormatterUnits", testTimeInterval_FormatterUnits),
("testTimeInterval_Formatter", testTimeInterval_Formatter),
("testColloquialFormatter", testColloquialFormatter),
("testISOParser", testISOParser)
]
}
extension TestRegion {
static var allTests: [(String, (TestRegion) -> () throws -> Void)] = [
("testRegionInit", testRegionInit)
]
}
extension TestSwiftDate {
static var allTests: [(String, (TestSwiftDate) -> () throws -> Void)] = [
("testAutoFormats", testAutoFormats)
]
}
XCTMain([
testCase(TestDateInRegion.allTests),
testCase(TestDateInRegion_Compare.allTests),
testCase(TestDateInRegion_Components.allTests),
testCase(TestDateInRegion_Create.allTests),
testCase(TestDateInRegion_Langs.allTests),
testCase(TestDateInRegion_Math.allTests),
testCase(TestFormatters.allTests),
testCase(TestRegion.allTests),
testCase(TestSwiftDate.allTests)
])