edu.cmu.cs.crystal.test
Class AnnotatedTest

java.lang.Object
  extended by edu.cmu.cs.crystal.test.AnnotatedTest

An analysis test that uses test annotations (
 
 PassingTest,
 FailingTest,
 UseAnalyses ) to determine which analyses to run, and whether or not the given file is a test.
              This test will examine every Java file in your test workspace!

Author:
Nels E. Beckman

Constructor Summary
AnnotatedTest(ICompilationUnit icu, edu.cmu.cs.crystal.test.AnnotatedTest.TestType test, java.lang.Integer index)
          
Method Summary
static java.util.Collection<edu.cmu.cs.crystal.test.AnnotatedTest.TestType> findTestTypes(CompilationUnit comp_unit)
          
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedTest

public AnnotatedTest(ICompilationUnit icu,
                     edu.cmu.cs.crystal.test.AnnotatedTest.TestType test,
                     java.lang.Integer index)
Method Detail

findTestTypes

public static java.util.Collection<edu.cmu.cs.crystal.test.AnnotatedTest.TestType> findTestTypes(CompilationUnit comp_unit)
Given a compilation unit, returns the type of test that it is, or none if this compilation unit is not a test.


testFiles


testAnalysisOnFile

Throws:
java.lang.Throwable