summaryrefslogtreecommitdiffstats
path: root/src/tests/org/anarres/cpp
diff options
context:
space:
mode:
authorShevek <[email protected]>2008-05-18 09:27:03 +0000
committerShevek <[email protected]>2008-05-18 09:27:03 +0000
commit3f20b68474d21a608f2370764c3714cb2aa4c62d (patch)
tree80eb81251aaf75c1f3f05748ee6458bd078a33cb /src/tests/org/anarres/cpp
parent6babf0976fb92966d707577b1c0080ef69d54ef5 (diff)
update findbugs, work towards 1.2
Diffstat (limited to 'src/tests/org/anarres/cpp')
-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;",