rename BroadcastStrategy to MulticastStrategy
refs #3011
Change-Id: I53c0f4ad4b11c4438765cb697bdabf678d83b8e3
diff --git a/test_multicast_strategy/test_multicast_strategy.py b/test_multicast_strategy/test_multicast_strategy.py
new file mode 100644
index 0000000..eb0bb0c
--- /dev/null
+++ b/test_multicast_strategy/test_multicast_strategy.py
@@ -0,0 +1,29 @@
+#!/usr/bin/python2
+# -*- Mode:python; c-file-style:"gnu"; indent-tabs-mode:nil -*- */
+
+import os
+import unittest
+import subprocess
+
+class test_multicast_strategy(unittest.TestCase):
+ """Test suite for MulticastStrategy"""
+
+ def setUp(self):
+ print "\nTesting MulticastStrategy scenario"
+ print "**************************"
+ os.chdir("test_multicast_strategy")
+
+ def tearDown(self):
+ print "**************************"
+ os.chdir("..")
+
+ def test_strategy(self):
+ ret = subprocess.call(["./test.sh"], shell=True)
+ print "Test script return value:", ret
+ errormsg = {
+ 1 : "B did not receive at least 80 Interests.",
+ 2 : "C did not receive at least 80 Interests.",
+ 3 : "Incoming Data packets in D exceeded 120.",
+ }
+ if ret != 0:
+ self.fail(errormsg[ret])