summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-09-27 23:46:46 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-09-27 23:46:46 +0000
commit58aa345df6f2244df45be6ffc681bdd16394c7ad (patch)
tree4ef534f1b5c6d4f54dde341117c7a29b688646ae
parentd22553cf2122a5e2de6980cf01a98a926851b77e (diff)
downloadbcm5719-llvm-58aa345df6f2244df45be6ffc681bdd16394c7ad.tar.gz
bcm5719-llvm-58aa345df6f2244df45be6ffc681bdd16394c7ad.zip
Use a better name for the abstract base class which contains the generic_type_tester()
method. Renamed it to be AbstractBase.py, which contains the GenericTester class that both IntegerTypesTestCase and FloatTypesTestCase inherit from. llvm-svn: 114926
-rw-r--r--lldb/test/types/AbstractBase.py (renamed from lldb/test/types/TestBasicTypes.py)2
-rw-r--r--lldb/test/types/TestFloatTypes.py4
-rw-r--r--lldb/test/types/TestIntegerTypes.py4
3 files changed, 5 insertions, 5 deletions
diff --git a/lldb/test/types/TestBasicTypes.py b/lldb/test/types/AbstractBase.py
index bb3b153fda5..f80e0b2e7b3 100644
--- a/lldb/test/types/TestBasicTypes.py
+++ b/lldb/test/types/AbstractBase.py
@@ -10,7 +10,7 @@ from lldbtest import *
def Msg(var, val):
return "'frame variable %s' matches the compiler's output: %s" % (var, val)
-class AbstractBase(TestBase):
+class GenericTester(TestBase):
# This is the pattern by design to match the " var = 'value'" output from
# printf() stmts (see basic_type.cpp).
diff --git a/lldb/test/types/TestFloatTypes.py b/lldb/test/types/TestFloatTypes.py
index 270fe7d0265..025c8bc8d12 100644
--- a/lldb/test/types/TestFloatTypes.py
+++ b/lldb/test/types/TestFloatTypes.py
@@ -2,11 +2,11 @@
Test that variables of floating point types are displayed correctly.
"""
-import TestBasicTypes
+import AbstractBase
import unittest2
import lldb
-class FloatTypesTestCase(TestBasicTypes.AbstractBase):
+class FloatTypesTestCase(AbstractBase.GenericTester):
mydir = "types"
diff --git a/lldb/test/types/TestIntegerTypes.py b/lldb/test/types/TestIntegerTypes.py
index 7192777ad71..a7ac3fcb18f 100644
--- a/lldb/test/types/TestIntegerTypes.py
+++ b/lldb/test/types/TestIntegerTypes.py
@@ -2,11 +2,11 @@
Test that variables of integer basic types are displayed correctly.
"""
-import TestBasicTypes
+import AbstractBase
import unittest2
import lldb
-class IntegerTypesTestCase(TestBasicTypes.AbstractBase):
+class IntegerTypesTestCase(AbstractBase.GenericTester):
mydir = "types"
OpenPOWER on IntegriCloud