Package org.apache.turbine.annotation
Class AnnotationProcessorTest
- java.lang.Object
-
- org.apache.turbine.annotation.AnnotationProcessorTest
-
public class AnnotationProcessorTest extends Object
Tests the various annotations- Author:
- Thomas Vandahl
-
-
Constructor Summary
Constructors Constructor Description AnnotationProcessorTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voiddestroy()voidguardedMethoded()voidguardedMethodedAdmin()static voidinit()voidsetUpBefore()voidtestProcess()voidtestProcessingPerformance()voidtestRequiredRoleAdminMethodProcess()voidtestRequiredRoleMethodProcess()voidtestUnguardedMethodWProcessDefault()voidunguardedMethoded()
-
-
-
Constructor Detail
-
AnnotationProcessorTest
public AnnotationProcessorTest()
-
-
Method Detail
-
setUpBefore
@BeforeEach public void setUpBefore() throws Exception
- Throws:
Exception
-
testProcess
@Test public void testProcess() throws Exception
- Throws:
Exception
-
guardedMethoded
public void guardedMethoded()
-
testRequiredRoleMethodProcess
@Test public void testRequiredRoleMethodProcess() throws Exception
- Throws:
Exception
-
guardedMethodedAdmin
public void guardedMethodedAdmin()
-
testRequiredRoleAdminMethodProcess
@Test public void testRequiredRoleAdminMethodProcess() throws Exception
- Throws:
Exception
-
unguardedMethoded
public void unguardedMethoded()
-
testUnguardedMethodWProcessDefault
@Test public void testUnguardedMethodWProcessDefault() throws Exception
- Throws:
Exception
-
testProcessingPerformance
@Tag("performance") @Test public void testProcessingPerformance() throws TurbineException- Throws:
TurbineException
-
-