From f2b03d6787e89255d68f5398a8a8e0d544f12405 Mon Sep 17 00:00:00 2001 From: Shevek Date: Wed, 29 Jan 2014 00:27:28 -0800 Subject: Use gradle-velocity-task. Update PreprocessorListener to be an interface. Make Source.getName() public. --- src/test/java/org/anarres/cpp/ErrorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/java/org/anarres/cpp/ErrorTest.java b/src/test/java/org/anarres/cpp/ErrorTest.java index 8777452..42240d4 100644 --- a/src/test/java/org/anarres/cpp/ErrorTest.java +++ b/src/test/java/org/anarres/cpp/ErrorTest.java @@ -22,7 +22,7 @@ public class ErrorTest { private void testError(String input) throws Exception { StringLexerSource sl; - PreprocessorListener pl; + DefaultPreprocessorListener pl; Preprocessor p; /* Without a PreprocessorListener, throws an exception. */ @@ -42,7 +42,7 @@ public class ErrorTest { p = new Preprocessor(); p.addFeature(Feature.CSYNTAX); p.addInput(sl); - pl = new PreprocessorListener(); + pl = new DefaultPreprocessorListener(); p.setListener(pl); assertNotNull("CPP has listener", p.getListener()); assertTrue(testError(p)); -- cgit v1.2.3