From: Razvan Deaconescu Date: Thu, 1 Sep 2011 12:59:05 +0000 (+0300) Subject: ppf/new: Add skeleton test methods for TriblerLogParser. X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=0ad3d42f64d7922b9d7f91748586e54ecec472c1;p=cs-p2p-next.git ppf/new: Add skeleton test methods for TriblerLogParser. --- diff --git a/ppf/new/tests/test_parsing.py b/ppf/new/tests/test_parsing.py index b1ad43e..c7398ec 100644 --- a/ppf/new/tests/test_parsing.py +++ b/ppf/new/tests/test_parsing.py @@ -555,6 +555,25 @@ class TriblerLogParserTest(unittest.TestCase): def tearDown(self): pass + def test_no_log_file(self): + self.assertEqual(True, False) + + def test_empty_log_file(self): + self.assertEqual(True, False) + + def test_bogus_log_file(self): + self.assertEqual(True, False) + + def test_get_status_message(self): + self.assertEqual(True, False) + + def test_get_status_messages(self): + self.assertEqual(True, False) + + def test_get_mixed_messages_same_file(self): + self.assertEqual(True, False) + + if __name__ == "__main__": # suite = unittest.TestSuite() # suite.addTest(LibtorrentLogParserTest('test_get_status_message'))