1
1
mirror of https://github.com/github/semantic.git synced 2024-11-26 09:07:39 +03:00

🔥 SwiftTests.

This was not really testing anything anyway.
This commit is contained in:
Rob Rix 2015-10-07 09:49:23 -04:00
parent 37e204a1e3
commit 804e831705
2 changed files with 0 additions and 23 deletions

View File

@ -7,7 +7,6 @@
objects = {
/* Begin PBXBuildFile section */
D40024EE1BAC819000A110B8 /* SwiftTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D40024ED1BAC819000A110B8 /* SwiftTests.swift */; };
D40B89C41BC319070078E098 /* Matrix.swift in Sources */ = {isa = PBXBuildFile; fileRef = D40B89C31BC319070078E098 /* Matrix.swift */; settings = {ASSET_TAGS = (); }; };
D40B89C81BC439000078E098 /* Assertions.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D40B89C71BC439000078E098 /* Assertions.framework */; };
D432D4711BA9AC0B00F3FABC /* SESTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D432D4701BA9AC0B00F3FABC /* SESTests.swift */; };
@ -83,7 +82,6 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
D40024ED1BAC819000A110B8 /* SwiftTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SwiftTests.swift; sourceTree = "<group>"; };
D40B89C31BC319070078E098 /* Matrix.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Matrix.swift; sourceTree = "<group>"; };
D40B89C71BC439000078E098 /* Assertions.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Assertions.framework; sourceTree = BUILT_PRODUCTS_DIR; };
D432D4701BA9AC0B00F3FABC /* SESTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SESTests.swift; sourceTree = "<group>"; };
@ -236,7 +234,6 @@
isa = PBXGroup;
children = (
D432D4701BA9AC0B00F3FABC /* SESTests.swift */,
D40024ED1BAC819000A110B8 /* SwiftTests.swift */,
D4AAE5141B5AE22E004E581F /* Info.plist */,
D40B89C71BC439000078E098 /* Assertions.framework */,
);
@ -417,7 +414,6 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D40024EE1BAC819000A110B8 /* SwiftTests.swift in Sources */,
D432D4711BA9AC0B00F3FABC /* SESTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;

View File

@ -1,19 +0,0 @@
final class SwiftTests: XCTestCase {
func testParsingAFile() {
let path = __FILE__
guard let file = File(path: path) else {
XCTFail("Could not make a File from \(__FILE__)")
return
}
let structure = Structure(file: file)
let dictionary = toAnyObject(structure.dictionary)
// print(JSON(object: dictionary).map { Term<String>(path: path, JSON: $0) })
}
}
@testable import Doubt
import SourceKittenFramework
import XCTest