summaryrefslogtreecommitdiff
path: root/tests/TestTimeConstraint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/TestTimeConstraint.cpp')
-rw-r--r--tests/TestTimeConstraint.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/TestTimeConstraint.cpp b/tests/TestTimeConstraint.cpp
index 5cb6c16..ab93a05 100644
--- a/tests/TestTimeConstraint.cpp
+++ b/tests/TestTimeConstraint.cpp
@@ -14,7 +14,7 @@ TEST(TimeConstraintSucceedsWithFastTest)
TestResults result;
{
ScopedCurrentTest scopedResult(result);
- TimeConstraint t(200, TestDetails("", "", "", 0));
+ TimeConstraint t(200, TestDetails("", "", "", 0), 0);
TimeHelpers::SleepMs(5);
}
CHECK_EQUAL(0, result.GetFailureCount());
@@ -25,7 +25,7 @@ TEST(TimeConstraintFailsWithSlowTest)
TestResults result;
{
ScopedCurrentTest scopedResult(result);
- TimeConstraint t(10, TestDetails("", "", "", 0));
+ TimeConstraint t(10, TestDetails("", "", "", 0),0);
TimeHelpers::SleepMs(20);
}
CHECK_EQUAL(1, result.GetFailureCount());
@@ -39,7 +39,7 @@ TEST(TimeConstraintFailureIncludesCorrectData)
ScopedCurrentTest scopedResult(result);
TestDetails const details("testname", "suitename", "filename", 10);
- TimeConstraint t(10, details);
+ TimeConstraint t(10, details,10);
TimeHelpers::SleepMs(20);
}
@@ -56,7 +56,7 @@ TEST(TimeConstraintFailureIncludesTimeoutInformation)
TestResults result(&reporter);
{
ScopedCurrentTest scopedResult(result);
- TimeConstraint t(10, TestDetails("", "", "", 0));
+ TimeConstraint t(10, TestDetails("", "", "", 0),0);
TimeHelpers::SleepMs(20);
}