Skip to content

Commit

Permalink
Fixed compile errors from Doc refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaverner committed Jun 11, 2017
1 parent 42542ab commit 9108785
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -81,7 +81,7 @@ public String doCypherRestCall(String endpoint, String scriptTemplate, Response.
String script = createScript( scriptTemplate );
String queryString = "{\"query\": \"" + script + "\",\"params\":{" + parameterString + "}}";

String snippet = org.neo4j.cypher.internal.compiler.v3_1.prettifier.Prettifier$.MODULE$.apply( script );
String snippet = org.neo4j.cypher.internal.compiler.v3_0.prettifier.Prettifier$.MODULE$.apply( script );
gen().expectedStatus( status.getStatusCode() )
.payload( queryString )
.description( AsciidocHelper.createAsciiDocSnippet( "cypher", snippet ) );
Expand Down
Expand Up @@ -48,7 +48,7 @@
import org.neo4j.server.helpers.CommunityServerBuilder;
import org.neo4j.test.ImpermanentGraphDatabase;

public class SpatialPluginFunctionalTest extends AbstractRestFunctionalTestBase
public class SpatialPluginFunctionalDocTest extends AbstractRestFunctionalTestBase
{
private static final int PORT = 7575;
private static final String ENDPOINT = "http://localhost:"+PORT+"/db/data/ext/SpatialPlugin";
Expand Down
Expand Up @@ -64,7 +64,7 @@
import com.vividsolutions.jts.io.WKTReader;
import org.neo4j.test.TestGraphDatabaseFactory;

public class GeoPipesTest extends AbstractJavaDocTestBase
public class GeoPipesDocTest extends AbstractJavaDocTestBase
{

private static Layer osmLayer;
Expand Down Expand Up @@ -1192,7 +1192,7 @@ public void setUp()
public void doc()
{
// gen.get().addSnippet( "graph", AsciidocHelper.createGraphViz( imgName , graphdb(), "graph"+getTitle() ) );
gen.get().addTestSourceSnippets( GeoPipesTest.class, "s_"+getTitle().toLowerCase() );
gen.get().addTestSourceSnippets( GeoPipesDocTest.class, "s_"+getTitle().toLowerCase() );
gen.get().document( "target/docs", "examples" );
if (tx!=null) {
tx.success(); tx.close();
Expand Down

0 comments on commit 9108785

Please sign in to comment.