Home
last modified time | relevance | path

Searched refs:TestError (Results 1 – 25 of 155) sorted by relevance

1234567

/third_party/flatbuffers/tests/
Dtest.cpp1625 # define TestError(src, ...) \ macro
1628 # define TestError(src, ...) \ macro
1636 TestError("table X { Y:byte; } root_type X; { Y: 999 }", "does not fit"); in ErrorTest()
1637 TestError("\"\0", "illegal"); in ErrorTest()
1638 TestError("\"\\q", "escape code"); in ErrorTest()
1639 TestError("table ///", "documentation"); in ErrorTest()
1640 TestError("@", "illegal"); in ErrorTest()
1641 TestError("table 1", "expecting"); in ErrorTest()
1642 TestError("table X { Y:[[int]]; }", "nested vector"); in ErrorTest()
1643 TestError("table X { Y:1; }", "illegal type"); in ErrorTest()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DResultTests.cpp22 void TestError(Result<T, E>* result, E expectedError) { in TestError() function
48 TestError(&result, &dummyError); in TEST()
55 TestError(&movedResult, &dummyError); in TEST()
65 TestError(&result, &dummyError); in TEST()
99 TestError(&result, &dummyError); in TEST()
106 TestError(&movedResult, &dummyError); in TEST()
116 TestError(&result, &dummyError); in TEST()
147 TestError(&result, &dummyError); in TEST()
154 TestError(&movedResult, &dummyError); in TEST()
162 TestError(&result, &dummyError); in TEST()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DResultTests.cpp23 void TestError(Result<T, E>* result, E expectedError) { in TestError() function
87 TestError(&result, dummyError); in TEST()
94 TestError(&movedResult, dummyError); in TEST()
104 TestError(&result, dummyError); in TEST()
136 TestError(&result, dummyError); in TEST()
143 TestError(&movedResult, dummyError); in TEST()
153 TestError(&result, dummyError); in TEST()
207 TestError(&result, dummyError); in TEST()
214 TestError(&movedResult, dummyError); in TEST()
224 TestError(&result, dummyError); in TEST()
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuDefs.hpp82 class TestError : public TestException class
85 TestError (const char* message, const char* expr, const char* file, int line);
86 TestError (const std::string& message, const char* expr, const char* file, int line);
87 TestError (const std::string& message);
88 virtual ~TestError (void) throw() {} in ~TestError()
137 #define TCU_FAIL(MSG) TCU_THROW(TestError, MSG)
140 #define TCU_CHECK(X) do { if (!(!deGetFalse() && (X))) throw tcu::TestError(DE_NULL, #X, __FILE__…
143 #define TCU_CHECK_MSG(X, MSG) do { if (!(!deGetFalse() && (X))) throw tcu::TestError((MSG), #X, __F…
DtcuDefs.cpp96 TestError::TestError (const char* message, const char* expr, const char* file, int line) in TestError() function in tcu::TestError
100 TestError::TestError (const std::string& message, const char* expr, const char* file, int line) in TestError() function in tcu::TestError
105 TestError::TestError (const std::string& message) in TestError() function in tcu::TestError
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOArrayLengthTests.cpp100 throw tcu::TestError("Failed to build shader"); in init()
124 throw tcu::TestError("Failed to find outLength variable"); in init()
129 throw tcu::TestError("Unexpected outLength location"); in init()
137 throw tcu::TestError("Failed to find unused variable"); in init()
142 throw tcu::TestError("Unexpected unused location"); in init()
150 throw tcu::TestError("Failed to find array variable"); in init()
155 throw tcu::TestError("Unexpected array stride"); in init()
212 throw tcu::TestError("mapBufferRange returned NULL"); in iterate()
223 throw tcu::TestError("unmapBuffer returned false"); in iterate()
Des31fMultisampleShaderRenderCase.cpp194 throw tcu::TestError("fbo not complete"); in init()
206 throw tcu::TestError("Got less texture samples than asked for"); in init()
216 throw tcu::TestError("could not build program"); in init()
232 throw tcu::TestError("fbo not complete"); in init()
240 throw tcu::TestError("Got less renderbuffer samples samples than asked for"); in init()
259 throw tcu::TestError("resolve fbo not complete"); in init()
296 throw tcu::TestError("could not build program"); in init()
464 throw tcu::TestError("could not build program"); in drawOneIteration()
566 throw tcu::TestError("Location u_sampler was -1."); in drawOneIteration()
618 throw tcu::TestError("Location u_sampler was -1."); in drawOneIteration()
[all …]
Des31fSynchronizationTests.cpp92 throw tcu::TestError("mapBufferRange returned NULL"); in readBuffer()
98 throw tcu::TestError("unmapBuffer returned false"); in readBuffer()
225 throw tcu::TestError("could not build program"); in init()
399 throw tcu::TestError("memory map store corrupted"); in verifyResults()
1195 throw tcu::TestError("could not build program"); in init()
1215 throw tcu::TestError("could not build program"); in init()
1242 throw tcu::TestError("could not build program"); in init()
1266 throw tcu::TestError("could not build program"); in init()
1286 throw tcu::TestError("could not build program"); in init()
1310 throw tcu::TestError("could not build program"); in init()
[all …]
Des31fTessellationGeometryInteractionTests.cpp286 throw tcu::TestError("could not build program"); in iterate()
288 throw tcu::TestError("a_position location was -1"); in iterate()
290 throw tcu::TestError("u_outerTessellationLevel location was -1"); in iterate()
586 throw tcu::TestError("could not build program"); in iterate()
588 throw tcu::TestError("a_position location was -1"); in iterate()
941 throw tcu::TestError("failed to build program"); in init()
953 throw tcu::TestError("failed to build program"); in init()
1044 throw tcu::TestError("a_position was -1"); in renderWithFeedback()
1114 throw tcu::TestError("mapBufferRange returned null"); in renderWithFeedback()
1122 throw tcu::TestError("unmapBuffer failed, did not return true"); in renderWithFeedback()
[all …]
Des31fBasicComputeShaderTests.cpp226 throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(ndx) + "]"); in iterate()
349 throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(ndx) + "]"); in iterate()
452 throw tcu::TestError(string("Comparison failed for InOut.values[") + de::toString(ndx) + "]"); in iterate()
568 …throw tcu::TestError(string("Comparison failed for Out0.values[") + de::toString(ndx) + "] res=" +… in iterate()
581 …throw tcu::TestError(string("Comparison failed for Out1.values[") + de::toString(ndx) + "] res=" +… in iterate()
681 …throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(globalOffs + lo… in iterate()
806 throw tcu::TestError("Comparison failed"); in iterate()
898 …throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(globalOffs + lo… in iterate()
992 …throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(globalOffs + lo… in iterate()
1098 throw tcu::TestError(string("Comparison failed for Output.values[") + de::toString(ndx) + "]"); in iterate()
[all …]
Des31fProgramPipelineStateQueryTests.cpp117 throw tcu::TestError("failed to build program"); in iterate()
193 throw tcu::TestError("failed to build program"); in iterate()
256 throw tcu::TestError("failed to build program"); in iterate()
325 throw tcu::TestError("failed to build program"); in iterate()
Des31fNegativeTessellationTests.cpp170 TCU_THROW(TestError, "failed to build program"); in single_tessellation_stage()
211 TCU_THROW(TestError, "failed to build program"); in single_tessellation_stage()
314 throw tcu::TestError("failed to build program"); in invalid_program_state()
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWin32Window.cpp121 TCU_THROW(TestError, "AdjustWindowRect() failed"); in setSize()
126 TCU_THROW(TestError, "SetWindowPos() failed"); in setSize()
133 TCU_THROW(TestError, "GetClientRect() failed"); in getSize()
/third_party/vk-gl-cts/framework/opengl/
DgluDefs.cpp36 : tcu::TestError (message, expr, file, line) in Error()
42 : tcu::TestError (message) in Error()
DgluDefs.hpp53 class Error : public tcu::TestError
/third_party/vk-gl-cts/framework/egl/
DegluDefs.cpp56 …: tcu::TestError ((std::string("EGL returned ") + getErrorName(errCode)).c_str(), errStr ? errStr … in Error()
62 : tcu::TestError (message, expr, file, line) in Error()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkDefs.cpp44 : tcu::TestError (message, expr, file, line) in Error()
50 : tcu::TestError (message) in Error()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktNativeObjectsUtil.cpp53 throw tcu::TestError(e.getMessage()); in createDisplay()
70 throw tcu::TestError(e.getMessage()); in createWindow()
/third_party/vk-gl-cts/modules/egl/
DteglChooseConfigReference.cpp100 …TCU_THROW(TestError, (std::string("Unknown config caveat: ") + eglu::getConfigCaveatStr(caveat).to… in getCaveatRank()
112 …TCU_THROW(TestError, (std::string("Unknown color buffer type: ") + eglu::getColorBufferTypeStr(typ… in getColorBufferTypeRank()
129 …TCU_THROW(TestError, (std::string("Unknown YUV order: ") + eglu::getYuvOrderStr(order).toString())… in getYuvOrderRank()
141 …TCU_THROW(TestError, (std::string("Unknown YUV plane BPP: ") + eglu::getYuvPlaneBppStr(bpp).toStri… in getYuvPlaneBppValue()
152 …TCU_THROW(TestError, (std::string("Unknown color component type: ") + eglu::getColorComponentTypeS… in getColorComponentTypeRank()
DteglRenderCase.cpp148 catch (const tcu::TestError& e) in executeForConfig()
172 catch (const tcu::TestError& e) in executeForConfig()
199 catch (const tcu::TestError& e) in executeForConfig()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderMetamorphicTests.cpp132 throw tcu::TestError("Compile failed"); in render()
167 throw tcu::TestError("Nondeterministic rendering"); in checkNondet()
192 throw tcu::TestError("Sanity check fails on recipient"); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderBuiltinVarTests.cpp306 throw tcu::TestError("Compile failed"); in iterate()
400 throw tcu::TestError("Compile failed"); in iterate()
480 throw tcu::TestError("Invalid GL_ALIASED_POINT_SIZE_RANGE"); in iterate()
509 throw tcu::TestError("Compile failed"); in iterate()
612 throw tcu::TestError("Compile failed"); in iterate()
/third_party/vk-gl-cts/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp170 throw tcu::TestError("could not gen vao"); in init()
477 throw tcu::TestError("could not init buffer"); in createBuffers()
486 throw tcu::TestError("could not build shader"); in createShader()
557 throw tcu::TestError("could not build program"); in init()
/third_party/icu/icu4c/source/test/intltest/
Dunifiedcachetest.cpp77 void TestError();
87 TESTCASE_AUTO(TestError); in runIndexedTest()
352 void UnifiedCacheTest::TestError() { in TestError() function in UnifiedCacheTest
/third_party/vk-gl-cts/modules/glshared/
DglsShaderRenderCase.hpp223 class CompileFailed : public tcu::TestError
226 …inline CompileFailed (const char* file, int line) : tcu::TestError("Failed to compile shader progr… in CompileFailed()

1234567