autotest: remove obsoleted network_ChromeWifiTDLS test.
Per https://crbug.com/993129#c10, we've decided to remove the test.
BUG=chromium:993129, 938698
TEST=none
Cq-Depend: chromium:2172226
Change-Id: I15dd2e6d71582830d0b05e14540ee751b8aed0bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2172227
Tested-by: Shuo-Peng Liao <deanliao@chromium.org>
Commit-Queue: Shuo-Peng Liao <deanliao@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
diff --git a/client/site_tests/network_ChromeWifiTDLS/control b/client/site_tests/network_ChromeWifiTDLS/control
deleted file mode 100644
index 51d7dd5..0000000
--- a/client/site_tests/network_ChromeWifiTDLS/control
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-AUTHOR = "ChromeOS Team"
-NAME = "network_ChromeWifiTDLS"
-PURPOSE = "Verify that chrome.networkingPrivate recognizes TDLS enable call."
-CRITERIA = """
- This test will fail if the Shill fails to respond to a TDLS configure call.
-"""
-ATTRIBUTES = "suite:network_ui"
-TIME = "FAST"
-TEST_CATEGORY = "Functional"
-TEST_CLASS = "network"
-TEST_TYPE = "client"
-DOC = """
- Tests that Shill responds to a Device.PerformTDLSOperation call via the
- networikingPrivate API. It does not assume that configuration will actually
- succeed (since that will depend on the environment), just that the call itself
- succeeds and the callback is invoked.
-"""
-
-job.run_test('network_ChromeWifiTDLS')
diff --git a/client/site_tests/network_ChromeWifiTDLS/network_ChromeWifiTDLS.py b/client/site_tests/network_ChromeWifiTDLS/network_ChromeWifiTDLS.py
deleted file mode 100644
index c086491..0000000
--- a/client/site_tests/network_ChromeWifiTDLS/network_ChromeWifiTDLS.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import logging
-
-from autotest_lib.client.bin import test
-from autotest_lib.client.common_lib import error
-from autotest_lib.client.cros.networking.chrome_testing \
- import chrome_networking_test_context as cntc
-from autotest_lib.client.cros.networking.chrome_testing import test_utils
-
-class network_ChromeWifiTDLS(test.test):
- """
- Tests that Shill responds to a Device.PerformTDLSOperation call via the
- networikingPrivate API. It does not assume that configuration will actually
- succeed (since that will depend on the environment), just that the call
- itself succeeds and the callback is invoked.
- """
- version = 1
-
- def _enable_tdls(self, ip_address):
- logging.info('enable_tdls')
- enable = 'true'
- result = test_utils.call_test_function_check_success(
- self._chrome_testing,
- 'setWifiTDLSEnabledState',
- ('"' + ip_address + '"', enable))
- logging.info('tdls result: ' + result)
-
- # Look for a valid result.
- if (result != 'Connected' and result != 'Disabled' and
- result != 'Disconnected' and result != 'Nonexistant' and
- result != 'Unknown'):
- raise error.TestFail(
- 'Unexpected result for setWifiTDLSEnabledState: ' + result)
-
-
- def _run_once_internal(self):
- logging.info('run_once_internal')
- self._enable_tdls('aa:bb:cc:dd:ee:ff')
-
-
- def run_once(self):
- with cntc.ChromeNetworkingTestContext() as testing_context:
- self._chrome_testing = testing_context
- self._run_once_internal()