|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.AbstractTestDelegate
public class AbstractTestDelegate
An AbstractTestDelegate.
| Field Summary | |
|---|---|
protected Class |
clazz
The class |
boolean |
enableSecurity
Whether security is enabled |
protected org.jboss.logging.Logger |
log
The log |
protected LoggingPlugin |
logging
The logging plugin |
protected PolicyPlugin |
policy
The policy plugin |
String |
securityPolicyName
The security policy name |
| Constructor Summary | |
|---|---|
AbstractTestDelegate(Class clazz)
Create a new test delegate |
|
| Method Summary | |
|---|---|
protected void |
enableTrace(String name)
Enable trace |
protected static AbstractTestDelegate |
getDelegate(Class clazz)
Get the test delegate. |
protected org.jboss.logging.Logger |
getLog()
Get the log |
protected void |
log(String context)
Log an event with the given context |
void |
setUp()
Setup callback. |
void |
setUpLogging()
Setup the logging |
protected void |
setUpSecurity()
Setup the security |
void |
tearDown()
Teardown. |
void |
tearDownLogging()
Teardown the logging |
void |
tearDownSecurity()
Teardown the security |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Class clazz
public boolean enableSecurity
public String securityPolicyName
protected PolicyPlugin policy
protected LoggingPlugin logging
protected org.jboss.logging.Logger log
| Constructor Detail |
|---|
public AbstractTestDelegate(Class clazz)
clazz - the class| Method Detail |
|---|
protected static AbstractTestDelegate getDelegate(Class clazz)
throws Exception
clazz - the test class
Exception - for any errorprotected org.jboss.logging.Logger getLog()
protected void enableTrace(String name)
name - the logging context
public void setUp()
throws Exception
Exception - for any error
public void tearDown()
throws Exception
Exception - for any error
public void setUpLogging()
throws Exception
Exception - for any error
public void tearDownLogging()
throws Exception
Exception - for any error
protected void setUpSecurity()
throws Exception
Exception - for any error
public void tearDownSecurity()
throws Exception
Exception - for any errorprotected void log(String context)
context - the context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||