-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathmain.swift
30 lines (27 loc) · 914 Bytes
/
main.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
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
#if DEPLOYMENT_RUNTIME_OBJC || os(Linux)
import Foundation
#else
import SwiftFoundation
#endif
internal func testBundle() -> NSBundle {
return NSBundle.mainBundle()
}
// For the Swift version of the Foundation tests, we must manually list all test cases here.
TestNSString().invokeTest()
TestNSArray().invokeTest()
TestNSDictionary().invokeTest()
TestNSSet().invokeTest()
TestNSNumber().invokeTest()
TestNSPropertyList().invokeTest()
TestNSURL().invokeTest()
TestNSIndexSet().invokeTest()
TestNSCharacterSet().invokeTest()
TestNSFileManger().invokeTest()