updat20131129

This commit is contained in:
stubbfel
2013-11-29 13:03:50 +01:00
parent ef0cc3ff22
commit 8f2a689e92
3 changed files with 150 additions and 8 deletions

View File

@@ -10,8 +10,13 @@ class TestViewSequenz {
public $msgCount;
public $name;
public $path;
public $lockRunTime;
public $lockTimeMsgCount;
public function __construct($testFile) {
public function __construct($testFile = null) {
if (!$testFile) {
return;
}
$this->path = $testFile;
$sourceString = file_get_contents($testFile);
@@ -37,6 +42,8 @@ class TestViewSequenz {
}
$this->name = str_replace(".json", "", basename($testFile));
$this->lockRunTime = $this->lockTime / $this->runTime;
$this->lockTimeMsgCount = $this->lockTime / $this->msgCount;
}
public function toHTML() {