mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 17:28:30 +08:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user