diff options
Diffstat (limited to 'scalatexApi/src/test')
-rw-r--r-- | scalatexApi/src/test/scala/torimatomeru/SyntaxTest.scala | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/scalatexApi/src/test/scala/torimatomeru/SyntaxTest.scala b/scalatexApi/src/test/scala/torimatomeru/SyntaxTest.scala index 156071e..ed6dcf3 100644 --- a/scalatexApi/src/test/scala/torimatomeru/SyntaxTest.scala +++ b/scalatexApi/src/test/scala/torimatomeru/SyntaxTest.scala @@ -182,14 +182,19 @@ object SyntaxTest extends TestSuite{ ) } 'file{ - * - check(io.Source.fromFile("scalatexApi/src/test/scala/torimatomeru/SyntaxTest.scala").mkString) - * - check(io.Source.fromFile("scalatexApi/src/test/scala/scalatex/TestUtil.scala").mkString) + def checkFile(path: String) = + check(io.Source.fromFile(path).mkString) + * - checkFile("scalatexApi/src/test/scala/torimatomeru/SyntaxTest.scala") + * - checkFile("scalatexApi/src/test/scala/scalatex/TestUtil.scala") + * - checkFile("scalatexApi/src/main/scala/torimatomeru/syntax/Basic.scala") + * - checkFile("scalatexApi/src/main/scala/torimatomeru/syntax/Identifiers.scala") + * - checkFile("scalatexApi/src/main/scala/torimatomeru/syntax/Literals.scala") -// Seems to run forever? There's probably some exponential performance -// somewhere in there, but I can't see it =/ +// All the larget files seem to make the parser run forever. There's probably +// some exponential performance somewhere in there, but I can't see it =/ // * - check(io.Source.fromFile("scalatexApi/src/test/scala/scalatex/ParserTests.scala").mkString) // * - check(io.Source.fromFile("scalatexApi/src/main/scala/scalatex/package.scala").mkString) - * - check(io.Source.fromFile("scalatexApi/src/main/scala/torimatomeru/syntax/Basic.scala").mkString) +// * - check(io.Source.fromFile("scalatexApi/src/main/scala/torimatomeru/ScalaSyntax.scala").mkString) } } |