com.healthmarketscience.jackcess.impl
Class JetFormatTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.healthmarketscience.jackcess.impl.JetFormatTest
All Implemented Interfaces:
junit.framework.Test

public class JetFormatTest
extends junit.framework.TestCase

Author:
Dan Rollo Date: Mar 5, 2010 Time: 12:44:21 PM

Nested Class Summary
static class JetFormatTest.Basename
          Defines known valid db test file base names.
static class JetFormatTest.TestDB
          Defines known valid test database files, and their jet format version.
 
Field Summary
static File DIR_TEST_DATA
           
static List<JetFormatTest.TestDB> SUPPORTED_DBS_TEST
           
static List<JetFormatTest.TestDB> SUPPORTED_DBS_TEST_FOR_READ
           
static Database.FileFormat[] SUPPORTED_FILEFORMATS
          Defines currently supported db file formats.
static Database.FileFormat[] SUPPORTED_FILEFORMATS_FOR_READ
           
 
Constructor Summary
JetFormatTest()
           
 
Method Summary
 void testFileFormat()
           
 void testGetFormat()
           
 void testReadOnlyFormat()
           
 
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DIR_TEST_DATA

public static final File DIR_TEST_DATA

SUPPORTED_FILEFORMATS

public static final Database.FileFormat[] SUPPORTED_FILEFORMATS
Defines currently supported db file formats. (can be modified at runtime via the system property "com.healthmarketscience.jackcess.testFormats")


SUPPORTED_FILEFORMATS_FOR_READ

public static final Database.FileFormat[] SUPPORTED_FILEFORMATS_FOR_READ

SUPPORTED_DBS_TEST

public static final List<JetFormatTest.TestDB> SUPPORTED_DBS_TEST

SUPPORTED_DBS_TEST_FOR_READ

public static final List<JetFormatTest.TestDB> SUPPORTED_DBS_TEST_FOR_READ
Constructor Detail

JetFormatTest

public JetFormatTest()
Method Detail

testGetFormat

public void testGetFormat()
                   throws Exception
Throws:
Exception

testReadOnlyFormat

public void testReadOnlyFormat()
                        throws Exception
Throws:
Exception

testFileFormat

public void testFileFormat()
                    throws Exception
Throws:
Exception


Copyright © 2005-2015 Health Market Science. All Rights Reserved.