[
http://issues.apache.org/jira/browse/GERONIMO-1659?page=comments#action_12370071
]
Anita Kulshreshtha commented on GERONIMO-1659:
----------------------------------------------
This line 59, in ServerInfoTest.java
assertEquals(new File(basedir, pathArg).getAbsolutePath(),
si.resolvePath(pathArg));
compares the following (marked as 1, 2) in maven1 build :
Testsuite: org.apache.geronimo.system.serverinfo.ServerInfoTest
Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.5 sec
------------- Standard Output ---------------
D:\Documents and Settings\Administrator\Application Data\geronimo
<-- 1.
D:\Documents and Settings\Administrator\Application Data\geronimo
<---. 2.
------------- ---------------- ---------------
Whereas in m2 build it compares :
-------------------------------------------------------------------------------
Battery: org.apache.geronimo.system.serverinfo.ServerInfoTest
-------------------------------------------------------------------------------
Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 0.031 sec
testResolvePath(org.apache.geronimo.system.serverinfo.ServerInfoTest) Time
elapsed: 0.016 sec <<< FAILURE!
[ stdout ] ---------------------------------------------------------------
D:\Documents and Settings\Administrator\Application Data\geronimo
<-- ----- 1.
D:\xxxxx\geronimo\geronimo-1.1\modules\system\Documents and
Settings\Administrator\Application Data\geronimo
<-------- 2.
[ stderr ] ---------------------------------------------------------------
[ stacktrace ] -----------------------------------------------------------
junit.framework.ComparisonFailure: expected:<......> but
was:<...xxxxx\geronimo\geronimo-1.1\modules\system\...>
at junit.framework.Assert.assertEquals(Assert.java:81)
Some code in the test and serverInfo was modified in March, Could
someone please provide insight into the changes that were made?
These are all non existent directories in a dual drive (C:, D:) windows system!
> Module migration to Maven 2: system
> -----------------------------------
>
> Key: GERONIMO-1659
> URL: http://issues.apache.org/jira/browse/GERONIMO-1659
> Project: Geronimo
> Type: Sub-task
> Reporter: Anders Hessellund Jensen
> Assignee: Jacek Laskowski
> Attachments: maven-timestamp-plugin.zip,
> org.apache.geronimo.system.serverinfo.ServerInfoTest.txt, pom.patch,
> system-m2-migration-new.patch, system-m2-migration.patch
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira