Skip to content

Commit

Permalink
Shouldn't have done that.
Browse files Browse the repository at this point in the history
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@510 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Feb 24, 2012
1 parent 5e11a1f commit 71d9fdf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions testsrc/org/olap4j/CellSetFormatterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@
*/
public class CellSetFormatterTest extends TestCase {

private TestContext testContext = null;
private TestContext.Tester tester = null;
private TestContext testContext = TestContext.instance();
private TestContext.Tester tester = testContext.getTester();

protected void setUp() throws Exception {
super.setUp();
testContext = TestContext.instance();
tester = testContext.getTester();
}

protected void tearDown() throws Exception {
Expand Down
6 changes: 2 additions & 4 deletions testsrc/org/olap4j/ConnectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
* @version $Id$
*/
public class ConnectionTest extends TestCase {
private TestContext testContext = null;
private TestContext.Tester tester = null;
private TestContext testContext = TestContext.instance();
private TestContext.Tester tester = testContext.getTester();

private static final boolean IS_JDK_16 =
System.getProperty("java.version").startsWith("1.6.");
Expand All @@ -68,8 +68,6 @@ public class ConnectionTest extends TestCase {

protected void setUp() throws Exception {
super.setUp();
testContext = TestContext.instance();
tester = testContext.getTester();
}

protected void tearDown() throws Exception {
Expand Down
6 changes: 2 additions & 4 deletions testsrc/org/olap4j/XmlaConnectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,13 @@
* @version $Id$
*/
public class XmlaConnectionTest extends TestCase {
private TestContext testContext = null;
private TestContext.Tester tester = null;
private TestContext testContext = TestContext.instance();
private TestContext.Tester tester = testContext.getTester();
public static final String DRIVER_CLASS_NAME =
"org.olap4j.driver.xmla.XmlaOlap4jDriver";

protected void setUp() throws Exception {
super.setUp();
testContext = TestContext.instance();
tester = testContext.getTester();
}

static class XmlaOlap4jProxyMock implements XmlaOlap4jProxy {
Expand Down

0 comments on commit 71d9fdf

Please sign in to comment.