package bluej.testmgr.record;
import bluej.pkgmgr.PkgMgrFrame;
| Records a single user interaction with the
| class inspection mechanisms of BlueJ.
|
| This record is for classes accessed through inspectors
| (not currently working).
|
| @author Poul Henriksen <polle@mip.sdu.dk>
|
public class ClassInspectInvokerRecord
extends InvokerRecord{
private String className;
| Class inspection
|
| @param className name of the class
|
public ClassInspectInvokerRecord(String className)
{
this.className = className;
}
@Override
public boolean hasVoidResult()
{
return false;
}
@Override
public String toFixtureDeclaration(String firstIndent)
{
return null;
}
@Override
public String toFixtureSetup(String secondIndent)
{
return secondIndent + className + statementEnd;
}
@Override
public String toTestMethod(PkgMgrFrame pmf, String secondIndent)
{
return secondIndent + className + statementEnd;
}
@Override
public String toExpression()
{
return className;
}
}
top,
use,
map,
class ClassInspectInvokerRecord
. ClassInspectInvokerRecord
. hasVoidResult
. toFixtureDeclaration
. toFixtureSetup
. toTestMethod
. toExpression
58 neLoCode
+ 7 LoComm