org.curjent.test.agent
Class ConfigLockTest

java.lang.Object
  extended by org.curjent.test.agent.AgentTest
      extended by org.curjent.test.agent.ConfigLockTest

public class ConfigLockTest
extends AgentTest

Tests for Agent.getConfig(Object, Object, Object).


Nested Class Summary
(package private) static interface ConfigLockTest.ConfigLockTestAgent
           
(package private) static class ConfigLockTest.ConfigLockTestTask
           
 
Nested classes/interfaces inherited from class org.curjent.test.agent.AgentTest
AgentTest.Context
 
Field Summary
(package private)  ConfigLockTest.ConfigLockTestAgent agent
           
 
Fields inherited from class org.curjent.test.agent.AgentTest
config, failed, stats
 
Constructor Summary
ConfigLockTest()
           
 
Method Summary
protected  TestAgent newTestAgent()
           
 void testChangeKey()
           
 void testClearKey()
           
private  void testLocked(Object oldKey, Object newKey)
           
private  void testNotLocked()
           
private  void testNotLocked(Object oldKey, Object newKey)
           
 void testNullKey()
           
 void testSetKey()
           
 
Methods inherited from class org.curjent.test.agent.AgentTest
flush, log, setUp, setUp, setUp, sleep, stats, tearDown, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agent

ConfigLockTest.ConfigLockTestAgent agent
Constructor Detail

ConfigLockTest

public ConfigLockTest()
Method Detail

newTestAgent

protected TestAgent newTestAgent()
Specified by:
newTestAgent in class AgentTest

testNullKey

public void testNullKey()

testSetKey

public void testSetKey()

testChangeKey

public void testChangeKey()

testClearKey

public void testClearKey()

testNotLocked

private void testNotLocked()

testNotLocked

private void testNotLocked(Object oldKey,
                           Object newKey)

testLocked

private void testLocked(Object oldKey,
                        Object newKey)


Copyright 2009-2011 Tom Landon
Apache License 2.0