Home
last modified time | relevance | path

Searched refs:expected_status (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_monitor_test.py72 self.expected_status = {
103 self.assertEquals(self.expected_status, status['devices'])
118 expected_status_no_battery = self.expected_status.copy()
134 expected_status_no_ps = self.expected_status.copy()
148 expected_status_no_temp = self.expected_status.copy()
166 expected_status = self.expected_status.copy()
167 expected_status['bad_device'] = {'state': 'offline'}
170 self.assertEquals(expected_status, status['devices'])
179 expected_status_no_temp = self.expected_status.copy()
183 self.assertEquals(self.expected_status, status['devices'])
/external/webrtc/modules/audio_mixer/
Daudio_mixer_impl_unittest.cc121 const std::vector<bool>& expected_status) { in MixAndCompare() argument
124 RTC_DCHECK(frame_info.size() == expected_status.size()); in MixAndCompare()
143 EXPECT_EQ(expected_status[i], in MixAndCompare()
412 std::vector<bool> expected_status(kAudioSources, true); in TEST() local
413 expected_status[0] = false; in TEST()
415 MixAndCompare(frames, frame_info, expected_status); in TEST()
430 std::vector<bool> expected_status(kAudioSources, true); in TEST() local
431 expected_status[0] = false; in TEST()
433 MixAndCompare(frames, frame_info, expected_status); in TEST()
451 std::vector<bool> expected_status(kAudioSources, true); in TEST() local
[all …]
/external/libwebm/webm_parser/tests/
Dlimited_reader_test.cc206 Status expected_status = Status(-123); in TEST_F() local
214 reader.set_return_status_when_blocked(expected_status); in TEST_F()
216 EXPECT_EQ(expected_status.code, status.code); in TEST_F()
222 EXPECT_EQ(expected_status.code, status.code); in TEST_F()
228 EXPECT_EQ(expected_status.code, status.code); in TEST_F()
234 EXPECT_EQ(expected_status.code, status.code); in TEST_F()
240 EXPECT_EQ(expected_status.code, status.code); in TEST_F()
243 EXPECT_EQ(expected_status.code, status.code); in TEST_F()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dpad_test.cc96 TfLiteStatus expected_status = kTfLiteOk) { in TestPadFloat() argument
111 TF_LITE_MICRO_EXPECT_EQ(expected_status, in TestPadFloat()
121 TfLiteStatus expected_status = kTfLiteOk) { in TestPadV2Float() argument
139 TF_LITE_MICRO_EXPECT_EQ(expected_status, in TestPadV2Float()
151 TfLiteStatus expected_status = kTfLiteOk) { in TestPadQuantized() argument
172 expected_status, in TestPadQuantized()
187 TfLiteStatus expected_status = kTfLiteOk) { in TestPadV2Quantized() argument
215 expected_status, in TestPadV2Quantized()
/external/autotest/client/cros/video/
Dyoutube_helper.py63 def wait_for_player_state(self, expected_status): argument
74 lambda: self.get_player_status() == expected_status,
78 % (expected_status, self.get_player_status())),
/external/grpc-grpc/test/cpp/end2end/
Dhealth_service_end2end_test.cc172 const Status& expected_status) { in SendHealthCheckRpc() argument
173 EXPECT_FALSE(expected_status.ok()); in SendHealthCheckRpc()
174 SendHealthCheckRpc(service_name, expected_status, in SendHealthCheckRpc()
179 const grpc::string& service_name, const Status& expected_status, in SendHealthCheckRpc() argument
186 EXPECT_EQ(expected_status.error_code(), s.error_code()); in SendHealthCheckRpc()
Dend2end_test.cc1211 std::vector<ErrorStatus> expected_status; in TEST_P() local
1212 expected_status.emplace_back(); in TEST_P()
1213 expected_status.back().set_code(13); // INTERNAL in TEST_P()
1216 expected_status.emplace_back(); in TEST_P()
1217 expected_status.back().set_code(13); // INTERNAL in TEST_P()
1218 expected_status.back().set_error_message("text error message"); in TEST_P()
1219 expected_status.back().set_binary_error_details("text error details"); in TEST_P()
1221 expected_status.emplace_back(); in TEST_P()
1222 expected_status.back().set_code(13); // INTERNAL in TEST_P()
1223 expected_status.back().set_error_message("text error message"); in TEST_P()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dpartial_run_mgr_test.cc83 Status expected_status; member
119 EXPECT_EQ(status(), param.expected_status); in TEST_P()
135 EXPECT_EQ(status(), param.expected_status); in TEST_P()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferPrecision.cpp208 const glw::GLint expected_status) in verifyShaderCompilationStatus() argument
234 if (compilation_status != expected_status) in verifyShaderCompilationStatus()
250 << expected_status << "\n\n Compilation info log: \n" in verifyShaderCompilationStatus()
DesextcTextureBufferPrecision.hpp124 const glw::GLuint parts_count, const glw::GLint expected_status);
/external/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat01.c70 static int expected_status(int status, int exp_status) in expected_status() function
121 if (expected_status(status, tc->exp_status)) in verify_shmat()
/external/grpc-grpc/test/core/end2end/
Dbad_server_response_test.cc153 static void start_rpc(int target_port, grpc_status_code expected_status, in start_rpc() argument
208 GPR_ASSERT(status == expected_status); in start_rpc()
272 grpc_status_code expected_status, in run_test() argument
289 start_rpc(server_port, expected_status, expected_detail); in run_test()
/external/libxkbcommon/test/
Dcompose.c80 enum xkb_compose_status status, expected_status; in test_compose_seq_va() local
89 expected_status = va_arg(ap, enum xkb_compose_status); in test_compose_seq_va()
105 if (status != expected_status) { in test_compose_seq_va()
108 compose_status_string(expected_status)); in test_compose_seq_va()
/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c59 u_int expected_status, expected_match; in check() local
80 expected_status = (parse_key || expected->no_parse_status < 0) ? in check()
86 if (expected_status == HKF_STATUS_OK) \ in check()
87 expected_status = HKF_STATUS_MATCHED; \ in check()
108 expected_status = HKF_STATUS_INVALID; in check()
119 ASSERT_U_INT_EQ(l->status, expected_status); in check()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbinding_unittest.cc348 auto handler_helper = [] (int* status, int expected_status, int new_status) { in TEST_P() argument
349 EXPECT_EQ(expected_status, *status); in TEST_P()
352 auto create_handler = [&] (int expected_status, int new_status) { in TEST_P() argument
353 return base::Bind(handler_helper, &status, expected_status, new_status); in TEST_P()
/external/deqp/external/openglcts/modules/gles31/
Des31cFramebufferNoAttachmentsTests.cpp67 void expect_fbo_status(GLenum target, GLenum expected_status, const char* fail_message);
111 void FramebufferNoAttachmentsBaseCase::expect_fbo_status(GLenum target, GLenum expected_status, in expect_fbo_status() argument
126 TCU_CHECK_MSG(gl.checkFramebufferStatus(target) == expected_status, fail_message); in expect_fbo_status()
/external/icu/icu4c/source/test/intltest/
Drestest.cpp393 UErrorCode expected_status; in testTag() local
474expected_status = (index >= 0 && index < count) ? expected_resource_status : U_MISSING_RESOURCE_ER… in testTag()
475 CONFIRM_UErrorCode(status, expected_status, action); in testTag()
Drestsnew.cpp745 UErrorCode expected_status; in testTag() local
843expected_status = (index >= 0 && index < count) ? expected_resource_status : U_MISSING_RESOURCE_ER… in testTag()
844 CONFIRM_UErrorCode(status,expected_status); in testTag()
932 expected_status = (row >= 0 && row < row_count && col >= 0 && col < column_count) ? in testTag()
934 CONFIRM_UErrorCode(status,expected_status); in testTag()
/external/grpc-grpc/src/ruby/spec/generic/
Dclient_stub_spec.rb67 expected_status = Struct::Status.new
68 expected_status.code = 0
69 expected_status.details = 'OK'
70 expected_status.metadata = expected_trailing_metadata
72 expect(op_view.status).to eq(expected_status)
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_audio_tests.py1016 expected_status = 'playing'
1022 self.bluetooth_facade.set_player_playback_status(expected_status)
1035 result_status = bool(expected_status ==
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c1651 UErrorCode expected_status,status = U_ZERO_ERROR,expected_resource_status = U_ZERO_ERROR; in testTag() local
1856expected_status = (idx >= 0 && idx < count) ? expected_resource_status : U_MISSING_RESOURCE_ERROR; in testTag()
1857 CONFIRM_ErrorCode(status,expected_status); in testTag()
1942 expected_status = (row >= 0 && row < row_count && col >= 0 && col < column_count) ? in testTag()
1944 CONFIRM_ErrorCode(status,expected_status); in testTag()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc129 void WaitForProcessToTerminate(pid_t process_id, int expected_status) { in WaitForProcessToTerminate() argument
133 ASSERT_EQ(expected_status, WTERMSIG(status)); in WaitForProcessToTerminate()
/external/grpc-grpc/test/core/security/
Djwt_verifier_test.cc169 grpc_jwt_verifier_status expected_status; member
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Djwt_verifier_test.cc171 grpc_jwt_verifier_status expected_status; member
/external/python/cpython2/Lib/test/
Dtest_optparse.py154 expected_status=0, argument
178 self.assertEqual(err.exit_status, expected_status)

12