Home
last modified time | relevance | path

Searched refs:TestCaseResult (Results 1 – 12 of 12) sorted by relevance

/test/vti/dashboard/src/main/java/com/android/vts/util/
DTestRunDetails.java21 import com.android.vts.proto.VtsReportMessage.TestCaseResult;
62 public final int[] resultCounts = new int[TestCaseResult.values().length];
65 columns = new ResultColumn[TestCaseResult.values().length]; in TestRunDetails()
66 for (TestCaseResult r : TestCaseResult.values()) { in TestRunDetails()
DTestResults.java26 import com.android.vts.proto.VtsReportMessage.TestCaseResult;
139 totResultCounts = new int[TestCaseResult.values().length]; in generateToTBreakdown()
291 TestCaseResult aggregateStatus = TestCaseResult.UNKNOWN_RESULT; in processReport()
307 if (result == TestCaseResult.TEST_CASE_RESULT_PASS.getNumber()) { in processReport()
308 if (aggregateStatus == TestCaseResult.UNKNOWN_RESULT) { in processReport()
309 aggregateStatus = TestCaseResult.TEST_CASE_RESULT_PASS; in processReport()
311 } else if (result != TestCaseResult.TEST_CASE_RESULT_SKIP.getNumber()) { in processReport()
312 aggregateStatus = TestCaseResult.TEST_CASE_RESULT_FAIL; in processReport()
330 TestCaseResult testCaseResult = TestCaseResult.valueOf(result); in processReport()
332 else classNames += TestCaseResult.UNKNOWN_RESULT.toString(); in processReport()
DDatastoreHelper.java40 import com.android.vts.proto.VtsReportMessage.TestCaseResult;
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsAlertJobServlet.java26 import com.android.vts.proto.VtsReportMessage.TestCaseResult;
241 Map<String, TestCaseResult> mostRecentTestCaseResults = new HashMap<>(); in getTestStatus()
273 TestCaseResult result = TestCaseResult.valueOf(testCase.result); in getTestStatus()
282 TestCaseResult mostRecentRes = mostRecentTestCaseResults.get(testCaseName); in getTestStatus()
283 if (mostRecentRes == TestCaseResult.TEST_CASE_RESULT_SKIP) { in getTestStatus()
285 } else if (mostRecentRes == TestCaseResult.TEST_CASE_RESULT_PASS) { in getTestStatus()
287 if (result != TestCaseResult.TEST_CASE_RESULT_PASS in getTestStatus()
288 && result != TestCaseResult.TEST_CASE_RESULT_SKIP) { in getTestStatus()
295 if (result != TestCaseResult.TEST_CASE_RESULT_PASS in getTestStatus()
296 && result != TestCaseResult.TEST_CASE_RESULT_SKIP) { in getTestStatus()
[all …]
/test/vti/dashboard/src/main/java/com/android/vts/servlet/
DShowPlanRunServlet.java23 import com.android.vts.proto.VtsReportMessage.TestCaseResult;
85 for (TestCaseResult r : TestCaseResult.values()) { in doGetHandler()
143 int[] topBuildResultCounts = new int[TestCaseResult.values().length]; in doGetHandler()
144 topBuildResultCounts[TestCaseResult.TEST_CASE_RESULT_PASS.getNumber()] = passCount; in doGetHandler()
145 topBuildResultCounts[TestCaseResult.TEST_CASE_RESULT_FAIL.getNumber()] = failCount; in doGetHandler()
DShowTableServlet.java23 import com.android.vts.proto.VtsReportMessage.TestCaseResult;
142 for (TestCaseResult r : TestCaseResult.values()) { in doGetHandler()
DShowCoverageOverviewServlet.java203 Arrays.stream(VtsReportMessage.TestCaseResult.values()) in getCoverageDispatcher()
306 int[] testStats = new int[VtsReportMessage.TestCaseResult.values().length]; in getCoverageDispatcher()
307 testStats[VtsReportMessage.TestCaseResult.TEST_CASE_RESULT_PASS.getNumber()] = passCount; in getCoverageDispatcher()
308 testStats[VtsReportMessage.TestCaseResult.TEST_CASE_RESULT_FAIL.getNumber()] = failCount; in getCoverageDispatcher()
DShowTreeServlet.java24 import com.android.vts.proto.VtsReportMessage.TestCaseResult;
156 for (TestCaseResult r : TestCaseResult.values()) { in doGetHandler()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DDatastoreRestServlet.java199 VtsReportMessage.TestCaseResult result = testCase.getTestResult(); in insertTestReport()
201 if (result == VtsReportMessage.TestCaseResult.TEST_CASE_RESULT_PASS) { in insertTestReport()
203 } else if (result != VtsReportMessage.TestCaseResult.TEST_CASE_RESULT_SKIP) { in insertTestReport()
/test/vts/proto/
DVtsReportMessage.proto24 enum TestCaseResult { enum
129 optional TestCaseResult test_result = 11;
DVtsReportMessage_pb2.py65 TestCaseResult = enum_type_wrapper.EnumTypeWrapper(_TESTCASERESULT) variable
/test/vti/dashboard/src/main/java/com/android/vts/proto/
DVtsReportMessage.java24 public enum TestCaseResult enum in VtsReportMessage
86 public static TestCaseResult valueOf(int value) { in valueOf()
90 public static TestCaseResult forNumber(int value) { in forNumber()
102 public static com.google.protobuf.Internal.EnumLiteMap<TestCaseResult>
107 TestCaseResult> internalValueMap =
108 new com.google.protobuf.Internal.EnumLiteMap<TestCaseResult>() {
109 public TestCaseResult findValueByNumber(int number) {
110 return TestCaseResult.forNumber(number);
127 private static final TestCaseResult[] VALUES = values();
129 public static TestCaseResult valueOf( in valueOf()
[all …]