org.sourceforge.jemm.database
Class BaseDatabaseObjectTest
java.lang.Object
org.sourceforge.jemm.database.BaseDatabaseTest
org.sourceforge.jemm.database.BaseDatabaseObjectTest
public class BaseDatabaseObjectTest
- extends BaseDatabaseTest
Object handling tests for the BaseDatabase database implementation.
See BaseDatabaseTest for more information.
- Author:
- Rory Graves
|
Field Summary |
org.sourceforge.jemm.database.ClientId |
clientId
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clientId
public final org.sourceforge.jemm.database.ClientId clientId
BaseDatabaseObjectTest
public BaseDatabaseObjectTest()
basicCreateTest
public void basicCreateTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
initialiseTest
public void initialiseTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
noChangeUpdateTest
public void noChangeUpdateTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
changeUpdateTest
public void changeUpdateTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
otherUpdateTest
public void otherUpdateTest()
throws java.lang.Exception
- Test the behaviour when a field is updated by
- Throws:
java.lang.Exception
getObjectTest
public void getObjectTest()
throws java.lang.Exception
- Throws:
java.lang.Exception
invalidCreateObjectTest1
public void invalidCreateObjectTest1()
throws java.lang.Exception
- Test object creation with an undefined clientId
- Throws:
java.lang.Exception - (IllegalArgumentException expected)
invalidCreateObjectTest2
public void invalidCreateObjectTest2()
throws java.lang.Exception
- Test object creation with an undefined class id
- Throws:
java.lang.Exception - (IllegalArgumentException expected)
Copyright © 2009. All Rights Reserved.