org.apache.bcel
Class AnnotationDefaultAttributeTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.bcel.AbstractTestCase
              extended by org.apache.bcel.AnnotationDefaultAttributeTestCase
All Implemented Interfaces:
junit.framework.Test

public class AnnotationDefaultAttributeTestCase
extends AbstractTestCase


Constructor Summary
AnnotationDefaultAttributeTestCase()
           
 
Method Summary
 void testMethodAnnotations()
          For values in an annotation that have default values, we should be able to query the AnnotationDefault attribute against the method to discover the default value that was originally declared.
 
Methods inherited from class org.apache.bcel.AbstractTestCase
createFruitAnnotationEntry, createRepos, createTestdataFile, dumpAnnotationEntries, dumpAnnotationEntries, dumpAttributes, findAttribute, findAttribute, getMethod, getTestClass, wipe, wipe
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationDefaultAttributeTestCase

public AnnotationDefaultAttributeTestCase()
Method Detail

testMethodAnnotations

public void testMethodAnnotations()
                           throws ClassNotFoundException
For values in an annotation that have default values, we should be able to query the AnnotationDefault attribute against the method to discover the default value that was originally declared.

Throws:
ClassNotFoundException


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.