File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ TaskManager::GetTypeId (void)
9292 " deallocate and switch among fibers." ,
9393 TypeId::ATTR_CONSTRUCT ,
9494 EnumValue (PTHREAD_FIBER_MANAGER ),
95- MakeEnumAccessor (&TaskManager::SetFiberManagerType),
95+ MakeEnumAccessor<FiberManagerType> (&TaskManager::SetFiberManagerType),
9696 MakeEnumChecker (PTHREAD_FIBER_MANAGER , " PthreadFiberManager" ,
9797 UCONTEXT_FIBER_MANAGER , " UcontextFiberManager" ))
9898 ;
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ static class DceLinuxIp6TestSuite : public TestSuite
363363
364364
365365DceLinuxIp6TestSuite::DceLinuxIp6TestSuite ()
366- : TestSuite (" dce-linux-ip6" , UNIT )
366+ : TestSuite (" dce-linux-ip6" , Type:: UNIT )
367367{
368368 typedef struct
369369 {
@@ -393,7 +393,7 @@ DceLinuxIp6TestSuite::DceLinuxIp6TestSuite ()
393393 AddTestCase (new DceLinuxIp6TestCase (std::string (tests[i].name ),
394394 Seconds (tests[i].duration ),
395395 tests[i].skip ),
396- TestCase ::QUICK );
396+ Duration ::QUICK );
397397 }
398398}
399399
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ static class DceCradleTestSuite : public TestSuite
137137
138138
139139DceCradleTestSuite::DceCradleTestSuite ()
140- : TestSuite (" dce-cradle" , UNIT )
140+ : TestSuite (" dce-cradle" , Type:: UNIT )
141141{
142142 typedef struct {
143143 const char *name;
@@ -172,8 +172,8 @@ DceCradleTestSuite::DceCradleTestSuite ()
172172 Seconds (tests[i].duration ),
173173 tests[i].sockf ,
174174 tests[i].isSkip
175- ),
176- TestCase ::QUICK );
175+ ),
176+ Duration ::QUICK );
177177 }
178178}
179179
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ static class DceManagerTestSuite : public TestSuite
166166#define FREEBSD_STACK (1 << 2 )
167167
168168DceManagerTestSuite::DceManagerTestSuite ()
169- : TestSuite (" dce-process-manager" , UNIT )
169+ : TestSuite (" dce-process-manager" , Type:: UNIT )
170170{
171171 typedef struct
172172 {
@@ -257,7 +257,7 @@ DceManagerTestSuite::DceManagerTestSuite ()
257257 (tests[i].stackMask & NS3_STACK ) ?
258258 (isUctxFiber ? tests[i].skipUctx : false ) : true
259259 ),
260- TestCase ::QUICK );
260+ Duration ::QUICK );
261261 }
262262
263263 // linux stack
@@ -275,7 +275,7 @@ DceManagerTestSuite::DceManagerTestSuite ()
275275 (tests[i].stackMask & LINUX_STACK ) ?
276276 (isUctxFiber ? tests[i].skipUctx : false ) : true
277277 ),
278- TestCase ::QUICK );
278+ Duration ::QUICK );
279279 }
280280 }
281281
@@ -293,7 +293,7 @@ DceManagerTestSuite::DceManagerTestSuite ()
293293 (tests[i].stackMask & FREEBSD_STACK ) ?
294294 (isUctxFiber ? tests[i].skipUctx : false ) : true
295295 ),
296- TestCase ::QUICK );
296+ Duration ::QUICK );
297297 }
298298 }
299299}
Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ static class DceMptcpTestSuite : public TestSuite
353353
354354
355355DceMptcpTestSuite::DceMptcpTestSuite ()
356- : TestSuite (" dce-mptcp" , UNIT )
356+ : TestSuite (" dce-mptcp" , Type:: UNIT )
357357{
358358 typedef struct {
359359 const char *name;
@@ -382,7 +382,7 @@ DceMptcpTestSuite::DceMptcpTestSuite ()
382382 tests[i].sockf ,
383383 tests[i].isSkip
384384 ),
385- TestCase ::QUICK );
385+ Duration ::QUICK );
386386 }
387387}
388388
Original file line number Diff line number Diff line change @@ -598,9 +598,9 @@ static class NetlinkSocketTestSuite : public TestSuite
598598} g_netlinkTestSuite;
599599
600600NetlinkSocketTestSuite::NetlinkSocketTestSuite ()
601- : TestSuite (" dce-netlink-socket" , UNIT )
601+ : TestSuite (" dce-netlink-socket" , Type:: UNIT )
602602{
603- AddTestCase (new NetlinkSocketTestCase (), TestCase ::QUICK );
603+ AddTestCase (new NetlinkSocketTestCase (), Duration ::QUICK );
604604}
605605
606606} // namespace ns3
You can’t perform that action at this time.
0 commit comments