test.implementation.util
Class MBeanProxyTEST
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
test.implementation.util.MBeanProxyTEST
- All Implemented Interfaces:
- junit.framework.Test
public class MBeanProxyTEST
- extends junit.framework.TestCase
Tests for mbean proxy
- Version:
- $Revision: 81022 $
- Author:
- Juha Lindfors.
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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, failNotEquals, failNotSame, failSame, format |
MBeanProxyTEST
public MBeanProxyTEST(String s)
testGetWithServer
public void testGetWithServer()
throws Exception
- Throws:
Exception
testGetWithAgentID
public void testGetWithAgentID()
throws Exception
- Throws:
Exception
testCreateWithServer
public void testCreateWithServer()
throws Exception
- Throws:
Exception
testCreateWithAgentID
public void testCreateWithAgentID()
throws Exception
- Throws:
Exception
testProxyInvocations
public void testProxyInvocations()
throws Exception
- Throws:
Exception
testProxyInvocationWithConflictingMBeanAndContextMethods
public void testProxyInvocationWithConflictingMBeanAndContextMethods()
throws Exception
- Throws:
Exception
testContextAccess
public void testContextAccess()
throws Exception
- Throws:
Exception
testProxyInvocationBetweenServers
public void testProxyInvocationBetweenServers()
throws Exception
- Throws:
Exception
testSimultaneousTypedAndDetypedInvocations
public void testSimultaneousTypedAndDetypedInvocations()
throws Exception
- Throws:
Exception
testContextAccessToMBeanServer
public void testContextAccessToMBeanServer()
throws Exception
- Throws:
Exception
testArbitraryInterfaceWithProxy
public void testArbitraryInterfaceWithProxy()
throws Exception
- Throws:
Exception
testCustomExceptionHandler
public void testCustomExceptionHandler()
throws Exception
- This test shows how to override the default exception handling for
proxy invocations. The default handling for exceptions that are not
declared as part of the proxy typed interface (such as InstanceNotFound
or AttributeNotFound exceptions) are rethrown as unchecked
RuntimeProxyExceptions. See org.jboss.mx.proxy.DefaultExceptionHandler
for details. This behavior can be changed at runtime through the proxy
context interface setExceptionHandler() method.
- Throws:
Exception
testObjectToStringOnProxy
public void testObjectToStringOnProxy()
throws Exception
- Throws:
Exception
testObjectToStringOverride
public void testObjectToStringOverride()
throws Exception
- Throws:
Exception
testObjectHashCodeOnProxy
public void testObjectHashCodeOnProxy()
throws Exception
- Throws:
Exception
testObjectHashCodeOverride
public void testObjectHashCodeOverride()
throws Exception
- Throws:
Exception
testObjectEqualsOnProxy
public void testObjectEqualsOnProxy()
throws Exception
- Throws:
Exception
testObjectEqualsOverride
public void testObjectEqualsOverride()
throws Exception
- Throws:
Exception
testAttributeNotFoundOnTypedProxy
public void testAttributeNotFoundOnTypedProxy()
throws Exception
- Throws:
Exception
testAttributeNotFoundOnDeTypedProxy
public void testAttributeNotFoundOnDeTypedProxy()
throws Exception
- Throws:
Exception
testInheritanceInTypedProxyArgs
public void testInheritanceInTypedProxyArgs()
throws Exception
- Throws:
Exception
testInheritanceInProxyAttribute
public void testInheritanceInProxyAttribute()
throws Exception
- Throws:
Exception
testInheritanceInProxyReturnType
public void testInheritanceInProxyReturnType()
throws Exception
- Throws:
Exception
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.