Heya Russell:

This was happening because I hadn't run with the debug flag off, and I wrote that test 
hardcoded to use "a1" and "a2" as the XML parameter names (to match the argument names 
in Service.java).  When debug was off, the metadata param names were "in0" and "in1", 
so we fell back to using ordering after the XML didn't match.

I fixed the test to use whatever ends up in the metadata as the XML names, while still 
swapping the order, which should work in all cases.

--Glen

> -----Original Message-----
> From: Russell Butek [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 22, 2002 4:01 PM
> To: [EMAIL PROTECTED]
> Subject: Build is broken
> 
> 
> I just did a clean checkout and tried 'ant all'.  It doesn't 
> work.  Is this
> failure obvious to anyone who's checked code in recently?
> 
>   <testcase name="testOutOfOrderParams" time="0.01">
>     <failure message="Concatenated value was wrong expected:&lt;Hello,
> world!&gt; but was:&lt;world!Hello, &gt;" type
> ="junit.framework.AssertionFailedError">junit.framework.Assert
> ionFailedError:
> 
> Concatenated value was wrong expected:&lt;Hello, world!&gt; but was:
> &lt;world!Hello, &gt;
>       at junit.framework.Assert.fail(Assert.java:51)
>       at junit.framework.Assert.failNotEquals(Assert.java:234)
>       at junit.framework.Assert.assertEquals(Assert.java:68)
>       at 
> test.RPCDispatch.TestSerializedRPC.testOutOfOrderParams(Unknown
> Source)
>       at java.lang.reflect.Method.invoke(Native Method)
>       at junit.framework.TestCase.runTest(TestCase.java:166)
>       at junit.framework.TestCase.runBare(TestCase.java:140)
>       at junit.framework.TestResult$1.protect(TestResult.java:106)
>       at junit.framework.TestResult.runProtected(TestResult.java:124)
>       at junit.framework.TestResult.run(TestResult.java:109)
>       at junit.framework.TestCase.run(TestCase.java:131)
>       at junit.framework.TestSuite.runTest(TestSuite.java:173)
>       at junit.framework.TestSuite.run(TestSuite.java:168)
>       at junit.framework.TestSuite.runTest(TestSuite.java:173)
>       at junit.framework.TestSuite.run(TestSuite.java:168)
>       at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.r
> un(JUnitTestRunner.java:231)
>       at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.m
> ain(JUnitTestRunner.java:409)
> </failure>
>   </testcase>
> 
> Russell Butek
> [EMAIL PROTECTED]
> 

Reply via email to