Add support for webkitpy tests EWS
[WebKit-https.git] / Tools / Scripts / webkitpy / common / net / generictestresults_unittest.py
 
 import unittest
 
-from webkitpy.common.net.bindingstestresults import BindingsTestResults
+from webkitpy.common.net.generictestresults import GenericTestResults
 
 
-class BindingsTestResultsTest(unittest.TestCase):
+class GenericTestResultsTest(unittest.TestCase):
     def test_results_from_string(self):
         incomplete_json = '{"key2": []}'
-        self.assertEqual(None, BindingsTestResults.results_from_string(incomplete_json))
+        self.assertEqual(None, GenericTestResults.results_from_string(incomplete_json))
 
     def test_results_from_string_success(self):
         no_failures_string = '{"failures": []}'
-        no_failures_results = BindingsTestResults([])
-        self.assertTrue(no_failures_results.equals(BindingsTestResults.results_from_string(no_failures_string)))
+        no_failures_results = GenericTestResults([])
+        self.assertTrue(no_failures_results.equals(GenericTestResults.results_from_string(no_failures_string)))
         self.assertTrue(no_failures_results.all_passed())
 
         test_string = '{"failures": ["failure1"]}'
-        test_results = BindingsTestResults(["failure1"])
-        self.assertTrue(test_results.equals(BindingsTestResults.results_from_string(test_string)))
+        test_results = GenericTestResults(["failure1"])
+        self.assertTrue(test_results.equals(GenericTestResults.results_from_string(test_string)))