Rename runPythonTestCase
To runBp2BuildTestCaseSimple because it's not Python-specific but rather Bp2Build-specific Name is suboptimal but given current functionality and use we couldn't come up with a better one. Test: Existing tests pass Change-Id: I641cd051af741836b21ec6a7d6639516fb13028f
This commit is contained in:
parent
1c92aeff4e
commit
ce0a07e249
@@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
func TestPythonBinaryHostSimple(t *testing.T) {
|
||||
runPythonTestCase(t, bp2buildTestCase{
|
||||
runBp2BuildTestCaseSimple(t, bp2buildTestCase{
|
||||
description: "simple python_binary_host converts to a native py_binary",
|
||||
moduleTypeUnderTest: "python_binary_host",
|
||||
moduleTypeUnderTestFactory: python.PythonBinaryHostFactory,
|
||||
@@ -43,7 +43,7 @@ func TestPythonBinaryHostSimple(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPythonBinaryHostPy2(t *testing.T) {
|
||||
runPythonTestCase(t, bp2buildTestCase{
|
||||
runBp2BuildTestCaseSimple(t, bp2buildTestCase{
|
||||
description: "py2 python_binary_host",
|
||||
moduleTypeUnderTest: "python_binary_host",
|
||||
moduleTypeUnderTestFactory: python.PythonBinaryHostFactory,
|
||||
@@ -73,7 +73,7 @@ func TestPythonBinaryHostPy2(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPythonBinaryHostPy3(t *testing.T) {
|
||||
runPythonTestCase(t, bp2buildTestCase{
|
||||
runBp2BuildTestCaseSimple(t, bp2buildTestCase{
|
||||
description: "py3 python_binary_host",
|
||||
moduleTypeUnderTest: "python_binary_host",
|
||||
moduleTypeUnderTestFactory: python.PythonBinaryHostFactory,
|
||||
|
Reference in New Issue
Block a user