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:
@@ -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