nz.ac.waikato.modeljunit.gui
Interface IAlgorithmParameter

All Known Implementing Classes:
AlgorithmPanel, OptionPanelAdapter, OptionPanelDefault, OptionPanelGreedy, OptionPanelLookahead, OptionPanelRandomWalk

public interface IAlgorithmParameter


Method Summary
 java.lang.String generateCode()
          Generates the Java code that sets up this algorithm to generate tests.
 java.lang.String generateImportLab()
          Generate any Java import statements that are needed in addition to the standard modeljunit.* imports.
 void initialize(int idx)
          Initialize particular tester object.
 void runAlgorithm(int idx)
           
 

Method Detail

initialize

void initialize(int idx)
Initialize particular tester object. Different panel might hold different test object. This function provides a way to initialize different tester object.


generateImportLab

java.lang.String generateImportLab()
Generate any Java import statements that are needed in addition to the standard modeljunit.* imports.

Returns:
generated import statement

generateCode

java.lang.String generateCode()
Generates the Java code that sets up this algorithm to generate tests. The generated code will declare a variable 'Tester tester'. The returned code has already been indented correctly.


runAlgorithm

void runAlgorithm(int idx)


Copyright © 2009 ModelJUnit Project. All Rights Reserved.