edu.utep.cs.jet.rat
Interface ValueGenerator
- All Known Implementing Classes:
- IncrementalValueGenerator, SimpleValueGenerator
public interface ValueGenerator
An interface to generate values of various types.
- Version:
- $Revision: 1.11 $
- Author:
- Yoonsik Cheon
|
Method Summary |
Denotable |
generate(Class<?> type,
Context ctx,
int maxHeight)
Generates a new value of the given type under the given testing
context. |
generate
Denotable generate(Class<?> type,
Context ctx,
int maxHeight)
- Generates a new value of the given type under the given testing
context. For a class type,
maxHeight denotes the
maximum height of tree representing the generated object; it is
used to prevent an infinite or excessive recursion during
object creation.
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.