public class JarDeployerDUnitTest extends CacheTestCase
DistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2cachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
JarDeployerDUnitTest(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doesFileMatchBytes(File file,
byte[] bytes) |
void |
tearDown2()
Tears down the test.
|
void |
testDeployExclusiveLock() |
void |
testDeployFileAndChange() |
void |
testDeployNoUpdateWhenNoChange() |
void |
testDeploySharedLock() |
void |
testDeployToAlternateDirectory() |
void |
testDeployToInvalidDirectory() |
void |
testDeployUpdateByAnotherVM() |
void |
testInvalidJarFile() |
void |
testLoadPreviouslyDeployedJars() |
void |
testSuspendAndResume() |
void |
testUndeploySharedLock() |
void |
testZeroLengthFile() |
addExceptionTag1, basicGetCache, beginCacheXml, cleanDiskDirs, closeAllCache, closeCache, createLonerCache, createMcastCache, createMcastCache, createRegion, createRegion, createRootRegion, createRootRegion, disconnectFromDS, finishCacheXml, finishCacheXml, getCache, getCache, getCache, getCache, getClientCache, getDiskDirs, getGemfireCache, getInternalRegionArguments, getRootRegion, getRootRegion, hasCache, remoteTearDown, removeExceptionTag1, sendSerialMessageToAll, sendUnorderedMessageToAlladdExpectedException, addExpectedException, addHydraProperties, attachDebugger, checkBBFlag, cleanupAllVms, clearBBFlag, crashDistributedSystem, crashDistributedSystem, createLogWriter, disconnectAllFromDS, dumpAllStacks, dumpMyThreads, dumpStack, dumpStack, dumpStack, dumpStackTrace, fail, getAllDistributedSystemProperties, getDistributedSystemProperties, getDUnitLocatorAddress, getDUnitLocatorPort, getDUnitLocatorString, getDUnitLogLevel, getIPLiteral, getLogWriter, getLonerSystem, getMcastSystem, getMcastSystem, getRepeatTimeoutMs, getServerHostName, getSystem, getSystem, getTestClass, getTestName, getUniqueName, getVMCount, incBBFlag, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVM, invokeInEveryVMRepeatingIfNecessary, invokeInLocator, invokeRepeatingIfNecessary, isConnectedToDS, join, noteTiming, pause, pause, perVMSetUp, realTearDown, setDiskStoreForGateway, setSystem, setTestName, setUp, staticPause, tearDown, unregisterAllDataSerializersFromAllVms, unregisterDataSerializerInThisVM, unregisterInstantiatorsInThisVM, waitForBBFlag, waitForCriterion, waitMutexassertEquals, 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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringpublic JarDeployerDUnitTest(String name)
public void tearDown2()
throws Exception
DistributedTestCaseDistributedTestCase.tearDown() method, and should be over ridden in its place.tearDown2 in class CacheTestCaseExceptionpublic void testDeployFileAndChange()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testDeployNoUpdateWhenNoChange()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testDeployExclusiveLock()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testDeploySharedLock()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testUndeploySharedLock()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testDeployUpdateByAnotherVM()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testLoadPreviouslyDeployedJars()
throws IOException
IOExceptionpublic void testDeployToAlternateDirectory()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testDeployToInvalidDirectory()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testSuspendAndResume()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testZeroLengthFile()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void testInvalidJarFile()
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionprotected boolean doesFileMatchBytes(File file, byte[] bytes) throws IOException
IOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.