ShaleSystest

HomePage | RecentChanges | Preferences

Difference (from prior major revision) (no other diffs)

Changed: 5c5
The tests pass when run against the struts-shale-usecases.war file from the nightly build. With MyFaces 1.1.1 however...
The tests pass when run against the struts-shale-usecases.war file from the nightly build.

Added: 6a7
With MyFaces 1.1.0:

Changed: 8c9
Ant build with the MyFaces 1.1.1 files in lib/myfaces/ and the Listener commented out in web.xml:
Ant build with the MyFaces 1.1.0 files in lib/myfaces/ and the Listener commented out in web.xml:

Removed: 52,85d52
Maven build with dependency on MyFaces 1.1.1 declared:


wendy@imbrium-1 /cygdrive/e/svn/struts/current/shale/use-cases
$ ant systest
Buildfile: build.xml

systest.compile:

systest:
[junit] Running org.apache.shale.usecases.systest.JndiTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.64 sec
[junit] Testsuite: org.apache.shale.usecases.systest.JndiTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.64 sec

[junit] Testcase: testExecute took 0.64 sec
[junit] Caused an ERROR
[junit] null
[junit] java.lang.ClassCastException
[junit] at org.apache.shale.usecases.systest.AbstractTestCase.page(Abstr
actTestCase.java:248)
[junit] at org.apache.shale.usecases.systest.JndiTestCase.setUp(JndiTest
Case.java:59)


BUILD FAILED
E:\svn\struts\current\shale\use-cases\build.xml:515: Test org.apache.shale.useca
ses.systest.JndiTestCase failed

Total time: 2 seconds

wendy@imbrium-1 /cygdrive/e/svn/struts/current/shale/use-cases
$


10/01/2005

HtmlUnit? System Integration Tests

The tests pass when run against the struts-shale-usecases.war file from the nightly build.

With MyFaces 1.1.0:

Ant build with the MyFaces 1.1.0 files in lib/myfaces/ and the Listener commented out in web.xml:

wendy@imbrium-1 /cygdrive/e/svn/struts/current/shale/use-cases
$ ant systest
Buildfile: build.xml

systest.compile:

systest:
    [junit] Running org.apache.shale.usecases.systest.JndiTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.234 sec
    [junit] Testsuite: org.apache.shale.usecases.systest.JndiTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.234 sec

    [junit] Testcase: testExecute took 2.234 sec
    [junit] Running org.apache.shale.usecases.systest.SubviewTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.782 sec
    [junit] Testsuite: org.apache.shale.usecases.systest.SubviewTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.782 sec

    [junit] Testcase: testExecute took 1.782 sec
    [junit] Running org.apache.shale.usecases.systest.UseCasesTestCase
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.281 sec
    [junit] Testsuite: org.apache.shale.usecases.systest.UseCasesTestCase
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 1.281 sec

    [junit] Testcase: testForm took 1.281 sec
    [junit]     FAILED
    [junit] expected:<> but was:<usecasesForm>
    [junit] junit.framework.ComparisonFailure: expected:<> but was:<usecasesForm>
    [junit]     at org.apache.shale.usecases.systest.UseCasesTestCase.testForm(U
seCasesTestCase.java:104)


BUILD FAILED
E:\svn\struts\current\shale\use-cases\build.xml:515: Test org.apache.shale.useca
ses.systest.UseCasesTestCase failed

Total time: 7 seconds

wendy@imbrium-1 /cygdrive/e/svn/struts/current/shale/use-cases
$


HomePage | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited October 2, 2005 9:43 am by WendySmoak (diff)
Search: