/tools/test/connectivity/acts/framework/tests/ |
D | acts_test_decorators_test.py | 24 from acts import signals 43 raise signals.TestPass('') 47 raise signals.TestFailure('') 63 except signals.TestSignal as e: 93 with self.assertRaises(signals.TestError) as context: 101 raise signals.TestPass('Expected Message') 103 with self.assertRaises(signals.TestPass) as context: 111 raise signals.TestFailure('Expected Message') 113 with self.assertRaises(signals.TestFailure) as context: 125 with self.assertRaises(signals.TestError) as context: [all …]
|
D | acts_records_test.py | 22 from acts import signals 84 s = signals.TestPass(self.details, self.float_extra) 95 s = signals.TestPass(self.details, self.json_extra) 116 s = signals.TestFailure(self.details, self.float_extra) 127 s = signals.TestFailure(self.details, self.json_extra) 148 s = signals.TestSkip(self.details, self.float_extra) 159 s = signals.TestSkip(self.details, self.json_extra) 170 s = signals.TestPass(self.details, self.float_extra) 178 s = signals.TestPass(self.details, self.json_extra) 191 s = signals.TestPass(self.details, self.float_extra) [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/ep/ |
D | BtFuchsiaEPTest.py | 21 from acts import signals 115 raise signals.TestFailure("Scanner unable to find advertisement.") 116 raise signals.TestPass("Success") 154 raise signals.TestFailure("Scanner unable to find advertisement.") 159 raise signals.TestFailure("GATT Connection failed with: {}".format( 164 raise signals.TestFailure( 169 raise signals.TestFailure( 181 raise signals.TestFailure( 187 raise signals.TestFailure( 193 raise signals.TestFailure( [all …]
|
/tools/test/connectivity/acts_tests/tests/sample/ |
D | RepeatedTest.py | 21 from acts import signals 28 if not isinstance(test_results[-1], signals.TestPass): 32 valid_results = filter(lambda result: isinstance(result, signals.TestPass), 38 return signals.TestPass('Pass msg! Current: %s' % median_current, 53 signals.TestPass('0Pass msg!', extras={'current': 3.5}), 54 signals.TestFailure('Fail msg!', extras={'current': 100.0}), 55 signals.TestPass('1Pass msg!', extras={'current': 3.2}), 56 signals.TestPass('2Pass msg!', extras={'current': 3.6}) 65 signals.TestPass('Pass msg!', extras={'current': 3.5}), 66 signals.TestFailure('Fail msg!', extras={'current': 100.0}), [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/netstack/ |
D | NetstackIfaceTest.py | 17 from acts import signals 72 raise signals.TestFailure("Failed with {}".format( 75 raise signals.TestFailure("No interfaces found.") 77 raise signals.TestPass("Success") 98 raise signals.TestFailure("Failed with {}".format( 105 raise signals.TestFailure( 111 raise signals.TestFailure( 115 raise signals.TestPass("Success") 146 raise signals.TestFailure( 156 raise signals.TestFailure( [all …]
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveVoiceTest.py | 22 from acts import signals 179 raise signals.TestFailure("Failed", 186 raise signals.TestFailure("Failed", 209 raise signals.TestFailure("Failed", 216 raise signals.TestFailure("Failed", 239 raise signals.TestFailure("Failed", 248 raise signals.TestFailure("Failed", 265 raise signals.TestSkip("7 digit dialing not supported") 295 raise signals.TestSkip("10 digit dialing not supported") 398 raise signals.TestFailure("Failed", [all …]
|
D | TelLiveEmergencyTest.py | 20 from acts import signals 118 raise signals.TestSkip( 143 raise signals.TestSkip( 169 raise signals.TestSkip( 172 raise signals.TestSkip( 363 raise signals.TestSkip( 388 raise signals.TestSkip( 414 raise signals.TestSkip( 417 raise signals.TestSkip( 618 raise signals.TestSkip( [all …]
|
D | TelLiveConnectivityMonitorBaseTest.py | 24 from acts import signals 176 raise signals.TestSkip("VoLTE is not supported, abort test.") 181 raise signals.TestSkip("WFC is not supported, abort test.") 186 raise signals.TestSkip("VoLTE is not supported, abort test.") 191 raise signals.TestSkip("WFC is not supported, abort test.") 197 raise signals.TestSkip( 203 raise signals.TestFailure("Failed to setup WFC in non-APM") 209 raise signals.TestSkip("WFC is not supported, abort test.") 214 raise signals.TestFailure("Failed to setup WFC in APM") 220 raise signals.TestSkip("VoLTE is not supported, abort test.") [all …]
|
/tools/test/connectivity/acts_tests/tests/google/bt/sdp/ |
D | SdpSetupTest.py | 23 from acts import signals 58 raise signals.TestPass("Success") 60 raise signals.TestFailure( 67 raise signals.TestFailure( 71 raise signals.TestPass("Success") 78 raise signals.TestPass("Successfully failed with: {}".format( 81 raise signals.TestFailure( 97 raise signals.TestFailure("Failed to add SDP search: {}".format( 100 raise signals.TestPass("Success") 114 raise signals.TestFailure( [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan_policy/ |
D | SavedNetworksTest.py | 21 from acts import signals 94 raise signals.TestFailure("Failed to get error saving bad network") 141 raise signals.TestFailure( 148 raise signals.TestFailure("Got an unexpected saved network") 153 raise signals.TestFailure("Network is missing security type") 156 raise signals.TestFailure("Network is missing credential type") 172 raise signals.TestFailure("Failed to save network") 271 raise signals.TestFailure("Failed to save network") 285 raise signals.TestFailure("Failed to save network") 293 raise signals.TestFailure("Failed to save network") [all …]
|
D | RegulatoryRecoveryTest.py | 16 from acts import signals 85 raise signals.TestFailure( 89 raise signals.TestFailure( 95 raise signals.TestFailure("error querying AP state: {}".format( 100 raise signals.TestFailure( 129 raise signals.TestFailure( 133 raise signals.TestFailure( 139 raise signals.TestFailure("error querying AP state: {}".format( 144 raise signals.TestFailure( 149 raise signals.TestFailure(
|
D | PolicyScanTest.py | 21 from acts import signals, utils 37 raise signals.TestFailure("No fuchsia devices found.") 42 raise signals.TestFailure("No access points found.") 142 raise signals.TestFailure("Aborting test - scan failed with " 173 raise signals.TestFailure("Aborting test - Connect call failed") 188 raise signals.TestFailure( 199 raise signals.TestFailure("Scan failed or did not "
|
/tools/test/connectivity/acts/framework/tests/libs/test_bindings/ |
D | binding_test.py | 20 from acts import signals 47 except signals.TestSignal: 62 except signals.TestPass: 74 except signals.TestPass: 86 except signals.TestFailure: 92 raise signals.TestPass('DETAILS') 98 except signals.TestPass as signal: 119 except signals.TestSignal: 139 except signals.TestSignal: 158 except signals.TestSignal: [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiStressTest.py | 27 from acts import signals 143 raise signals.TestFailure("100% packet loss during ping") 167 raise signals.TestFailure("Youtube video did not start. Current WiFi " 248 signals.TestFailure(details="", extras={"Iterations":"%d" % 250 raise signals.TestPass(details="", extras={"Iterations":"%d" % 269 signals.TestFailure(details="", extras={"Iterations":"%d" % 272 raise signals.TestPass(details="", extras={"Iterations":"%d" % 302 raise signals.TestFailure("Network connect-disconnect failed." 305 raise signals.TestPass(details="", extras={"Iterations":"%d" % 335 raise signals.TestFailure("Network long-connect failed.", [all …]
|
D | WifiServiceApiTest.py | 22 from acts import signals 63 raise signals.TestFailure( 138 raise signals.TestFailure( 141 raise signals.TestFailure( 144 raise signals.TestFailure( 161 raise signals.TestFailure( 165 raise signals.TestFailure("Failed to delete network.") 167 raise signals.TestFailure( 183 raise signals.TestFailure( 186 raise signals.TestFailure("Failed to delete network.") [all …]
|
D | WifiPasspointTest.py | 28 from acts import signals 135 raise signals.TestFailure( 143 raise signals.TestFailure("Failed to fetch the list of configured" 146 raise signals.TestFailure("Failed to delete Passpoint configuration" 209 raise signals.TestFailure( 229 raise signals.TestFailure("Device did not connect to the %s" 307 raise signals.TestFailure("Failed to fetch some or all of the" 311 raise signals.TestFailure("Failed to delete Passpoint" 325 raise signals.TestFailure("Failed because an unknown FQDN" 369 raise signals.TestFailure("Device did not connect to any of the " [all …]
|
D | WifiMacRandomizationTest.py | 24 import acts.signals as signals namespace 78 raise signals.TestFailure("Needs packet_capture attribute to " 181 raise signals.TestFailure('A new Randomized MAC was not generated ' 246 raise signals.TestFailure('Randomized MAC is not persistent after ' 254 raise signals.TestFailure("Caught Factory MAC in packet sniffer" 263 raise signals.TestFailure("Did not find MAC = %s in packet sniffer." 459 raise signals.TestFailure(msg % (self.wpapsk_5g, mac_list[0], mac_wpapsk)) 463 raise signals.TestFailure(msg %(self.open_5g, mac_list[1], mac_open)) 480 raise signals.TestFailure("Same MAC address was generated for both " 506 raise signals.TestFailure("Same MAC address was used for both " [all …]
|
D | WifiTeleCoexTest.py | 12 from acts import signals 103 raise signals.TestFailure("WiFi did not turn on after toggling it" 119 raise signals.TestFailure("WiFi did not turn on after toggling it" 144 raise signals.TestFailure("WiFi did not turn on after turning ON" 151 raise signals.TestFailure("WiFi did not turn on after toggling it" 161 raise signals.TestFailure("Phone failed to setup for voice" 179 raise signals.TestFailure("Phone failed to connect to %s network on" 414 raise signals.TestFailure("The Wifi calling test is failed." 455 raise signals.TestFailure("The Wifi connect failed after modem restart."
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_decorators.py | 24 from acts import signals 97 except (signals.TestFailure, signals.TestError, 101 except signals.TestPass as signal: 104 except (signals.TestSignal, KeyboardInterrupt): 111 test_signals_received.append(signals.TestPass( 192 new_signal = signals.TestPass('') 194 new_signal = signals.TestFailure('') 195 except signals.TestSignal as signal: 199 new_signal = signals.TestError(cause) 274 except signals.TestSignal as new_signal:
|
D | base_test.py | 30 from acts import signals 198 self.retryable_exceptions = signals.TestFailure 362 raise signals.TestError('Consecutive test failure') 497 except signals.TestAbortAll: 541 except signals.TestAbortAll: 546 except (signals.TestFailure, AssertionError) as e: 552 except signals.TestSkip as e: 556 except (signals.TestAbortClass, signals.TestAbortAll) as e: 561 except signals.TestPass as e: 629 raise signals.TestFailure('\n'.join(error_msgs), extras) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/gnss/ |
D | gnss_test_utils.py | 29 from acts import signals 329 raise signals.TestError("Failed to turn Location on") 455 raise signals.TestError("Failed to trigger modem SSR crash") 456 raise signals.TestError("No SSRObserver found in logcat") 469 raise signals.TestError("MDS Tool is not properly installed.") 482 raise signals.TestError( 558 raise signals.TestError("No cfg file is found in %s" % host_dest) 575 raise signals.TestError("No apk is found in %s" % apk_path) 755 raise signals.TestFailure("Fail to get %s location fixed " 761 raise signals.TestFailure("Fail to get %s location fixed within %d " [all …]
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/logging/ |
D | FuchsiaLoggingTest.py | 17 from acts import signals 31 signals.TestPass(result.get("result")) 33 signals.TestFailure(result.get("error")) 38 signals.TestPass(result.get("result")) 40 signals.TestFailure(result.get("error")) 45 signals.TestPass(result.get("result")) 47 signals.TestFailure(result.get("error"))
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/hwinfo/ |
D | HwinfoTest.py | 17 from acts import signals 47 signals.TestPass(result.get("result")) 49 signals.TestFailure(result.get("error")) 71 signals.TestPass(result.get("result")) 73 signals.TestFailure(result.get("error")) 95 signals.TestPass(result.get("result")) 97 signals.TestFailure(result.get("error"))
|
/tools/test/connectivity/acts_tests/tests/google/usb/ |
D | UsbTetheringThroughputTest.py | 22 from acts import signals 89 raise signals.TestFailure('Unable to enable USB tethering.') 104 raise signals.TestFailure( 122 raise signals.TestFailure( 215 raise signals.TestFailure('Iperf {}_tx test is {} {}bits/sec, ' 219 raise signals.TestFailure('Iperf {}_rx test is {} {}bits/sec, ' 245 raise signals.TestPass( 247 raise signals.TestFailure( 263 raise signals.TestSkip(
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/hardware_power_statecontrol/ |
D | HardwarePowerStatecontrolTest.py | 17 from acts import signals 62 signals.TestFailure("Failed with err: {}".format(err)) 63 signals.TestPass("Pass") 85 signals.TestFailure("Failed with err: {}".format(err)) 88 signals.TestPass("Pass")
|