org.apache.jcs.auxiliary.lateral.socket.tcp
Class LateralTCPNoDeadLockConcurrentTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPNoDeadLockConcurrentTest
All Implemented Interfaces:
junit.framework.Test

public class LateralTCPNoDeadLockConcurrentTest
extends junit.framework.TestCase

Test which exercises the tcp lateral cache. Runs two threads against the same region and two against other regions.


Constructor Summary
LateralTCPNoDeadLockConcurrentTest(String testName)
          Constructor for the TestDiskCache object.
 
Method Summary
static void main(String[] args)
          Main method passes this test to the text test runner.
 void setUp()
          Test setup
static junit.framework.Test suite()
          A unit test suite for JUnit
 void tearDown()
          Test tearDown.
 
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

LateralTCPNoDeadLockConcurrentTest

public LateralTCPNoDeadLockConcurrentTest(String testName)
Constructor for the TestDiskCache object.

Parameters:
testName -
Method Detail

main

public static void main(String[] args)
Main method passes this test to the text test runner.

Parameters:
args -

suite

public static junit.framework.Test suite()
A unit test suite for JUnit

Returns:
The test suite

setUp

public void setUp()
Test setup

Overrides:
setUp in class junit.framework.TestCase

tearDown

public void tearDown()
Test tearDown. Dispose of the cache.

Overrides:
tearDown in class junit.framework.TestCase


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.