--- a/src/devices/switch/switch-test-suite.cc Thu Feb 10 00:55:27 2011 -0500
+++ b/src/devices/switch/switch-test-suite.cc Sat Feb 12 23:00:38 2011 -0500
@@ -27,12 +27,12 @@
}
private:
- virtual bool DoRun (void);
+ virtual void DoRun (void);
sw_chain* m_chain;
};
-bool
+void
SwitchFlowTableTestCase::DoRun (void)
{
// Flow Table implementation is used by the SwitchNetDevice under the chain_ methods
@@ -154,9 +154,6 @@
// This is how we verify that our action was truly added via the flow modification.
NS_TEST_ASSERT_MSG_EQ (chain_delete (m_chain, &key, output_port, 0, 0), 1, "Flow table failed to delete Flow.");
NS_TEST_ASSERT_MSG_EQ (chain_lookup (m_chain, &key), 0, "Key provided shouldn't match the flow but it does.");
-
- // Return false if an error has _not_ occurred
- return false;
}
class SwitchTestSuite : public TestSuite