org.apache.tapestry.annotations
Class AnnotationEnhancementWorkerTest

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.annotations.BaseAnnotationTestCase
          extended by org.apache.tapestry.annotations.AnnotationEnhancementWorkerTest
Direct Known Subclasses:
PersistAnnotationWorkerTest

public class AnnotationEnhancementWorkerTest
extends BaseAnnotationTestCase

Tests for AnnotationEnhancementWorker.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
AnnotationEnhancementWorkerTest()
           
 
Method Summary
protected  Map newMap(Class annotationClass, Object worker)
           
protected  MethodAnnotationEnhancementWorker newMethodAnnotationEnhancementWorker()
           
protected  EnhancementOperation newOp(Class baseClass)
           
protected  SecondaryAnnotationWorker newSecondaryAnnotationWorker()
           
 void test_Annotation_Failure()
           
 void test_Annotation_Match()
           
 void test_Annotation_With_Subclass()
           
 void test_Class_Annotation_Failure()
           
 void test_Class_Annotation_No_Match()
           
 void test_Class_Annotation()
           
 void test_No_Annotations()
          No method annotations registered.
 void test_Secondary_EnhancementWorker_Failure()
           
 void test_Secondary_EnhancementWorker()
           
 
Methods inherited from class org.apache.tapestry.annotations.BaseAnnotationTestCase
findMethod, newErrorLog, newMethodLocation, newOp, newResource, newSpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationEnhancementWorkerTest

public AnnotationEnhancementWorkerTest()
Method Detail

newOp

protected EnhancementOperation newOp(Class baseClass)

newMap

protected Map newMap(Class annotationClass,
                     Object worker)

test_No_Annotations

public void test_No_Annotations()
No method annotations registered.


test_Annotation_Match

public void test_Annotation_Match()

newMethodAnnotationEnhancementWorker

protected MethodAnnotationEnhancementWorker newMethodAnnotationEnhancementWorker()

test_Annotation_With_Subclass

public void test_Annotation_With_Subclass()

test_Annotation_Failure

public void test_Annotation_Failure()

test_Class_Annotation

public void test_Class_Annotation()

test_Class_Annotation_Failure

public void test_Class_Annotation_Failure()

test_Class_Annotation_No_Match

public void test_Class_Annotation_No_Match()

test_Secondary_EnhancementWorker

public void test_Secondary_EnhancementWorker()

test_Secondary_EnhancementWorker_Failure

public void test_Secondary_EnhancementWorker_Failure()

newSecondaryAnnotationWorker

protected SecondaryAnnotationWorker newSecondaryAnnotationWorker()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.