You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2014/01/29 23:33:00 UTC
svn commit: r1562615 -
/jena/branches/jena-fuseki-new-ui/src/test/java/org/apache/jena/fuseki/http/TestHttpOp.java
Author: andy
Date: Wed Jan 29 22:33:00 2014
New Revision: 1562615
URL: http://svn.apache.org/r1562615
Log:
Change known-to-tests ping target.
Modified:
jena/branches/jena-fuseki-new-ui/src/test/java/org/apache/jena/fuseki/http/TestHttpOp.java
Modified: jena/branches/jena-fuseki-new-ui/src/test/java/org/apache/jena/fuseki/http/TestHttpOp.java
URL: http://svn.apache.org/viewvc/jena/branches/jena-fuseki-new-ui/src/test/java/org/apache/jena/fuseki/http/TestHttpOp.java?rev=1562615&r1=1562614&r2=1562615&view=diff
==============================================================================
--- jena/branches/jena-fuseki-new-ui/src/test/java/org/apache/jena/fuseki/http/TestHttpOp.java (original)
+++ jena/branches/jena-fuseki-new-ui/src/test/java/org/apache/jena/fuseki/http/TestHttpOp.java Wed Jan 29 22:33:00 2014
@@ -40,7 +40,7 @@ import com.hp.hpl.jena.util.FileUtils ;
// especially error cases abnd unusual usage that the higher level APIs don't use.
public class TestHttpOp extends BaseTest {
- static String pingURL = ServerTest.urlRoot+"ping.txt" ;
+ static String pingURL = ServerTest.urlRoot+"$/ping" ;
@BeforeClass public static void beforeClass() { ServerTest.allocServer() ; }
@AfterClass public static void afterClass() { ServerTest.freeServer() ; }
@@ -68,10 +68,8 @@ public class TestHttpOp extends BaseTest
}
}
- @Test public void httpGet_03() throws IOException {
+ @Test public void httpGet_03() {
String x = HttpOp.execHttpGetString(pingURL) ;
- String y = FileUtils.readWholeFileAsUTF8("pages/ping.txt") ;
- assertEquals(y,x) ;
}
@Test public void httpGet_04() {