forked from OSchip/llvm-project
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:
parent
d22553cf21
commit
58aa345df6
|
@ -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).
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue