public class AdminDSSecurityDUnitTest extends AdminDUnitTestCase
AdminDistributedSystem securityDistributedTestCase.ExpectedException, DistributedTestCase.WaitCriterion, DistributedTestCase.WaitCriterion2| Modifier and Type | Field and Description |
|---|---|
protected static int |
LOCATOR_VM
The index of the VM in which the Locator Agent is hosted
|
protected java.lang.String |
locators |
agent, AGENT_VM, debug, NUM_RETRY, RETRY_INTERVAL, shutdownThread, tcSystem, urlStringcachelogPerTest, reconnect, system, testName| Constructor and Description |
|---|
AdminDSSecurityDUnitTest(java.lang.String name)
Creates a new
AdminDSSecurityDUnitTest |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertAgent() |
boolean |
isJMX()
Returns whether or not this test exercises JMX behavior.
|
void |
setUp()
In addition to the setup done by the superclass, also creates a
DistributedSystem admin object. |
protected void |
startAgent()
Starts the JMX Agent
|
protected void |
stopAgent() |
void |
tearDown2()
Destroys the
DistributedSystem created in AdminDUnitTestCase.setUp()
and performs the tear down inherited from the superclass. |
void |
testCredentials() |
void |
testInvalidCredentials() |
void |
testNoCredentials()
Tests connect to the API
|
assertLog, createDistributedSystem, disconnect, getAdminDistributedSystem, getDistributedMember, getDistributionConfig, getLocators, isRMI, isSSL, reconnectToSystemaddExceptionTag1, 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, 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, toStringprotected static final int LOCATOR_VM
protected java.lang.String locators
public AdminDSSecurityDUnitTest(java.lang.String name)
AdminDSSecurityDUnitTestpublic boolean isJMX()
AdminDUnitTestCasefalse.isJMX in class AdminDUnitTestCasepublic void setUp()
throws java.lang.Exception
AdminDUnitTestCaseDistributedSystem admin object.setUp in class AdminDUnitTestCasejava.lang.Exceptionpublic void tearDown2()
throws java.lang.Exception
AdminDUnitTestCaseDistributedSystem created in AdminDUnitTestCase.setUp()
and performs the tear down inherited from the superclass.tearDown2 in class AdminDUnitTestCasejava.lang.Exceptionprotected void startAgent()
throws java.lang.Exception
AdminDUnitTestCasestartAgent in class AdminDUnitTestCasejava.lang.Exceptionprotected void stopAgent()
throws java.lang.Exception
stopAgent in class AdminDUnitTestCasejava.lang.Exceptionprotected void assertAgent()
throws java.lang.Exception
assertAgent in class AdminDUnitTestCasejava.lang.Exceptionpublic void testNoCredentials()
throws java.lang.Exception
java.lang.Exceptionpublic void testInvalidCredentials()
throws java.lang.Exception
java.lang.Exceptionpublic void testCredentials()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.