Package edu.berkeley.cs.jqf.fuzz
Class JQF
-
- All Implemented Interfaces:
Describable,Filterable,Orderable,Sortable
public class JQF extends JUnitQuickcheck
This class extends JUnit and Quickcheck runners to enable guided fuzz testing.- Author:
- Rohan Padhye
-
-
Field Summary
Fields Modifier and Type Field Description protected com.pholser.junit.quickcheck.internal.generator.GeneratorRepositorygeneratorRepository
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<FrameworkMethod>computeTestMethods()StatementmethodBlock(FrameworkMethod method)protected voidvalidateTestMethods(List<Throwable> errors)-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
-
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
-
-
-
Constructor Detail
-
JQF
public JQF(Class<?> clazz) throws InitializationError
- Throws:
InitializationError
-
-
Method Detail
-
computeTestMethods
protected List<FrameworkMethod> computeTestMethods()
- Overrides:
computeTestMethodsin classJUnitQuickcheck
-
validateTestMethods
protected void validateTestMethods(List<Throwable> errors)
- Overrides:
validateTestMethodsin classJUnitQuickcheck
-
methodBlock
public Statement methodBlock(FrameworkMethod method)
- Overrides:
methodBlockin classJUnitQuickcheck
-
-