Skip to content

Commit

Permalink
Rename TestQueryOps as TestQuerySyntaxTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
afs committed Jan 15, 2025
1 parent c896d89 commit 6acbea2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@

import static org.junit.Assert.assertEquals;

import org.junit.Test ;

import org.apache.jena.graph.Node ;
import org.apache.jena.graph.Triple;
import org.apache.jena.sparql.core.Quad;
import org.apache.jena.sparql.sse.SSE;
import org.apache.jena.sparql.util.NodeFactoryExtra ;
import org.apache.jena.sys.JenaSystem;
import org.apache.jena.vocabulary.RDF ;
import org.junit.Test ;

public class TestNodeFmtLib
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import org.apache.jena.sparql.syntax.syntaxtransform.TestFlattenSyntax ;
import org.apache.jena.sparql.syntax.syntaxtransform.TestQueryOps ;
import org.apache.jena.sparql.syntax.syntaxtransform.TestSyntaxTransform ;
import org.apache.jena.sparql.syntax.syntaxtransform.TestQuerySyntaxTransform ;
import org.junit.runner.RunWith ;
import org.junit.runners.Suite ;
import org.junit.runners.Suite.SuiteClasses ;
Expand All @@ -30,7 +30,7 @@
TestQueryParser.class
, TestSerialization.class
, TestQueryOps.class
, TestSyntaxTransform.class
, TestQuerySyntaxTransform.class
, TestFlattenSyntax.class
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
public class TestQueryOps
{
@Test public void queryOp_01() { testShallowCopy("SELECT * { }") ; }

@Test public void queryOp_02() { testShallowCopy("SELECT ?x { }") ; }

@Test public void queryOp_03() { testShallowCopy("SELECT * { ?s ?p ?o }") ; }

@Test public void queryOp_04() { testShallowCopy("SELECT ?x { ?s ?p ?o }") ; }

@Test public void queryOp_05() { testShallowCopy("SELECT (?x+1 AS ?z) ?y { }") ; }

@Test public void queryOp_06() { testShallowCopy("SELECT DISTINCT (?x+1 AS ?z) ?y { }") ; }

@Test public void queryOp_07() { testShallowCopy("SELECT REDUCED (?x+1 AS ?z) ?y { }") ; }
Expand All @@ -54,6 +54,5 @@ private static void testShallowCopy(String queryString)
Query q2 = QueryTransformOps.shallowCopy(q1) ;
assertEquals(q1, q2) ;
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import org.junit.Test;

/** Test of variable replaced by value */
public class TestSyntaxTransform
public class TestQuerySyntaxTransform
{
@Test public void subst_query_01() {
testQuery("SELECT * { }",
Expand Down

0 comments on commit 6acbea2

Please sign in to comment.