UTJML

edu.utep.cs.utjml.tgen
Class TestCaseCreator

java.lang.Object
  extended by edu.utep.cs.utjml.tgen.TestCaseCreator

public class TestCaseCreator
extends Object

A class to create a set of test cases for a given method.

Version:
$Revision: 1.21 $
Author:
Yoonsik Cheon

Constructor Summary
TestCaseCreator()
          Creates a new instance.
TestCaseCreator(JTypeDeclarationType typeDecl, MethodInfo methInfo)
          Instantiates a new creator for the given method of the given type.
 
Method Summary
 void setTargetMethod(JTypeDeclarationType typeDecl, MethodInfo methInfo)
          Sets the target method whose test cases are to be generated.
 Iterator testcases()
          Returns an iterator that iterates over the generated test cases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCaseCreator

public TestCaseCreator(JTypeDeclarationType typeDecl,
                       MethodInfo methInfo)
Instantiates a new creator for the given method of the given type.


TestCaseCreator

public TestCaseCreator()
Creates a new instance.

Method Detail

setTargetMethod

public void setTargetMethod(JTypeDeclarationType typeDecl,
                            MethodInfo methInfo)
Sets the target method whose test cases are to be generated.


testcases

public Iterator testcases()
Returns an iterator that iterates over the generated test cases.


UTJML

UTJML is Copyright (C) 2004-2006 by 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. This release depends on code from the JML project.