01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.repository.http;
07:
08: import org.openrdf.http.server.TestServer;
09: import org.openrdf.repository.RDFSchemaRepositoryConnectionTest;
10: import org.openrdf.repository.Repository;
11:
12: public class RDFSchemaHTTPRepositoryConnectionTest extends
13: RDFSchemaRepositoryConnectionTest {
14:
15: private TestServer server;
16:
17: public RDFSchemaHTTPRepositoryConnectionTest(String name) {
18: super (name);
19: }
20:
21: @Override
22: public void setUp() throws Exception {
23: server = new TestServer();
24: try {
25: server.start();
26: super .setUp();
27: } catch (Exception e) {
28: server.stop();
29: throw e;
30: }
31: }
32:
33: @Override
34: public void tearDown() throws Exception {
35: super .tearDown();
36: server.stop();
37: }
38:
39: @Override
40: protected Repository createRepository() {
41: return new HTTPRepository(TestServer.INFERENCE_REPOSITORY_URL);
42: }
43:
44: @Override
45: public void testTransactionIsolation() throws Exception {
46: System.err
47: .println("temporarily disabled testTransactionIsolation() for HTTPRepository");
48: }
49:
50: @Override
51: public void testAutoCommit() throws Exception {
52: System.err
53: .println("temporarily disabled testAutoCommit() for HTTPRepository");
54: }
55:
56: @Override
57: public void testRollback() throws Exception {
58: System.err
59: .println("temporarily disabled testRollback() for HTTPRepository");
60: }
61:
62: @Override
63: public void testEmptyCommit() throws Exception {
64: System.err
65: .println("temporarily disabled testEmptyCommit() for HTTPRepository");
66: }
67:
68: @Override
69: public void testEmptyRollback() throws Exception {
70: System.err
71: .println("temporarily disabled testEmptyRollback() for HTTPRepository");
72: }
73:
74: @Override
75: public void testSizeCommit() throws Exception {
76: System.err
77: .println("temporarily disabled testSizeCommit() for HTTPRepository");
78: }
79:
80: @Override
81: public void testSizeRollback() throws Exception {
82: System.err
83: .println("temporarily disabled testSizeRollback() for HTTPRepository");
84: }
85:
86: @Override
87: public void testInferencerQueryDuringTransaction() throws Exception {
88: System.err
89: .println("temporarily disabled testInferencerDuringTransaction() for HTTPRepository");
90: }
91:
92: @Override
93: public void testInferencerTransactionIsolation() throws Exception {
94: System.err
95: .println("temporarily disabled testInferencerTransactionIsolation() for HTTPRepository");
96: }
97: }
|