>   public class TestEvaluationContext extends HiveMindTestCase
>   {
>       public void testProperty()
>       {
>           EvaluationContext ec = new EvaluationContextImpl(new 
> DefaultClassResolver());
> 
>           // Note: test will fail unless
>           // -Dproperty-set-for-evaluation-context=true
>           // is on JVM command line.
> 
>           assertEquals(true, 
> ec.isPropertySet("property-set-for-evaluation-context"));
>           assertEquals(false, 
> ec.isPropertySet("this-property-does-not-exist"));
>       }
> 

How about a System.setProperty() call instead of setting it in the
build.xml? Then the test would also pass when run through Eclipse's
JUnit plugin.

--knut

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to