| Index: build/android/pylib/gtest/gtest_test_instance_test.py
|
| diff --git a/build/android/pylib/gtest/test_package_test.py b/build/android/pylib/gtest/gtest_test_instance_test.py
|
| similarity index 80%
|
| rename from build/android/pylib/gtest/test_package_test.py
|
| rename to build/android/pylib/gtest/gtest_test_instance_test.py
|
| index c4d552ed23433a0859b0ac9af7bc6f1a51cf71c8..c52b2354c4183663890327e471e6306c1db2997f 100755
|
| --- a/build/android/pylib/gtest/test_package_test.py
|
| +++ b/build/android/pylib/gtest/gtest_test_instance_test.py
|
| @@ -5,12 +5,10 @@
|
|
|
| import unittest
|
|
|
| -from pylib.gtest import test_package
|
| +from pylib.gtest import gtest_test_instance
|
|
|
| -# pylint: disable=W0212
|
|
|
| -
|
| -class TestPackageTest(unittest.TestCase):
|
| +class GtestTestInstanceTests(unittest.TestCase):
|
|
|
| def testParseGTestListTests_simple(self):
|
| raw_output = [
|
| @@ -21,7 +19,7 @@ class TestPackageTest(unittest.TestCase):
|
| ' testThree',
|
| ' testFour',
|
| ]
|
| - actual = test_package.TestPackage._ParseGTestListTests(raw_output)
|
| + actual = gtest_test_instance.ParseGTestListTests(raw_output)
|
| expected = [
|
| 'TestCaseOne.testOne',
|
| 'TestCaseOne.testTwo',
|
| @@ -36,7 +34,7 @@ class TestPackageTest(unittest.TestCase):
|
| ' testOne',
|
| ' testTwo',
|
| ]
|
| - actual = test_package.TestPackage._ParseGTestListTests(raw_output)
|
| + actual = gtest_test_instance.ParseGTestListTests(raw_output)
|
| expected = [
|
| 'TPTestCase/WithTypeParam/0.testOne',
|
| 'TPTestCase/WithTypeParam/0.testTwo',
|
| @@ -49,7 +47,7 @@ class TestPackageTest(unittest.TestCase):
|
| ' testOne',
|
| ' testTwo',
|
| ]
|
| - actual = test_package.TestPackage._ParseGTestListTests(raw_output)
|
| + actual = gtest_test_instance.ParseGTestListTests(raw_output)
|
| expected = [
|
| 'TPTestCase/WithTypeParam/0.testOne',
|
| 'TPTestCase/WithTypeParam/0.testTwo',
|
| @@ -62,7 +60,7 @@ class TestPackageTest(unittest.TestCase):
|
| ' testWithValueParam/0',
|
| ' testWithValueParam/1',
|
| ]
|
| - actual = test_package.TestPackage._ParseGTestListTests(raw_output)
|
| + actual = gtest_test_instance.ParseGTestListTests(raw_output)
|
| expected = [
|
| 'VPTestCase.testWithValueParam/0',
|
| 'VPTestCase.testWithValueParam/1',
|
| @@ -75,7 +73,7 @@ class TestPackageTest(unittest.TestCase):
|
| ' testWithValueParam/0 # GetParam() = 0',
|
| ' testWithValueParam/1 # GetParam() = 1',
|
| ]
|
| - actual = test_package.TestPackage._ParseGTestListTests(raw_output)
|
| + actual = gtest_test_instance.ParseGTestListTests(raw_output)
|
| expected = [
|
| 'VPTestCase.testWithValueParam/0',
|
| 'VPTestCase.testWithValueParam/1',
|
|
|