$ ant clean runtests benchmarks

shows r2858 running green. However, when running JUnit interactively
in Eclipse, all five benchmarks complain of, for example

java.io.FileNotFoundException: Resource base.js relative to class
com.google.caja.demos.benchmarks.BenchmarkRunner
        at com.google.caja.util.TestUtil.getResourceAsStream(TestUtil.java:104)
        at com.google.caja.util.RhinoTestBed$Input.<init>(RhinoTestBed.java:137)
        at 
com.google.caja.demos.benchmarks.BenchmarkRunner.runUncajoled(BenchmarkRunner.java:71)
        at 
com.google.caja.demos.benchmarks.BenchmarkRunner.runBenchmark(BenchmarkRunner.java:42)
        at 
com.google.caja.demos.benchmarks.BenchmarkRunner.testRichards(BenchmarkRunner.java:27)

Running AllTests interactively in Eclipse, we get HcalTest#testInRhino
and JsHtmlSanitizerTest#testHtmlSanitizer failing with, for example

junit.framework.AssertionFailedError: ReferenceError: "html4" is not defined.
ReferenceError: "html4" is not defined.
        at hcalendar_test.html:79
        at hcalendar_test.html:21

        at junit.framework.Assert.fail(Assert.java:47)
        at com.google.caja.util.RhinoTestBed.runJs(RhinoTestBed.java:76)
        at 
com.google.caja.util.RhinoTestBed.runJsUnittestFromHtml(RhinoTestBed.java:128)
        at com.google.caja.demos.calendar.HcalTest.testInRhino(HcalTest.java:29)

What's the difference between our ant and eclipse setups for JUnit
that can account for these differences?

-- 
    Cheers,
    --MarkM

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to 
http://groups.google.com/group/google-caja-discuss
To unsubscribe, email [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to