Skip to content

Commit

Permalink
Adds a test for transaction isolation of the driver implementations.
Browse files Browse the repository at this point in the history
git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@350 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Aug 12, 2010
1 parent d13bb5c commit 7e99a82
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions testsrc/org/olap4j/ConnectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2712,6 +2712,20 @@ public void _testDimensionProperties() throws SQLException {
olapConnection.prepareOlapStatement(mdx);
pstmt.executeQuery();
}

/**
* <p>This test relates to
* sourceforge.net/projects/olap4j/forums/forum/577988/topic/3803726
*
* <p>Drivers should return a transaction isolation of
* {@link Connection#TRANSACTION_NONE}
*/
public void testTransactionIsolation() throws SQLException {
connection = tester.createConnection();
assertEquals(
Connection.TRANSACTION_NONE,
connection.getTransactionIsolation());
}
}

// End ConnectionTest.java

0 comments on commit 7e99a82

Please sign in to comment.