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:
Peter D. Barnes, Jr.
2015-02-20 14:20:35 -08:00
parent 5545a7f224
commit 69e4cc6139

View File

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