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
This commit is contained in:
Johnny Chen 2010-09-27 23:46:46 +00:00
parent d22553cf21
commit 58aa345df6
3 changed files with 5 additions and 5 deletions

View File

@ -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).

View File

@ -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"

View File

@ -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"