use of org.neo4j.doc.server.helpers.FunctionalTestHelper in project neo4j-documentation by neo4j.
the class NeoServerJAXRSDocIT method shouldMakeJAXRSClassesAvailableViaHTTP.
@Test
public void shouldMakeJAXRSClassesAvailableViaHTTP() throws Exception {
CommunityWebContainerBuilder builder = CommunityWebContainerBuilder.builder();
webContainer = WebContainerHelper.createContainer(builder, folder, true);
FunctionalTestHelper functionalTestHelper = new FunctionalTestHelper(webContainer);
JaxRsResponse response = new RestRequest().get(functionalTestHelper.baseUri().toASCIIString());
assertEquals(200, response.getStatus());
}
use of org.neo4j.doc.server.helpers.FunctionalTestHelper in project neo4j-documentation by neo4j.
the class AutoIndexWithNonDefaultConfigurationThroughRESTAPIDocIT method allocateServer.
@BeforeClass
public static void allocateServer() throws IOException {
server = CommunityServerBuilder.server().usingDataDir(staticFolder.getRoot().getAbsolutePath()).withAutoIndexingEnabledForNodes("foo", "bar").build();
server.start();
functionalTestHelper = new FunctionalTestHelper(server);
}
use of org.neo4j.doc.server.helpers.FunctionalTestHelper in project neo4j-documentation by neo4j.
the class CompactJsonDocIT method setupServer.
@BeforeClass
public static void setupServer() throws IOException {
functionalTestHelper = new FunctionalTestHelper(server());
helper = functionalTestHelper.getGraphDbHelper();
}
use of org.neo4j.doc.server.helpers.FunctionalTestHelper in project neo4j-documentation by neo4j.
the class DatabaseMetadataServiceDocIT method setupServer.
@BeforeClass
public static void setupServer() throws IOException {
functionalTestHelper = new FunctionalTestHelper(server());
helper = functionalTestHelper.getGraphDbHelper();
}
use of org.neo4j.doc.server.helpers.FunctionalTestHelper in project neo4j-documentation by neo4j.
the class GetRelationshipPropertiesDocIT method setupServer.
@BeforeClass
public static void setupServer() throws IOException {
functionalTestHelper = new FunctionalTestHelper(server());
helper = functionalTestHelper.getGraphDbHelper();
setupTheDatabase();
}
Aggregations