duration() is specified to return -1 when none exists

This commit is contained in:
Mark Harrah 2013-06-28 09:09:46 -04:00
parent ab0d61c3fe
commit 019920c138
1 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ class EventWrapper implements Event {
}
public long duration() {
return 0; // Just return 0 as old event does not have duration.
return -1; // Just return -1 as old event does not have duration.
}
}
@ -259,4 +259,4 @@ class RunnerWrapper implements Runner {
public String[] remoteArgs() {
return new String[0]; // Old framework does not support remoteArgs
}
}
}