站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 Cache API Documentation 英文版文档

CallbackTest (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档


org.jboss.cache.tests
Class CallbackTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.cache.tests.CallbackTest
All Implemented Interfaces:
junit.framework.Test

public class CallbackTest
extends junit.framework.TestCase

Tests whether modifications within callbacks (TreeCacheListener) are handled correctly

Version:
$Id: CallbackTest.java,v 1.4 2004/12/08 10:20:52 belaban Exp $
Author:
Bela Ban

Constructor Summary
CallbackTest()
           
 
Method Summary
static void main(String[] args)
           
protected  void setUp()
           
static junit.framework.Test suite()
           
protected  void tearDown()
           
 void testLocalCallbackWithException()
           
 void testLocalCallbackWithoutTransaction()
           
 void testLocalCallbackWithTransaction()
           
 void testSyncReplicationWith2Caches()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CallbackTest

public CallbackTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Throws:
Exception

testLocalCallbackWithoutTransaction

public void testLocalCallbackWithoutTransaction()
                                         throws Exception,
                                                NotSupportedException
Throws:
Exception
NotSupportedException

testLocalCallbackWithTransaction

public void testLocalCallbackWithTransaction()
                                      throws Exception,
                                             NotSupportedException
Throws:
Exception
NotSupportedException

testLocalCallbackWithException

public void testLocalCallbackWithException()
                                    throws Exception,
                                           NotSupportedException
Throws:
Exception
NotSupportedException

testSyncReplicationWith2Caches

public void testSyncReplicationWith2Caches()
                                    throws Exception,
                                           NotSupportedException
Throws:
Exception
NotSupportedException

main

public static void main(String[] args)

suite

public static junit.framework.Test suite()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.