org.apache.tapestry.enhance
Class EnhancedClassValidatorTest

java.lang.Object
  extended by BaseComponentTestCase
      extended by org.apache.tapestry.enhance.EnhancedClassValidatorTest

public class EnhancedClassValidatorTest
extends BaseComponentTestCase

Tests for EnhancedClassValidatorImpl.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
EnhancedClassValidatorTest()
           
 
Method Summary
 void test_Complete()
          Test for a class that fulfills its requirements (by implementing all inherited abstract methods.
 void test_Generics_Complete()
           
 void test_Incomplete()
          Pass in an abstract class (with enhancement, its possible that a supposedly concrete class may omit implementing an inherited abstract method, which is the whole point of the validator.
 void test_Inherits_Missing_Method()
           
 void test_Object()
          Ensures that the code works when passed java.lang.Object (which has different inheritance than other classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnhancedClassValidatorTest

public EnhancedClassValidatorTest()
Method Detail

test_Complete

public void test_Complete()
Test for a class that fulfills its requirements (by implementing all inherited abstract methods.


test_Generics_Complete

public void test_Generics_Complete()

test_Incomplete

public void test_Incomplete()
Pass in an abstract class (with enhancement, its possible that a supposedly concrete class may omit implementing an inherited abstract method, which is the whole point of the validator.


test_Inherits_Missing_Method

public void test_Inherits_Missing_Method()

test_Object

public void test_Object()
Ensures that the code works when passed java.lang.Object (which has different inheritance than other classes.



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