     
     fileprivate static let ResourceURL = "https://github.com/hanjoes/antlr4.git"
     
-    func testOne() {
-        print(ParserTests.findAllSwiftFiles(under: ParserTests.initializedRepoDir).joined(separator: "\n"))
-    }
-    
-    func testTwo() {
+    func testParsingWithNoError() throws {
+        let inputFiles = ParserTests.findAllSwiftFiles(under: ParserTests.initializedRepoDir)
+        _ = try inputFiles.map {
+            inputFile in
+            print("handling \(inputFile)")
+            let fileStream = ANTLRFileStream(inputFile)
+            let lexer = Swift3Lexer(fileStream)
+            let tokenStream = CommonTokenStream(lexer)
+            let parser = try Swift3Parser(tokenStream)
+            try parser.top_level()
+        }
     }
     
 }

import XCTest
import GitRuntime
import Antlr4

class ParserTests: XCTestCase {
    

        ParserTests.fileManager.fileExists(atPath: path, isDirectory: &isDirectory)
        return isDirectory.boolValue
    }
    
    func parse(file: String) throws {
        let fileStream = ANTLRFileStream(file)
        let lexer = Swift3Lexer(fileStream)
        let tokenStream = CommonTokenStream(lexer)
        let parser = try Swift3Parser(tokenStream)
        try parser.top_level()
    }

}
