axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tardif, Sebastien" <STAR...@anacomp.com>
Subject Unit Test broken by org\apache\axis\transport\http\JettyAxisServer.java and C:\axis-src\ws-axis\java\src\org\apache\axis\transport\mail\MailServer.java
Date Mon, 15 Nov 2004 17:30:02 GMT
Is it really broken or I don't understand something?

After running test:
    [junit] Running test.utils.PackageTests
    [junit] Tests run: 34, Failures: 1, Errors: 0, Time elapsed: 3.171 sec

BUILD FAILED
C:\axis-src\ws-axis\java\build.xml:326: The following error occurred while executing this
line:
C:\axis-src\ws-axis\java\buildTest.xml:109: Test test.utils.PackageTests failed

Get this:

- <testcase classname="test.utils.TestMessages" name="testForMissingMessages" time="1.984">
  <failure message="File: 'C:\axis-src\ws-axis\java\src\org\apache\axis\transport\http\JettyAxisServer.java',
Key 'start00' specifies 3 {X} parameters, but 2 parameter(s) provided. File: 'C:\axis-src\ws-axis\java\src\org\apache\axis\transport\mail\MailServer.java',
Key 'start00' specifies 3 {X} parameters, but 2 parameter(s) provided." type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
File: 'C:\axis-src\ws-axis\java\src\org\apache\axis\transport\http\JettyAxisServer.java',
Key 'start00' specifies 3 {X} parameters, but 2 parameter(s) provided. File: 'C:\axis-src\ws-axis\java\src\org\apache\axis\transport\mail\MailServer.java',
Key 'start00' specifies 3 {X} parameters, but 2 parameter(s) provided. at test.utils.TestMessages.testForMissingMessages(TestMessages.java:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)</failure>

  </testcase>
- <system-out>

C:\axis-src\ws-axis\java\src\org\apache\axis\transport\http>cvs log JettyAxisServer.java

RCS file: /home/cvspublic/ws-axis/java/src/org/apache/axis/transport/http/JettyAxisServer.java,v
Working file: JettyAxisServer.java
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1;     selected revisions: 1
description:
----------------------------
revision 1.1
date: 2004/10/15 15:27:47;  author: dims;  state: Exp;
Jetty based SimpleAxisServer for testing purposes
=============================================================================

C:\axis-src\ws-axis\java\src\org\apache\axis\transport\mail>cvs log MailServer.java

RCS file: /home/cvspublic/ws-axis/java/src/org/apache/axis/transport/mail/MailServer.java,v
Working file: MailServer.java
head: 1.3
branch:
locks: strict
access list:
symbolic names:
        MyTestBranch: 1.3.0.2
        refactorServiceDesc: 1.2.0.6
        REPLACE_DOM_WITH_JAXME: 1.2.0.4
        release1_1: 1.2.0.2
        axis1_1: 1.2
        gd-soapbuilders: 1.1.0.4
        dynamic_deserialization_branch: 1.1.0.2
        dynamic_deserialization_point: 1.1
keyword substitution: kv
total revisions: 3;     selected revisions: 3
description:
----------------------------
revision 1.3
date: 2004/02/25 14:02:47;  author: dims;  state: Exp;  lines: +13 -52
Migrating to Apache 2.0 License as per ASF mandate.
----------------------------
revision 1.2
date: 2003/04/22 19:35:58;  author: gdaniels;  state: Exp;  lines: +1 -1
Update copyrights.

s/2001/2001-2003/
s/2002/2002-2003/
----------------------------
revision 1.1
date: 2002/12/13 20:46:08;  author: dims;  state: Exp;
Checking in an Initial Impl of a SMTP/POP3 transport.

Notes:
- You will need a daily build of Jakarta Commons/Net from (http://jakarta.apache.org/commons/sandbox/net/)
- Checked this in to be able to try Async API (When the Async Implementations start, as i
don't have access to a  JMS environment)
- One major problem is that Commons/Net uses Reader/Writer and JavaMail API uses InputStream/OutputStream
so we need to store messages in an intermediate byte array
=============================================================================

C:\axis-src\ws-axis\java\src\org\apache\axis\transport\mail>

Mime
View raw message