[java-openws COMMIT] in /branches/REL_1: doc/RELEASE-NOTES.txt src/test/java/org/opensaml/util/resource/FilesystemRes...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Oct 17 16:21:11 BST 2011
Author: lajoie
Date: Mon Oct 17 16:21:11 2011
New Revision: 418
URL: http://svn.shibboleth.net/view/java-openws?rev=418&view=rev
Log:
Fix broken unit test when run on windows - JOWS-31
Modified:
branches/REL_1/doc/RELEASE-NOTES.txt
branches/REL_1/src/test/java/org/opensaml/util/resource/FilesystemResourceTest.java
Modified: branches/REL_1/doc/RELEASE-NOTES.txt
URL: http://svn.shibboleth.net/view/java-openws/branches/REL_1/doc/RELEASE-NOTES.txt?rev=418&r1=417&r2=418&view=diff
==============================================================================
--- branches/REL_1/doc/RELEASE-NOTES.txt (original)
+++ branches/REL_1/doc/RELEASE-NOTES.txt Mon Oct 17 16:21:11 2011
@@ -5,6 +5,7 @@
[JOWS-28] - SOAP11Encoder doesn't encode original SOAP message
[JOWS-29] - Some pom changes for OpenWS
[JOWS-30] - Update POM for Shib.net Repo and attach generated Javadocs
+[JOWS-31] - Failed test on Windows: testGetLocation(org.opensaml.util.resource.FilesystemResourceTest): expected:</...> but was:<C:\...>
Changes in Release 1.4.1
==============================================
Modified: branches/REL_1/src/test/java/org/opensaml/util/resource/FilesystemResourceTest.java
URL: http://svn.shibboleth.net/view/java-openws/branches/REL_1/src/test/java/org/opensaml/util/resource/FilesystemResourceTest.java?rev=418&r1=417&r2=418&view=diff
==============================================================================
--- branches/REL_1/src/test/java/org/opensaml/util/resource/FilesystemResourceTest.java (original)
+++ branches/REL_1/src/test/java/org/opensaml/util/resource/FilesystemResourceTest.java Mon Oct 17 16:21:11 2011
@@ -82,6 +82,6 @@
assertEquals(realResrc, resource.getLocation());
resource = new FilesystemResource("/foo");
- assertEquals("/foo", resource.getLocation());
+ assertEquals(new File("/foo").getCanonicalPath(), resource.getLocation());
}
}
More information about the commits
mailing list