[java-shib-common COMMIT] /branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResour...
noreply at shibboleth.net
noreply at shibboleth.net
Fri Aug 10 18:13:47 EDT 2012
Author: putmanb
Date: Fri Aug 10 18:13:47 2012
New Revision: 1033
URL: http://svn.shibboleth.net/view/java-shib-common?rev=1033&view=rev
Log:
Fix unit test failing due to file size change.
Modified:
branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResourceTest.java
Modified: branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResourceTest.java
URL: http://svn.shibboleth.net/view/java-shib-common/branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResourceTest.java?rev=1033&r1=1032&r2=1033&view=diff
==============================================================================
--- branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResourceTest.java (original)
+++ branches/REL_1/src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResourceTest.java Fri Aug 10 18:13:47 2012
@@ -81,7 +81,7 @@
// directory should contain the 19 schema files plus the .svn directory
assertEquals(20, workingCopyDirectory.list().length);
assertTrue(schemaFile.exists());
- assertEquals(5161, schemaFile.length());
+ assertEquals(5148, schemaFile.length());
assertTrue(resource.exists());
assertEquals("file://" + repoDir.getAbsolutePath() + "/" + schemaFileName, resource.getLocation());
@@ -95,7 +95,7 @@
assertEquals("file://" + repoDir.getAbsolutePath() + "/" + schemaFileName, resource.getLocation());
assertEquals(20, workingCopyDirectory.list().length);
assertTrue(schemaFile.exists());
- assertEquals(5161, schemaFile.length());
+ assertEquals(5148, schemaFile.length());
// getLastModified() should force an update
assertTrue(lastModified.isBefore(resource.getLastModifiedTime()));
More information about the commits
mailing list