|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert org.jboss.portal.test.framework.junit.TransactionAssert
Constructor Summary | |
TransactionAssert()
|
Method Summary | |
static void |
assertStatusEquals(int expectedStatus)
Assert the status of the current transaction. |
static void |
beginTransaction()
Begin a transaction or fail. |
static void |
commitTransaction()
Commit the transaction or fail. |
static void |
endTransaction()
If no transaction do nothing. |
static javax.transaction.UserTransaction |
getUserTransaction()
|
static void |
rollbackTransaction()
Rollback the transaction or fail. |
static void |
rollbackTransaction(boolean marked)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransactionAssert()
Method Detail |
public static void assertStatusEquals(int expectedStatus)
expectedStatus
- the expected statuspublic static void commitTransaction()
public static void rollbackTransaction()
public static void rollbackTransaction(boolean marked)
public static void beginTransaction()
public static void endTransaction()
public static javax.transaction.UserTransaction getUserTransaction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |