edu.utep.cs.jet.rat.gen
Class IncrementalValueGenerator
java.lang.Object
edu.utep.cs.jet.rat.gen.SimpleValueGenerator
edu.utep.cs.jet.rat.gen.IncrementalValueGenerator
- All Implemented Interfaces:
- ValueGenerator
public class IncrementalValueGenerator
- extends SimpleValueGenerator
A class to generate values incrementally for object types. This
class uses an incremental random approach in that every method or
constructor, selected randomly, is checked on-the-fly to ensure a
successful invocation of the method or constructor, i.e., no
exception and no assertion violation.
- Version:
- $Revision: 1.8 $
- Author:
- Yoonsik Cheon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncrementalValueGenerator
public IncrementalValueGenerator(ValueFactory factory)
- Creates a new instance to generate values by using the given
value factory.
getClassValueGenerator
protected ClassValueGenerator getClassValueGenerator(Class<?> type,
ValueFactory factory)
- Creates a class value generator for the given type. This
method is overridden here to return an incremental value
generator.
- Overrides:
getClassValueGenerator in class SimpleValueGenerator
JET is Copyright (C) 2005-2008 by The University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.