Package patterntesting.check.ct

Class Summary
AbstractDatabaseAspect Pattern Test that verifies that only some classes are allowed to perform database accesss using JDBC.
AbstractImmutableAspect A warning is printed if attributes of an immutable class are not final.
AbstractIoAspect Since JDK 1.1 you should use the Writer and Reader classes and not the Stream classes.
AbstractOnlyForTestingAspect This aspect declares an error if methods annotated by "@OnlyForTesting" are not called from a test method.
AbstractSopAspect Pattern Test that ensures that System.out and System.err are not used in the code.
AbstractStackTraceAspect
AbstractStaticAspect If you are in a web context or/and a cluster static variables are normally not a good idea.
DatabaseAspect Classes annotated with "@DamnJDBC" should not use JDBC.
ImmutableAspect Classes annotated with "@Immutable" are considered as immutable.
IoAspect Since JDK 1.1 you should use the Writer and Reader classes and not the Stream classes.
JUnit3Aspect This aspect tries to detect the same JUnit Anti Patterns as JUnit4Aspect.
JUnit4Aspect This aspect tries to detect some JUnit Anti Patterns like Misuse of Assertions print a warning for the use of "assertTrue" (using the wrong assert) Superficial Test Coverage no support Overly Complex Tests no support Catching Unexpected Exceptions You'll get a warning if you catch a warning in a test method.
For a complete list of JUnit anti patterns see "http://www.exubero.com/junit/antipatterns.html".
NamingConventionsAspect According the Sun naming conventions for Java underscores should be only used for constants.
OnlyForTestingAspect This aspect (together with AbstractOnlyForTestingAspect) declares an error if methods annotated by "@OnlyForTesting" are not called from a test method.
SopAspect Pattern Test that ensures that System.out and System.err are not used in the code.
StackTraceAspect Using e.printStacktrace() is not a good idea.
StaticAspect If you are in a web context or/and a cluster static variables are normally not a good idea.