1.1 --- a/src/test/ns3tcp/ns3tcp-cwnd-test-suite.cc Sat Nov 14 21:55:18 2009 +0100
1.2 +++ b/src/test/ns3tcp/ns3tcp-cwnd-test-suite.cc Sat Nov 14 21:02:53 2009 -0800
1.3 @@ -303,8 +303,8 @@
1.4 Ptr<SimpleSource> app = CreateObject<SimpleSource> ();
1.5 app->Setup (ns3TcpSocket, sinkAddress, 1040, 10, DataRate ("5Mbps"));
1.6 nodes.Get (0)->AddApplication (app);
1.7 - app->Start (Seconds (1.));
1.8 - app->Stop (Seconds (1.1));
1.9 + app->SetStartTime (Seconds (1.));
1.10 + app->SetStopTime (Seconds (1.1));
1.11
1.12 //
1.13 // The idea here is that someone will look very closely at the all of the
1.14 @@ -484,8 +484,8 @@
1.15 Ptr<SimpleSource> app = CreateObject<SimpleSource> ();
1.16 app->Setup (ns3TcpSocket, sinkAddress, 1040, 1000, DataRate ("1Mbps"));
1.17 n0n1.Get (0)->AddApplication (app);
1.18 - app->Start (Seconds (1.0));
1.19 - app->Stop (Seconds (5.4));
1.20 + app->SetStartTime (Seconds (1.0));
1.21 + app->SetStopTime (Seconds (5.4));
1.22
1.23 if (m_writeResults)
1.24 {