public class ClassByteCodeAnnotationFilterTest
extends junit.framework.TestCase
Modifier and Type | Class and Description |
---|---|
static class |
ClassByteCodeAnnotationFilterTest.ClassWithLongConstant
A class without a long constants in the constant pool
|
static class |
ClassByteCodeAnnotationFilterTest.ClassWithManagedBeanAnnotation
A class with a
ManagedBean annotation |
static class |
ClassByteCodeAnnotationFilterTest.ClassWithoutAnnotations
A class without any annotations
|
Constructor and Description |
---|
ClassByteCodeAnnotationFilterTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testBeanWithLongConstant()
Test that filter returns
false for a bean with no annotations and
a long constant in the constants pool. |
void |
testBeanWithManagedBeanAnnotation()
Test that filter returns
true for a bean with a ManagedBean annotation |
void |
testBeanWithoutAnnotations()
Test that filter returns
false for beans without annotations |
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testBeanWithoutAnnotations() throws IOException
false
for beans without annotationsIOException
public void testBeanWithManagedBeanAnnotation() throws IOException
true
for a bean with a ManagedBean
annotationIOException
public void testBeanWithLongConstant() throws IOException
false
for a bean with no annotations and
a long constant in the constants pool.IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.