diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2008-04-28 21:09:15 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2008-04-28 21:09:15 +0000 |
commit | 9442b7273f8c4cce6cc6fc76f17e95992c834f60 (patch) | |
tree | d10ea116df41dc4a31b148678a76af52ddf7c854 | |
parent | 27f7855db113e4556e9e957b139dc50e5e06e275 (diff) | |
download | jackcess-9442b7273f8c4cce6cc6fc76f17e95992c834f60.tar.gz jackcess-9442b7273f8c4cce6cc6fc76f17e95992c834f60.zip |
fix bigindex property handling in unit tests
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@341 f203690c-595d-4dc9-a70b-905162fa7fd2
-rw-r--r-- | test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java b/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java index 522148e..0728b44 100644 --- a/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java +++ b/test/src/java/com/healthmarketscience/jackcess/BigIndexTest.java @@ -43,6 +43,8 @@ import static com.healthmarketscience.jackcess.DatabaseTest.*; */ public class BigIndexTest extends TestCase { + private String _oldBigIndexValue = null; + /** * Creates a new <code>IndexTest</code> instance. * @@ -53,13 +55,14 @@ public class BigIndexTest extends TestCase { @Override protected void setUp() { + _oldBigIndexValue = System.getProperty(Database.USE_BIG_INDEX_PROPERTY); System.setProperty(Database.USE_BIG_INDEX_PROPERTY, Boolean.TRUE.toString()); } @Override protected void tearDown() { - System.clearProperty(Database.USE_BIG_INDEX_PROPERTY); + System.setProperty(Database.USE_BIG_INDEX_PROPERTY, _oldBigIndexValue); } public void testComplexIndex() throws Exception |