net.sf.farrago.test
Class JmiMemTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.eigenbase.test.DiffTestCase
net.sf.farrago.test.ResultSetTestCase
net.sf.farrago.test.FarragoTestCase
net.sf.farrago.test.JmiMemTest
- All Implemented Interfaces:
- Test
public class JmiMemTest
- extends FarragoTestCase
JmiMemTest is a unit test for JmiMemFactory
.
NOTE: this test lives here rather than under org.eigenbase because it
currently depends on MDR for the metamodel JMI implementation (even though
JmiMemFactory itself provides a JMI implementation for the model objects
being tested).
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/test/JmiMemTest.java#22 $
- Author:
- John V. Sichi
Constructor Summary |
JmiMemTest(String testName)
Creates a new JmiMemTest object. |
Methods inherited from class net.sf.farrago.test.FarragoTestCase |
forceShutdown, getJdbcUri, getSession, getTestlogRoot, getTestlogRootStatic, newConnection, newJdbcEngineDriver, restoreParameters, restoreParameters, runCleanup, runSqlLineTest, runSqlLineTest, saveParameters, saveParameters, setRefFileDiffMasks, setUp, shouldDiff, staticSetUp, staticTearDown, tearDown, tearDownImpl, wrappedSuite, wrappedSuite |
Methods inherited from class junit.framework.Assert |
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, fail, fail, failNotEquals, failNotSame, failSame, format |
TABLE_NAME
private static final String TABLE_NAME
- See Also:
- Constant Field Values
COLUMN_NAME
private static final String COLUMN_NAME
- See Also:
- Constant Field Values
COLUMN_NAME_2
private static final String COLUMN_NAME_2
- See Also:
- Constant Field Values
JmiMemTest
public JmiMemTest(String testName)
throws Exception
- Creates a new JmiMemTest object.
- Parameters:
testName
- JUnit test name
- Throws:
Exception
suite
public static Test suite()
testClassValuedAttributes
public void testClassValuedAttributes()
makeTupleDescriptor
private FemTupleDescriptor makeTupleDescriptor(JmiMemTest.FarragoMemRepos factory)
testEarlyBinding
public void testEarlyBinding()
throws Exception
- Throws:
Exception
testBreakOneToOneAssoc
public void testBreakOneToOneAssoc()
throws Exception
- Throws:
Exception
testExportImport
public void testExportImport()
testMassiveExportImport
public void testMassiveExportImport()
throws Exception
- Throws:
Exception
testRefImmediatePackage
public void testRefImmediatePackage()
testRefIsInstanceOf
public void testRefIsInstanceOf()
testClone
public void testClone()