From 376757b0ba5400f0201cf56d37639a28384f136c Mon Sep 17 00:00:00 2001 From: Dan Shi Date: Mon, 5 Oct 2020 11:16:35 -0700 Subject: Remove vtf related configs Bug: 170120989 Test: build Change-Id: Icabf5247cd1e25db6f7800cfdb0a2a5b0b829e75 --- .../host_controller/campaigns/campaign_test.py | 75 ---------------------- 1 file changed, 75 deletions(-) delete mode 100644 harnesses/host_controller/campaigns/campaign_test.py (limited to 'harnesses/host_controller/campaigns/campaign_test.py') diff --git a/harnesses/host_controller/campaigns/campaign_test.py b/harnesses/host_controller/campaigns/campaign_test.py deleted file mode 100644 index ddb0c54..0000000 --- a/harnesses/host_controller/campaigns/campaign_test.py +++ /dev/null @@ -1,75 +0,0 @@ -# -# Copyright (C) 2018 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -import unittest - -from host_controller.campaigns import cts -from host_controller.campaigns import gts -from host_controller.campaigns import sts -from host_controller.campaigns import vts - -from host_controller.campaigns.testdata import default_testcase - - -class CampaignTest(unittest.TestCase): - """Unit tests for the campaign generators.""" - - def setUp(self): - self.maxDiff = None - - def testVtsBaseline(self): - """Tests the default device's vts scenario.""" - test_name = "vts/vts" - results = vts.EmitConsoleCommands( - **default_testcase.GenerateInputData(test_name)) - self.assertEqual( - default_testcase.GenerateOutputData(test_name), results) - - def testCtsOnGsiBaseline(self): - """Tests the default device's vts scenario.""" - test_name = "vts/cts-on-gsi" - results = vts.EmitConsoleCommands( - **default_testcase.GenerateInputData(test_name)) - self.assertEqual( - default_testcase.GenerateOutputData(test_name), results) - - def testCtsBaseline(self): - """Tests the default device's vts scenario.""" - test_name = "cts/cts" - results = cts.EmitConsoleCommands( - **default_testcase.GenerateInputData(test_name)) - self.assertEqual( - default_testcase.GenerateOutputData(test_name), results) - - def testGtsBaseline(self): - """Tests the default device's vts scenario.""" - test_name = "gts/gts" - results = gts.EmitConsoleCommands( - **default_testcase.GenerateInputData(test_name)) - self.assertEqual( - default_testcase.GenerateOutputData(test_name), results) - - def testStsBaseline(self): - """Tests the default device's vts scenario.""" - test_name = "sts/sts" - results = sts.EmitConsoleCommands( - **default_testcase.GenerateInputData(test_name)) - self.assertEqual( - default_testcase.GenerateOutputData(test_name), results) - - -if __name__ == '__main__': - unittest.main() -- cgit v1.2.3