Home
last modified time | relevance | path

Searched refs:expected_error (Results 1 – 25 of 78) sorted by relevance

1234

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Dbatch_features_test.cc43 auto expected_error = in TEST_F() local
45 EXPECT_EQ(expected_error, in TEST_F()
52 auto expected_error = in TEST_F() local
54 EXPECT_EQ(expected_error, in TEST_F()
61 auto expected_error = InvalidArgument( in TEST_F() local
63 EXPECT_EQ(expected_error, in TEST_F()
72 auto expected_error = in TEST_F() local
74 EXPECT_EQ(expected_error, batch_features.Initialize( in TEST_F()
85 auto expected_error = in TEST_F() local
87 EXPECT_EQ(expected_error, batch_features.Initialize( in TEST_F()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplerParameterIError.cpp170 glw::GLenum expected_error) in VerifyGLGetSamplerParameterIiv() argument
179 if (expected_error != error_code) in VerifyGLGetSamplerParameterIiv()
186 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLGetSamplerParameterIiv()
203 glw::GLenum expected_error) in VerifyGLGetSamplerParameterIuiv() argument
212 if (expected_error != error_code) in VerifyGLGetSamplerParameterIuiv()
219 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLGetSamplerParameterIuiv()
231 glw::GLenum expected_error) in VerifyGLGetCallsForAllPNames() argument
236 VerifyGLGetSamplerParameterIiv(sampler_id, m_pnames_list[i].pname, expected_error); in VerifyGLGetCallsForAllPNames()
239 VerifyGLGetSamplerParameterIuiv(sampler_id, m_pnames_list[i].pname, expected_error); in VerifyGLGetCallsForAllPNames()
256 glw::GLenum expected_error) in VerifyGLSamplerParameterIiv() argument
[all …]
DesextcTextureBorderClampParameterBorderColorError.cpp182 glw::GLenum expected_error) in VerifyGLTexParameterf() argument
190 if (expected_error != error_code) in VerifyGLTexParameterf()
196 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLTexParameterf()
213 glw::GLenum expected_error) in VerifyGLTexParameteri() argument
221 if (expected_error != error_code) in VerifyGLTexParameteri()
228 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLTexParameteri()
243 glw::GLenum expected_error) in VerifyGLSamplerParameterf() argument
251 if (expected_error != error_code) in VerifyGLSamplerParameterf()
258 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLSamplerParameterf()
273 glw::GLenum expected_error) in VerifyGLSamplerParameteri() argument
[all …]
DesextcTextureBorderClampSamplerParameterIWithWrongPname.cpp169 glw::GLenum expected_error) in VerifyGLGetSamplerParameterIiv() argument
178 if (expected_error != error_code) in VerifyGLGetSamplerParameterIiv()
185 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLGetSamplerParameterIiv()
202 glw::GLenum expected_error) in VerifyGLGetSamplerParameterIuiv() argument
211 if (expected_error != error_code) in VerifyGLGetSamplerParameterIuiv()
218 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLGetSamplerParameterIuiv()
235 glw::GLenum expected_error) in VerifyGLSamplerParameterIiv() argument
244 if (expected_error != error_code) in VerifyGLSamplerParameterIiv()
251 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLSamplerParameterIiv()
268 glw::GLenum expected_error) in VerifyGLSamplerParameterIuiv() argument
[all …]
DesextcTextureBorderClampGetTexParameterIErrors.cpp136 …orderClampGetTexParameterIErrorsTest::CheckAllNames(glw::GLenum target, glw::GLenum expected_error) in CheckAllNames() argument
141 VerifyGLGetTexParameterIiv(target, m_pname_list[i] /* pname*/, expected_error); in CheckAllNames()
143 VerifyGLGetTexParameterIuiv(target, m_pname_list[i] /* pname*/, expected_error); in CheckAllNames()
155 glw::GLenum expected_error) in VerifyGLGetTexParameterIiv() argument
164 if (expected_error != error_code) in VerifyGLGetTexParameterIiv()
171 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLGetTexParameterIiv()
184 glw::GLenum expected_error) in VerifyGLGetTexParameterIuiv() argument
193 if (expected_error != error_code) in VerifyGLGetTexParameterIuiv()
200 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLGetTexParameterIuiv()
DesextcTextureBorderClampTexParameterIErrors.cpp263 glw::GLint params, glw::GLenum expected_error) in VerifyGLTexParameterIiv() argument
271 if (expected_error != error_code) in VerifyGLTexParameterIiv()
278 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLTexParameterIiv()
323 glw::GLuint params, glw::GLenum expected_error) in VerifyGLTexParameterIuiv() argument
331 if (expected_error != error_code) in VerifyGLTexParameterIuiv()
338 << glu::getErrorStr(expected_error) << "]\n" in VerifyGLTexParameterIuiv()
351 glw::GLenum expected_error) in VerifyGLTexParameterIivForAll() argument
356 pname, params, expected_error); in VerifyGLTexParameterIivForAll()
372 glw::GLenum pname, glw::GLint params, glw::GLenum expected_error) in VerifyGLTexParameterIivTextureBaseLevelForAll() argument
395 pname, params, expected_error); in VerifyGLTexParameterIivTextureBaseLevelForAll()
[all …]
DesextcTextureBorderClampSamplerParameterIError.hpp99 void VerifyGLGetCallsForAllPNames(glw::GLuint sampler_id, glw::GLenum expected_error);
101 …ifyGLGetSamplerParameterIiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expected_error);
103 …fyGLGetSamplerParameterIuiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expected_error);
105 void VerifyGLSamplerCallsForAllPNames(glw::GLuint sampler_id, glw::GLenum expected_error);
108 glw::GLenum expected_error);
111 glw::GLenum expected_error);
DesextcTextureBorderClampTexParameterIErrors.hpp109 …ParameterIiv(glw::GLenum target, glw::GLenum pname, glw::GLint params, glw::GLenum expected_error);
114 …id VerifyGLTexParameterIivForAll(glw::GLenum pname, glw::GLint params, glw::GLenum expected_error);
117 glw::GLenum expected_error);
120 glw::GLenum expected_error);
122 … VerifyGLTexParameterIuivForAll(glw::GLenum pname, glw::GLuint params, glw::GLenum expected_error);
DesextcTextureBorderClampSamplerParameterIWithWrongPname.hpp77 …ifyGLGetSamplerParameterIiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expected_error);
79 …fyGLGetSamplerParameterIuiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expected_error);
81 …VerifyGLSamplerParameterIiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expected_error);
83 …erifyGLSamplerParameterIuiv(glw::GLuint sampler_id, glw::GLenum pname, glw::GLenum expected_error);
DesextcTextureBorderClampParameterBorderColorError.hpp70 …xParameterf(glw::GLenum target, glw::GLenum pname, glw::GLfloat param, glw::GLenum expected_error);
72 …TexParameteri(glw::GLenum target, glw::GLenum pname, glw::GLint param, glw::GLenum expected_error);
74 void VerifyGLSamplerParameterf(glw::GLenum pname, glw::GLfloat param, glw::GLenum expected_error);
76 void VerifyGLSamplerParameteri(glw::GLenum pname, glw::GLint param, glw::GLenum expected_error);
DesextcTextureBorderClampGetTexParameterIErrors.hpp69 void CheckAllNames(glw::GLenum target, glw::GLenum expected_error);
70 void VerifyGLGetTexParameterIiv(glw::GLenum target, glw::GLenum pname, glw::GLenum expected_error);
71 …void VerifyGLGetTexParameterIuiv(glw::GLenum target, glw::GLenum pname, glw::GLenum expected_error
/external/ltp/testcases/kernel/syscalls/fadvise/
Dposix_fadvise03.c37 int expected_error = EINVAL; variable
99 if (TST_RET == expected_error) { in verify_fadvise()
111 n, expected_error); in verify_fadvise()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dtest_base.py100 expected_error=None, argument
130 expected_error is not None or expected_output is not None,
132 if expected_error:
137 with self.assertRaisesWithPredicateMatch(expected_error[0],
138 expected_error[1]):
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc306 grpc_error* expected_error; member
337 grpc_error_string(state->expected_error)); in check_request_metadata()
339 if (state->expected_error == GRPC_ERROR_NONE) { in check_request_metadata()
342 grpc_slice expected_error; in check_request_metadata() local
343 GPR_ASSERT(grpc_error_get_str(state->expected_error, in check_request_metadata()
344 GRPC_ERROR_STR_DESCRIPTION, &expected_error)); in check_request_metadata()
348 GPR_ASSERT(grpc_slice_cmp(expected_error, actual_error) == 0); in check_request_metadata()
349 GRPC_ERROR_UNREF(state->expected_error); in check_request_metadata()
361 grpc_error* expected_error, const expected_md* expected, in make_request_metadata_state() argument
365 state->expected_error = expected_error; in make_request_metadata_state()
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_utils_test.py142 def test_assert_not_batched(self, dataset_fn, expected_error=None): argument
143 if expected_error is None:
146 with self.assertRaises(expected_error):
189 def test_assert_not_shuffled(self, dataset_fn, expected_error=None): argument
190 if expected_error is None:
193 with self.assertRaises(expected_error):
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DRequestParams.php75 private $expected_error = null; variable in Grpc\\Testing\\RequestParams
388 return $this->expected_error;
399 $this->expected_error = $var;
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Dassert_next_dataset_test.py47 expected_error=(
61 expected_error=(
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/
Dencode_proto_op_test_base.py57 expected_error = (errors.InvalidArgumentError,
60 expected_error = (ValueError,
62 with self.assertRaisesRegexp(*expected_error):
/external/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c67 int expected_error; member
167 if (errno != test_cases[test_case].expected_error) { in run()
/external/deqp/external/openglcts/modules/gl/
Dgl4cBufferStorageTests.hpp78 …void verifyError(glw::GLenum expected_error, const glw::GLchar* error_message, bool& out_test_resu…
280 bool verifyTestedOperation(TESTED_OPERATION operation, Buffer& buffer, glw::GLenum expected_error);
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_opencensus_plugin.cc38 if (request->param().expected_error().code() == 0) { in Echo()
43 request->param().expected_error().code()), in Echo()
/external/tensorflow/tensorflow/core/lib/math/
Dmath_util_test.cc171 int64 expected_error) { in TestThatCeilOfRatioDenomMinusOneIsIncorrect() argument
175 EXPECT_EQ(result_by_denom_minus_one + expected_error, correct_result) in TestThatCeilOfRatioDenomMinusOneIsIncorrect()
177 << " expected error = " << expected_error in TestThatCeilOfRatioDenomMinusOneIsIncorrect()
/external/autotest/client/site_tests/firmware_Cr50VirtualNVRam/
Dfirmware_Cr50VirtualNVRam.py39 def expect_tpmc_error(subcommand, expected_error): argument
40 check_tpmc(subcommand, '.*failed.*%s.*' % expected_error)
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dmatching_files_test.py52 dataset, expected_error=(errors.NotFoundError, ''))
60 dataset, expected_error=(errors.NotFoundError, ''))
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferErrors.cpp138 glw::GLboolean TextureBufferErrors::verifyError(const glw::GLenum expected_error, const char* descr… in verifyError() argument
146 if (error_code != expected_error) in verifyError()

1234