Author: stain
Date: Thu May  5 10:14:40 2016
New Revision: 1742394

URL: http://svn.apache.org/viewvc?rev=1742394&view=rev
Log:
VFS-605 Test against https://www.apache.org/ instead of https://www.google.com/

Modified:
    
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/GetContentInfoFunctionalTest.java
    
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java

Modified: 
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/GetContentInfoFunctionalTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/GetContentInfoFunctionalTest.java?rev=1742394&r1=1742393&r2=1742394&view=diff
==============================================================================
--- 
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/GetContentInfoFunctionalTest.java
 (original)
+++ 
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/http/test/GetContentInfoFunctionalTest.java
 Thu May  5 10:14:40 2016
@@ -39,10 +39,10 @@ public class GetContentInfoFunctionalTes
      *             thrown when the getContentInfo API fails.
      */
     @Test
-    public void testGoogle() throws FileSystemException
+    public void testGetContentInfo() throws FileSystemException
     {
         final FileSystemManager fsManager = VFS.getManager();
-        final FileObject fo = 
fsManager.resolveFile("http://www.google.com/images/logos/ps_logo2.png";);
+        final FileObject fo = 
fsManager.resolveFile("http://www.apache.org/licenses/LICENSE-2.0.txt";);
         final FileContent content = fo.getContent();
         Assert.assertNotNull(content);
         // Used to NPE before fix:

Modified: 
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java?rev=1742394&r1=1742393&r2=1742394&view=diff
==============================================================================
--- 
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java
 (original)
+++ 
commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java
 Thu May  5 10:14:40 2016
@@ -46,7 +46,7 @@ public class GetContentInfoFunctionalTes
      *             thrown when the System environment contains an invalid URL 
for an HTTPS proxy.
      */
     @Test
-    public void testGoogle() throws FileSystemException, MalformedURLException
+    public void testGetContentInfo() throws FileSystemException, 
MalformedURLException
     {
         String httpsProxyHost = null;
         int httpsProxyPort = -1;
@@ -69,7 +69,7 @@ public class GetContentInfoFunctionalTes
         }
 
         final FileSystemManager fsManager = VFS.getManager();
-        final FileObject fo = 
fsManager.resolveFile("https://www.google.com/images/logos/ps_logo2.png";, opts);
+        final FileObject fo = 
fsManager.resolveFile("http://www.apache.org/licenses/LICENSE-2.0.txt";, opts);
         final FileContent content = fo.getContent();
         Assert.assertNotNull(content);
         // Used to NPE before fix:


Reply via email to