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.Repository;
10: import org.openrdf.repository.RepositoryConnectionTest;
11:
12: public class HTTPStoreConnectionTest extends RepositoryConnectionTest {
13:
14: private TestServer server;
15:
16: public HTTPStoreConnectionTest(String name) {
17: super (name);
18: }
19:
20: @Override
21: public void setUp() throws Exception {
22: server = new TestServer();
23: try {
24: server.start();
25: super .setUp();
26: } catch (Exception e) {
27: server.stop();
28: throw e;
29: }
30: }
31:
32: @Override
33: public void tearDown() throws Exception {
34: super .tearDown();
35: server.stop();
36: }
37:
38: @Override
39: protected Repository createRepository() {
40: return new HTTPRepository(TestServer.REPOSITORY_URL);
41: }
42:
43: @Override
44: public void testTransactionIsolation() throws Exception {
45: System.err
46: .println("temporarily disabled testTransactionIsolation() for HTTPRepository");
47: }
48:
49: @Override
50: public void testAutoCommit() throws Exception {
51: System.err
52: .println("temporarily disabled testAutoCommit() for HTTPRepository");
53: }
54:
55: @Override
56: public void testRollback() throws Exception {
57: System.err
58: .println("temporarily disabled testRollback() for HTTPRepository");
59: }
60:
61: @Override
62: public void testEmptyCommit() throws Exception {
63: System.err
64: .println("temporarily disabled testEmptyCommit() for HTTPRepository");
65: }
66:
67: @Override
68: public void testEmptyRollback() throws Exception {
69: System.err
70: .println("temporarily disabled testEmptyRollback() for HTTPRepository");
71: }
72:
73: @Override
74: public void testSizeCommit() throws Exception {
75: System.err
76: .println("temporarily disabled testSizeCommit() for HTTPRepository");
77: }
78:
79: @Override
80: public void testSizeRollback() throws Exception {
81: System.err
82: .println("temporarily disabled testSizeRollback() for HTTPRepository");
83: }
84:
85: @Override
86: public void testGetContextIDs() throws Exception {
87: System.err
88: .println("temporarily disabled testGetContextIDs() for HTTPRepository");
89: }
90: }
|