[java-opensaml COMMIT] /trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTT...

noreply at shibboleth.net noreply at shibboleth.net
Fri Apr 1 19:31:47 EDT 2016


Author: putmanb
Date: Fri Apr  1 19:31:47 2016
New Revision: 4442

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4442&view=rev
Log:
Update name and docs of unit test to reflect new nature. 

Modified:
    trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java

Modified: trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java?rev=4442&r1=4441&r2=4442&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java	(original)
+++ trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java	Fri Apr  1 19:31:47 2016
@@ -204,13 +204,13 @@
     }
     
     /**
-     * Tests use of backup file on simulated restart.
+     * Tests that backup file is not loaded on a refresh when already have cached metadata.
      * @throws ComponentInitializationException 
      * 
      * @throws ResolverException, ComponentInitializationException
      */
     @Test
-    public void testBackupFileOnRestart() throws Exception {
+    public void testNoBackupFileLoadWhenMetadataCached() throws Exception {
         File backupFile = new File(backupFilePath);
         Resources.copy(Resources.getResource(relativeMDResource), new FileOutputStream(backupFile));
         



More information about the commits mailing list