
okw.log.log2html.ResultListDebug Maven / Gradle / Ivy
package okw.log.log2html;
public class ResultListDebug extends LogBase
{
String myReturn = "";
ResultListDebug( LogBase Parent, String fpsListHeader )
{
setParent(Parent);
myID = AllCount;
this.Info = fpsListHeader;
}
public void setReturn(String fpsReturn)
{
myReturn = fpsReturn;
}
protected void SetFail()
{
}
protected void SetPass()
{
}
protected String getResult()
{
StringBuilder sbResult = new StringBuilder();
String lvsIndention = this.getLevelIndention();
//sbResult.append( lvsIndention + "\n" );
sbResult.append( lvsIndention + "\n" );
sbResult.append( lvsIndention + myIndentionBase +"\n" );
// Aufklappen wenn myLogs Werte enthält...
if (!this.myLogs.isEmpty())
{
sbResult.append( lvsIndention + myIndentionBase + myIndentionBase + "\n" );
}
sbResult.append( lvsIndention + myIndentionBase + myIndentionBase + "" + this.Info + "\n" );
sbResult.append( lvsIndention + myIndentionBase + myIndentionBase + "\n" ); // end Header
// Body der Klappbox
sbResult.append( lvsIndention + myIndentionBase + myIndentionBase +" \n" ); // end Body
sbResult.append( lvsIndention + myIndentionBase + myIndentionBase + "\n" ); // end Rahmen
//sbResult.append( lvsIndention + "
\n");
return sbResult.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy