Home
last modified time | relevance | path

Searched refs:ExpectError (Results 1 – 10 of 10) sorted by relevance

/external/skia/tests/
DSkSLDSLTest.cpp43 class ExpectError : public ErrorHandler { class
45 ExpectError(skiatest::Reporter* reporter, const char* msg) in ExpectError() function in ExpectError
51 ~ExpectError() override { in ~ExpectError()
198 ExpectError error(r, "error: floating point value is infinite\n"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
203 ExpectError error(r, "error: floating point value is NaN\n"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
208 ExpectError error(r, "error: invalid arguments to 'float2' constructor (expected 2 scalars," in DEF_GPUTEST_FOR_MOCK_CONTEXT()
214 ExpectError error(r, "error: invalid arguments to 'float4' constructor (expected 4 scalars," in DEF_GPUTEST_FOR_MOCK_CONTEXT()
250 ExpectError error(r, "error: floating point value is infinite\n"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
255 ExpectError error(r, "error: floating point value is NaN\n"); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
260 ExpectError error(r, "error: invalid arguments to 'half2' constructor (expected 2 scalars," in DEF_GPUTEST_FOR_MOCK_CONTEXT()
[all …]
/external/tensorflow/tensorflow/c/
Dwhile_loop_test.cc65 void ExpectError(TF_Code expected_code, const string& expected_msg) { in ExpectError() function in __anonbc36f9730111::CApiWhileLoopTest
299 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
307 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
319 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
328 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
338 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
359 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
381 ExpectError(TF_INVALID_ARGUMENT, "TF_WhileParams `name` field is null"); in TEST_F()
390 ExpectError(TF_INVALID_ARGUMENT, in TEST_F()
/external/deqp/external/openglcts/modules/gl/
Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp4822 is_ok &= ExpectError(GL_INVALID_OPERATION, false, true, false, true, true); in iterate()
4827 is_ok &= ExpectError(GL_INVALID_OPERATION, true, false, true, true, true); in iterate()
4832 is_ok &= ExpectError(GL_INVALID_ENUM, true, false, false, true, true); in iterate()
4837 is_ok &= ExpectError(GL_INVALID_ENUM, true, true, false, false, true); in iterate()
4842 is_ok &= ExpectError(GL_INVALID_OPERATION, true, true, false, true, false); in iterate()
4945 bool RenderbufferAttachmentErrorsTest::ExpectError(glw::GLenum expected_error, bool framebuffer, bo… in ExpectError() function in gl4cts::DirectStateAccess::Framebuffers::RenderbufferAttachmentErrorsTest
5069 …is_ok &= ExpectError(GL_INVALID_OPERATION, "NamedFramebufferTexture", false, true, false, true, tr… in iterate()
5074 …is_ok &= ExpectError(GL_INVALID_OPERATION, "NamedFramebufferTexture", true, false, true, true, tru… in iterate()
5079 …is_ok &= ExpectError(GL_INVALID_ENUM, "NamedFramebufferTexture", true, false, false, true, true, "… in iterate()
5084 …is_ok &= ExpectError(GL_INVALID_VALUE, "NamedFramebufferTexture", true, true, false, false, true, … in iterate()
[all …]
Dgl4cProgramInterfaceQueryTests.cpp188 virtual inline void ExpectError(GLenum expected, long& error) in ExpectError() function in gl4cts::__anon920390580111::PIQBase
2760 ExpectError(GL_INVALID_VALUE, error); in Run()
2762 ExpectError(GL_INVALID_VALUE, error); in Run()
2764 ExpectError(GL_INVALID_VALUE, error); in Run()
2766 ExpectError(GL_INVALID_VALUE, error); in Run()
2768 ExpectError(GL_INVALID_VALUE, error); in Run()
2770 ExpectError(GL_INVALID_VALUE, error); in Run()
2783 ExpectError(GL_INVALID_VALUE, error); in Run()
2790 ExpectError(GL_INVALID_VALUE, error); in Run()
2795 ExpectError(GL_INVALID_VALUE, error); in Run()
[all …]
Dgl4cDirectStateAccessTests.hpp3079 …bool ExpectError(glw::GLenum expected_error, bool framebuffer, bool attachment, bool color_attachm…
3150 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function_name, bool framebuffer, b…
3254 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3343 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3394 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3428 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3466 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3527 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3913 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3960 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_constructor_test.cc54 void ExpectError(const string& gdef_ascii, in ExpectError() function in tensorflow::__anon331100b90111::GraphConstructorTest
80 void ExpectError(const string& gdef_ascii, const ImportGraphDefOptions& opts, in ExpectError() function in tensorflow::__anon331100b90111::GraphConstructorTest
229 ExpectError(strings::StrCat("node { name: '", name, "' op: 'ABC' }"), in TEST_F()
247 ExpectError( in TEST_F()
256 ExpectError( in TEST_F()
265 ExpectError( in TEST_F()
817 ExpectError( in TEST_F()
838 ExpectError( in TEST_F()
848 ExpectError( in TEST_F()
859 ExpectError(strings::StrCat("versions { producer: ", -1, " }"), in TEST_F()
[all …]
/external/libbrillo/brillo/dbus/
Ddbus_object_test.cc147 void ExpectError(dbus::Response* response, const std::string& expected_code) { in ExpectError() function in brillo::dbus_utils::DBusObjectTest
204 ExpectError(response.get(), DBUS_ERROR_FAILED); in TEST_F()
403 ExpectError(response.get(), DBUS_ERROR_INVALID_ARGS); in TEST_F()
414 ExpectError(response.get(), DBUS_ERROR_INVALID_ARGS); in TEST_F()
424 ExpectError(response.get(), DBUS_ERROR_INVALID_ARGS); in TEST_F()
448 ExpectError(response.get(), DBUS_ERROR_UNKNOWN_METHOD); in TEST_F()
/external/deqp/external/openglcts/modules/gles31/
Des31cProgramInterfaceQueryTests.cpp136 virtual inline void ExpectError(GLenum expected, long& error) in ExpectError() function in glcts::__anon3976b7490111::PIQBase
2073 ExpectError(GL_INVALID_VALUE, error); in Run()
2075 ExpectError(GL_INVALID_VALUE, error); in Run()
2077 ExpectError(GL_INVALID_VALUE, error); in Run()
2079 ExpectError(GL_INVALID_VALUE, error); in Run()
2081 ExpectError(GL_INVALID_VALUE, error); in Run()
2094 ExpectError(GL_INVALID_VALUE, error); in Run()
2101 ExpectError(GL_INVALID_VALUE, error); in Run()
2106 ExpectError(GL_INVALID_VALUE, error); in Run()
2109 ExpectError(GL_INVALID_VALUE, error); in Run()
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
Dpickle_unittest.cc71 void ExpectError(InterfacePtr<T>* proxy, const base::Closure& callback) { in ExpectError() function
253 ExpectError(&chromium_proxy, loop.QuitClosure()); in TEST_F()
273 ExpectError(&chromium_proxy, loop.QuitClosure()); in TEST_F()
Dstruct_traits_unittest.cc56 void ExpectError(InterfacePtr<T> *proxy, const base::Closure& callback) { in ExpectError() function
248 ExpectError(&chromium_proxy, loop.QuitClosure()); in TEST_F()