jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From casta...@apache.org
Subject svn commit: r1163694 - in /incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql: TS_RDQL.java syntax/TS_Serialization.java
Date Wed, 31 Aug 2011 16:54:16 GMT
Author: castagna
Date: Wed Aug 31 16:54:16 2011
New Revision: 1163694

URL: http://svn.apache.org/viewvc?rev=1163694&view=rev
Log:
This is to get rid of the warnings while running the ARQ tests via mvn test.

Modified:
    incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/TS_RDQL.java
    incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/syntax/TS_Serialization.java

Modified: incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/TS_RDQL.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/TS_RDQL.java?rev=1163694&r1=1163693&r2=1163694&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/TS_RDQL.java (original)
+++ incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/TS_RDQL.java Wed Aug 31
16:54:16 2011
@@ -8,6 +8,7 @@ package com.hp.hpl.jena.sparql;
 
 import junit.framework.TestSuite ;
 
+import com.hp.hpl.jena.sparql.expr.NodeValue;
 import com.hp.hpl.jena.sparql.expr.TS_ExprRDQL ;
 import com.hp.hpl.jena.sparql.junit.ScriptTestSuiteFactory ;
 
@@ -26,6 +27,7 @@ public class TS_RDQL extends TestSuite
         
         addTest(TS_ExprRDQL.suite()) ;
         
+        NodeValue.VerboseWarnings = false ;
         addTest(ScriptTestSuiteFactory.make(controlFilenameRDQL)) ; 
     }
 }

Modified: incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/syntax/TS_Serialization.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/syntax/TS_Serialization.java?rev=1163694&r1=1163693&r2=1163694&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/syntax/TS_Serialization.java
(original)
+++ incubator/jena/Jena2/ARQ/trunk/src-test/com/hp/hpl/jena/sparql/syntax/TS_Serialization.java
Wed Aug 31 16:54:16 2011
@@ -9,6 +9,7 @@ package com.hp.hpl.jena.sparql.syntax;
 import junit.framework.TestSuite ;
 
 import com.hp.hpl.jena.sparql.ARQTestSuite ;
+import com.hp.hpl.jena.sparql.expr.E_Function;
 import com.hp.hpl.jena.sparql.junit.ScriptTestSuiteFactory ;
 
 
@@ -17,6 +18,7 @@ public class TS_Serialization extends Te
     // See also TestSerialization for some low level tests (not scripted)
     static public TestSuite suite()
     {
+    	E_Function.WarnOnUnknownFunction = false ;
         return ScriptTestSuiteFactory.make(ARQTestSuite.testDirARQ+"/Serialization/manifest.ttl")
;
     }
 }



Mime
View raw message