summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/org/anarres/cpp/CppReaderTestCase.java2
-rw-r--r--src/tests/org/anarres/cpp/JoinReaderTestCase.java2
-rw-r--r--src/tests/org/anarres/cpp/LexerSourceTestCase.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/org/anarres/cpp/CppReaderTestCase.java b/src/tests/org/anarres/cpp/CppReaderTestCase.java
index 92ade21..df3aeb5 100644
--- a/src/tests/org/anarres/cpp/CppReaderTestCase.java
+++ b/src/tests/org/anarres/cpp/CppReaderTestCase.java
@@ -26,7 +26,7 @@ public class CppReaderTestCase extends BaseTestCase implements Test {
}
}
- public void testJoinReader()
+ public void testCppReader()
throws Exception {
testCppReader("#include <test0.h>\n", "ab");
}
diff --git a/src/tests/org/anarres/cpp/JoinReaderTestCase.java b/src/tests/org/anarres/cpp/JoinReaderTestCase.java
index 2b99c2f..6c11449 100644
--- a/src/tests/org/anarres/cpp/JoinReaderTestCase.java
+++ b/src/tests/org/anarres/cpp/JoinReaderTestCase.java
@@ -14,7 +14,7 @@ public class JoinReaderTestCase extends BaseTestCase implements Test {
for (int i = 0; i < out.length(); i++) {
int c = j.read();
- // System.out.println("At offset " + i + ": " + (char)c);
+ System.out.println("At offset " + i + ": " + (char)c);
assertEquals((char)out.charAt(i), c);
}
assertEquals(-1, j.read());
diff --git a/src/tests/org/anarres/cpp/LexerSourceTestCase.java b/src/tests/org/anarres/cpp/LexerSourceTestCase.java
index 2d61e28..7fa788c 100644
--- a/src/tests/org/anarres/cpp/LexerSourceTestCase.java
+++ b/src/tests/org/anarres/cpp/LexerSourceTestCase.java
@@ -26,7 +26,7 @@ public class LexerSourceTestCase extends BaseTestCase implements Test {
assertEquals(EOF, s.token().getType());
}
- public void testJoinReader()
+ public void testLexerSource()
throws Exception {
testLexerSource("int a = 5;",