HomeSort by relevance Sort by last modified time
    Searched refs:TestStatus (Results 1 - 25 of 184) sorted by null

1 2 3 4 5 6 7 8

  /cts/common/util/src/com/android/compatibility/common/util/
TestStatus.java 21 public enum TestStatus {
27 private TestStatus(String storedValue) {
40 * Find the {@link TestStatus} corresponding to given string value
45 * @return the {@link TestStatus} or <code>null</code> if it could not be found
47 static TestStatus getStatus(String value) {
48 for (TestStatus status : TestStatus.values()) {
ICaseResult.java 51 List<ITestResult> getResults(TestStatus status);
56 int countResults(TestStatus status);
TestResult.java 25 private TestStatus mResult;
63 public TestStatus getResultStatus() {
71 public void setResultStatus(TestStatus status) {
176 setResultStatus(TestStatus.FAIL);
192 if (getResultStatus() != TestStatus.FAIL) {
193 setResultStatus(TestStatus.PASS);
207 setResultStatus(TestStatus.PASS);
ITestResult.java 35 * @return The {@link TestStatus} of this result.
37 TestStatus getResultStatus();
40 * Sets the {@link TestStatus} of the result and updates the end time of the test.
42 * @param status The {@link TestStatus} of this result.
44 void setResultStatus(TestStatus status);
IModuleResult.java 69 int countResults(TestStatus status);
IInvocationResult.java 41 int countResults(TestStatus result);
CaseResult.java 73 public List<ITestResult> getResults(TestStatus status) {
97 public int countResults(TestStatus status) {
ModuleResult.java 65 return mDone && countResults(TestStatus.FAIL) == 0;
159 public int countResults(TestStatus status) {
  /external/deqp/framework/common/
tcuTestCase.hpp 179 class TestStatus
182 TestStatus (qpTestResult code, const std::string& description) : m_code(code), m_description(description) {}
188 static TestStatus pass (const std::string& description) { return TestStatus(QP_TEST_RESULT_PASS, description); }
189 static TestStatus fail (const std::string& description) { return TestStatus(QP_TEST_RESULT_FAIL, description); }
190 static TestStatus incomplete (void) { return TestStatus(QP_TEST_RESULT_LAST, ""); }
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiBufferViewCreateTests.cpp 59 virtual tcu::TestStatus iterate (void);
93 tcu::TestStatus BufferViewTestInstance::iterate (void)
125 return tcu::TestStatus::fail("Buffer creation failed! (Error code: " + de::toString(error.getMessage()) + ")");
134 return tcu::TestStatus::fail(errorMsg.str());
166 return tcu::TestStatus::fail("Alloc memory failed! (Error code: " + de::toString(error.getMessage()) + ")");
170 return tcu::TestStatus::fail("Bind buffer memory failed!");
178 return tcu::TestStatus::fail("Buffer View creation failed! (Error code: " + de::toString(error.getMessage()) + ")");
202 return tcu::TestStatus::fail("Buffer View creation failed! (Error code: " + de::toString(error.getMessage()) + ")");
206 return tcu::TestStatus::pass("BufferView test");
vktApiBufferTests.cpp 63 virtual tcu::TestStatus iterate (void);
64 tcu::TestStatus bufferCreateAndAllocTest (VkDeviceSize size);
93 tcu::TestStatus BufferTestInstance::bufferCreateAndAllocTest (VkDeviceSize size)
125 return tcu::TestStatus::fail("Buffer creation failed! (requested memory size: " + de::toString(size) + ", Error code: " + de::toString(error.getMessage()) + ")");
146 return tcu::TestStatus::fail("Buffer creation failed! (requested memory size: " + de::toString(size) + ", Error code: " + de::toString(error.getMessage()) + ")");
155 return tcu::TestStatus::fail(errorMsg.str());
175 return tcu::TestStatus::fail("Alloc memory failed! (requested memory size: " + de::toString(size) + ", Error code: " + de::toString(error.getMessage()) + ")");
229 return tcu::TestStatus::fail("Bind sparse buffer memory failed! (requested memory size: " + de::toString(size) + ")");
234 return tcu::TestStatus::fail("Bind buffer memory failed! (requested memory size: " + de::toString(size) + ")");
237 return tcu::TestStatus::pass("Buffer test")
    [all...]
vktApiDeviceInitializationTests.cpp 58 tcu::TestStatus createInstanceTest (Context& context)
182 return tcu::TestStatus(resultCollector.getResult(), resultCollector.getMessage());
185 tcu::TestStatus createInstanceWithInvalidApiVersionTest (Context& context)
249 return tcu::TestStatus(resultCollector.getResult(), resultCollector.getMessage());
252 tcu::TestStatus createInstanceWithNullApplicationInfoTest (Context& context)
282 return tcu::TestStatus(resultCollector.getResult(), resultCollector.getMessage());
285 tcu::TestStatus createInstanceWithUnsupportedExtensionsTest (Context& context)
331 return tcu::TestStatus::pass("Pass, creating instance with unsupported extension was rejected.");
334 return tcu::TestStatus::fail("Fail, creating instance with unsupported extensions succeeded.");
338 tcu::TestStatus createDeviceTest (Context& context
    [all...]
vktApiCommandBuffersTests.cpp 497 tcu::TestStatus createPoolNullParamsTest(Context& context)
513 return tcu::TestStatus::pass("Command Pool allocated correctly.");
516 tcu::TestStatus createPoolNonNullAllocatorTest(Context& context)
533 return tcu::TestStatus::pass("Command Pool allocated correctly.");
536 tcu::TestStatus createPoolTransientBitTest(Context& context)
552 return tcu::TestStatus::pass("Command Pool allocated correctly.");
555 tcu::TestStatus createPoolResetBitTest(Context& context)
571 return tcu::TestStatus::pass("Command Pool allocated correctly.");
574 tcu::TestStatus resetPoolReleaseResourcesBitTest(Context& context)
592 return tcu::TestStatus::pass("Command Pool allocated correctly.")
    [all...]
vktApiFeatureInfo.cpp 484 tcu::TestStatus enumeratePhysicalDevices (Context& context)
494 return tcu::TestStatus::pass("Enumerating devices succeeded");
540 tcu::TestStatus enumerateInstanceLayers (Context& context)
554 return tcu::TestStatus::pass("Enumerating layers succeeded");
556 return tcu::TestStatus::fail("Duplicate layers");
559 tcu::TestStatus enumerateInstanceExtensions (Context& context)
602 return tcu::TestStatus::fail("Duplicate extensions");
604 return tcu::TestStatus::pass("Enumerating extensions succeeded");
607 tcu::TestStatus enumerateDeviceLayers (Context& context)
621 return tcu::TestStatus::pass("Enumerating layers succeeded")
    [all...]
  /cts/common/util/tests/src/com/android/compatibility/common/util/
CaseResultTest.java 63 assertEquals("Expected status to be set", TestStatus.FAIL, testResult.getResultStatus());
68 assertEquals("Expected status to be set", TestStatus.PASS, testResult.getResultStatus());
76 assertEquals("Expected two failures", 2, mResult.countResults(TestStatus.FAIL));
77 assertEquals("Expected one pass", 1, mResult.countResults(TestStatus.PASS));
92 assertEquals("Expected one failures", 1, mResult.countResults(TestStatus.FAIL));
93 assertEquals("Expected two pass", 2, mResult.countResults(TestStatus.PASS));
108 assertEquals("Expected one failures", 1, mResult.countResults(TestStatus.FAIL));
109 assertEquals("Expected two pass", 2, mResult.countResults(TestStatus.PASS));
ResultHandlerTest.java 168 moduleATest1.setResultStatus(TestStatus.PASS);
177 moduleBTest3.setResultStatus(TestStatus.FAIL);
184 moduleBTest4.setResultStatus(TestStatus.PASS);
253 assertEquals("Expected 2 passes", 2, result.countResults(TestStatus.PASS));
254 assertEquals("Expected 1 failure", 1, result.countResults(TestStatus.FAIL));
274 assertEquals("Expected 1 pass", 1, moduleA.countResults(TestStatus.PASS));
275 assertEquals("Expected 0 failures", 0, moduleA.countResults(TestStatus.FAIL));
287 assertEquals("Incorrect result", TestStatus.PASS, moduleATest1.getResultStatus());
296 assertEquals("Expected 1 pass", 1, moduleB.countResults(TestStatus.PASS));
297 assertEquals("Expected 1 failure", 1, moduleB.countResults(TestStatus.FAIL))
    [all...]
  /cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
ResultReporterTest.java 25 import com.android.compatibility.common.util.TestStatus;
132 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS));
133 assertEquals("Expected 2 failures", 2, result.countResults(TestStatus.FAIL));
146 assertEquals(String.format("Expected pass for %s", TEST_1), TestStatus.PASS,
150 assertEquals(String.format("Expected fail for %s", TEST_2), TestStatus.FAIL,
154 assertEquals(String.format("Expected fail for %s", TEST_3), TestStatus.FAIL,
187 assertEquals("Expected 1 pass", 1, result.countResults(TestStatus.PASS));
188 assertEquals("Expected 2 failures", 2, result.countResults(TestStatus.FAIL));
202 assertEquals(String.format("Expected pass for %s", TEST_1), TestStatus.PASS,
208 assertEquals(String.format("Expected fail for %s", TEST_2), TestStatus.FAIL
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/
vktInfoTests.cpp 102 tcu::TestStatus logBuildInfo (Context& context)
120 return tcu::TestStatus::pass("Not validated");
123 tcu::TestStatus logDeviceInfo (Context& context)
141 return tcu::TestStatus::pass("Not validated");
144 tcu::TestStatus logPlatformInfo (Context& context)
155 return tcu::TestStatus::pass("Not validated");
216 tcu::TestStatus logPlatformMemoryLimits (Context& context)
235 return tcu::TestStatus::pass("Pass");
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
ProjectionOffscreenActivity.java 71 private enum TestStatus { PASSED, FAILED, RUNNING };
72 protected TestStatus mTestStatus = TestStatus.RUNNING;
113 mTestStatus = TestStatus.FAILED;
190 if (mTestStatus == TestStatus.FAILED) {
200 && mTestStatus == TestStatus.RUNNING
202 mTestStatus = TestStatus.FAILED;
214 if (mTestStatus == TestStatus.RUNNING) {
219 mTestStatus = TestStatus.FAILED;
223 mTestStatus = TestStatus.PASSED
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
vktSparseResourcesBufferSparseBinding.cpp 84 tcu::TestStatus iterate (void);
98 tcu::TestStatus BufferSparseBindingInstance::iterate (void)
109 return tcu::TestStatus(QP_TEST_RESULT_NOT_SUPPORTED, "Sparse binding not supported");
122 return tcu::TestStatus(QP_TEST_RESULT_FAIL, "Could not create device supporting sparse and compute queue");
164 return tcu::TestStatus(QP_TEST_RESULT_NOT_SUPPORTED, "Required memory size for sparse resources exceeds device limits");
179 return tcu::TestStatus(QP_TEST_RESULT_FAIL, "No matching memory type found");
309 tcu::TestStatus testStatus = tcu::TestStatus::incomplete();
313 testStatus = tcu::TestStatus::pass("Passed")
    [all...]
vktSparseResourcesBufferMemoryAliasing.cpp 140 tcu::TestStatus iterate (void);
153 tcu::TestStatus BufferSparseMemoryAliasingInstance::iterate (void)
162 return tcu::TestStatus(QP_TEST_RESULT_NOT_SUPPORTED, "Sparse binding not supported");
167 return tcu::TestStatus(QP_TEST_RESULT_NOT_SUPPORTED, "Sparse memory aliasing not supported");
177 return tcu::TestStatus(QP_TEST_RESULT_FAIL, "Could not create device supporting sparse and compute queue");
223 return tcu::TestStatus(QP_TEST_RESULT_NOT_SUPPORTED, "Required memory size for sparse resources exceeds device limits");
232 return tcu::TestStatus(QP_TEST_RESULT_FAIL, "No matching memory type found");
348 return tcu::TestStatus(QP_TEST_RESULT_NOT_SUPPORTED, "Buffer size is not supported");
413 tcu::TestStatus testStatus = tcu::TestStatus::pass("Passed")
    [all...]
vktSparseResourcesBufferSparseResidency.cpp 124 tcu::TestStatus iterate (void);
137 tcu::TestStatus BufferSparseResidencyInstance::iterate (void)
148 return tcu::TestStatus(QP_TEST_RESULT_NOT_SUPPORTED, "Sparse partially resident buffers not supported");
161 return tcu::TestStatus(QP_TEST_RESULT_FAIL, "Could not create device supporting sparse and compute queue");
204 return tcu::TestStatus(QP_TEST_RESULT_NOT_SUPPORTED, "Required memory size for sparse resources exceeds device limits");
218 return tcu::TestStatus(QP_TEST_RESULT_FAIL, "No matching memory type found");
380 tcu::TestStatus testStatus = tcu::TestStatus::pass("Passed");
391 testStatus = tcu::TestStatus::fail("Failed")
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/wsi/
vktWsiSurfaceTests.cpp 186 tcu::TestStatus createSurfaceTest (Context& context, Type wsiType)
192 return tcu::TestStatus::pass("Creating surface succeeded");
195 tcu::TestStatus createSurfaceCustomAllocatorTest (Context& context, Type wsiType)
214 return tcu::TestStatus::fail("Detected invalid system allocation callback");
218 return tcu::TestStatus::fail("Detected invalid system allocation callback");
221 return tcu::TestStatus(QP_TEST_RESULT_QUALITY_WARNING, "Allocation callbacks were not used");
223 return tcu::TestStatus::pass("Creating surface succeeded using custom allocator");
226 tcu::TestStatus createSurfaceSimulateOOMTest (Context& context, Type wsiType)
253 return tcu::TestStatus::fail("Detected invalid system allocation callback");
262 return tcu::TestStatus::fail("Detected invalid system allocation callback")
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineMultisampleTests.cpp 267 virtual tcu::TestStatus iterate (void);
270 virtual tcu::TestStatus verifyImage (const tcu::ConstPixelBufferAccess& result);
289 virtual tcu::TestStatus iterate (void);
292 virtual tcu::TestStatus verifyImage (const tcu::ConstPixelBufferAccess& testShadingImage,
313 virtual tcu::TestStatus iterate (void);
316 virtual tcu::TestStatus verifyImage (const tcu::ConstPixelBufferAccess& testShadingImage,
337 virtual tcu::TestStatus iterate (void);
340 virtual tcu::TestStatus verifyImage (const tcu::ConstPixelBufferAccess& alphaOneImage,
361 virtual tcu::TestStatus iterate (void);
364 virtual tcu::TestStatus verifyImage (const tcu::ConstPixelBufferAccess& result)
    [all...]
vktPipelineImageSamplingInstance.hpp 58 virtual tcu::TestStatus iterate (void);
61 tcu::TestStatus verifyImage (void);

Completed in 568 milliseconds

1 2 3 4 5 6 7 8