mirror of
https://github.com/github/semantic.git
synced 2024-11-26 17:15:37 +03:00
🔥 SwiftTests.
This was not really testing anything anyway.
This commit is contained in:
parent
37e204a1e3
commit
804e831705
@ -7,7 +7,6 @@
|
|||||||
objects = {
|
objects = {
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
/* 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 = (); }; };
|
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 */; };
|
D40B89C81BC439000078E098 /* Assertions.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D40B89C71BC439000078E098 /* Assertions.framework */; };
|
||||||
D432D4711BA9AC0B00F3FABC /* SESTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D432D4701BA9AC0B00F3FABC /* SESTests.swift */; };
|
D432D4711BA9AC0B00F3FABC /* SESTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D432D4701BA9AC0B00F3FABC /* SESTests.swift */; };
|
||||||
@ -83,7 +82,6 @@
|
|||||||
/* End PBXCopyFilesBuildPhase section */
|
/* End PBXCopyFilesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXFileReference 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>"; };
|
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; };
|
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>"; };
|
D432D4701BA9AC0B00F3FABC /* SESTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SESTests.swift; sourceTree = "<group>"; };
|
||||||
@ -236,7 +234,6 @@
|
|||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
D432D4701BA9AC0B00F3FABC /* SESTests.swift */,
|
D432D4701BA9AC0B00F3FABC /* SESTests.swift */,
|
||||||
D40024ED1BAC819000A110B8 /* SwiftTests.swift */,
|
|
||||||
D4AAE5141B5AE22E004E581F /* Info.plist */,
|
D4AAE5141B5AE22E004E581F /* Info.plist */,
|
||||||
D40B89C71BC439000078E098 /* Assertions.framework */,
|
D40B89C71BC439000078E098 /* Assertions.framework */,
|
||||||
);
|
);
|
||||||
@ -417,7 +414,6 @@
|
|||||||
isa = PBXSourcesBuildPhase;
|
isa = PBXSourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
D40024EE1BAC819000A110B8 /* SwiftTests.swift in Sources */,
|
|
||||||
D432D4711BA9AC0B00F3FABC /* SESTests.swift in Sources */,
|
D432D4711BA9AC0B00F3FABC /* SESTests.swift in Sources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user