当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
PrepareTxTest (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
org.jboss.cache.tests
Class PrepareTxTest
java.lang.Object
   junit.framework.Assert
junit.framework.Assert
       junit.framework.TestCase
junit.framework.TestCase
           org.jboss.cache.tests.PrepareTxTest
org.jboss.cache.tests.PrepareTxTest
- All Implemented Interfaces: 
- junit.framework.Test
- public class PrepareTxTest- extends junit.framework.TestCase
Created by IntelliJ IDEA.
 User: bela
 Date: Jun 9, 2004
 Time: 9:05:19 AM
 
 
| Methods inherited from class junit.framework.TestCase | 
| countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString | 
 
| 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 | 
 
 
PrepareTxTest
public PrepareTxTest()
setUp
protected void setUp()
              throws Exception
- 
- Throws:
- Exception
 
tearDown
protected void tearDown()
                 throws Exception
- 
- Throws:
- Exception
 
testCacheModificationInBeforeCompletionPhase
public void testCacheModificationInBeforeCompletionPhase()
                                                  throws Exception,
                                                         NotSupportedException
- Tests cache modification inside the afterCompletion() callback. Reproduces a bug fixed in
 connection with JBossCache being used as Hibernate's second level cache
 
- 
- Throws:
- Exception
- NotSupportedException
 
testCacheModificationInAfterCompletionPhase
public void testCacheModificationInAfterCompletionPhase()
                                                 throws Exception,
                                                        NotSupportedException
- Tests cache modification inside the afterCompletion() callback. Reproduces a bug fixed in
 connection with JBossCache being used as Hibernate's second level cache
 
- 
- Throws:
- Exception
- NotSupportedException
 
suite
public static junit.framework.Test suite()
- 
 
main
public static void main(String[] args)
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.