Attribute test vectors assume ns Time resolution.
Since these are tests of Attributes per se, not Time, forcing the resolution should not hide other issues with Attributes.
This commit is contained in:
1 parent
5545a7f224
commit
69e4cc6139
1 file changed
+3
@@ -692,6 +692,9 @@ AttributeTestCase<TimeValue>::DoRun (void)
|
||||
p = CreateObject<AttributeObjectTest> ();
|
||||
NS_TEST_ASSERT_MSG_NE (p, 0, "Unable to CreateObject");
|
||||
|
||||
// The test vectors assume ns resolution
|
||||
Time::SetResolution (Time::NS);
|
||||
|
||||
//
|
||||
// Set value
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user