aboutsummaryrefslogtreecommitdiffstats
path: root/util/testsrc
diff options
context:
space:
mode:
authoraclement <aclement>2005-04-19 12:01:08 +0000
committeraclement <aclement>2005-04-19 12:01:08 +0000
commitfdd5b4e283bc0b6e02d6e9505d8f589df4baf1cb (patch)
tree3252cdaf6b5ded673b60baaf534b08274c8c2b40 /util/testsrc
parentd2b05c8256cb1437c08a18ea2315d1c157985ce8 (diff)
downloadaspectj-fdd5b4e283bc0b6e02d6e9505d8f589df4baf1cb.tar.gz
aspectj-fdd5b4e283bc0b6e02d6e9505d8f589df4baf1cb.zip
changed cutoff
Diffstat (limited to 'util/testsrc')
-rw-r--r--util/testsrc/org/aspectj/util/LangUtilTest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/testsrc/org/aspectj/util/LangUtilTest.java b/util/testsrc/org/aspectj/util/LangUtilTest.java
index 22a55f295..8877815ee 100644
--- a/util/testsrc/org/aspectj/util/LangUtilTest.java
+++ b/util/testsrc/org/aspectj/util/LangUtilTest.java
@@ -223,12 +223,13 @@ public class LangUtilTest extends TestCase {
public void testElideEndingLines() {
StringBuffer stackBuffer = LangUtil.stackToString(new RuntimeException(""), true);
- LangUtil.elideEndingLines(LangUtil.StringChecker.TEST_PACKAGES, stackBuffer, 100);
+ LangUtil.elideEndingLines(LangUtil.StringChecker.TEST_PACKAGES, stackBuffer, 10);
String result = stackBuffer.toString();
+
if (-1 == result.indexOf("(... ")) {
// brittle - will fail under different top-level drivers
- String m = "when running under eclipse or Ant, expecting (... in trace: ";
- assertTrue( m + result, false);
+ String m = "when running under eclipse or Ant, expecting (... in trace: ";
+ assertTrue( m + result, false);
}
stackBuffer = new StringBuffer("java.lang.RuntimeException: unimplemented"