/external/testng/src/main/java/org/testng/remote/strprotocol/ |
D | RemoteTestListener.java | 39 public void onTestStart(ITestResult testResult) { in onTestStart() argument 43 trm= new TestResultMessage(m_suite.getName(), m_xmlTest.getName(), testResult); in onTestStart() 46 trm= new TestResultMessage(m_currentTestContext, testResult); in onTestStart() 57 public void onTestFailedButWithinSuccessPercentage(ITestResult testResult) { in onTestFailedButWithinSuccessPercentage() argument 59 … m_sender.sendMessage(new TestResultMessage(m_suite.getName(), m_xmlTest.getName(), testResult)); in onTestFailedButWithinSuccessPercentage() 62 m_sender.sendMessage(new TestResultMessage(m_currentTestContext, testResult)); in onTestFailedButWithinSuccessPercentage() 67 public void onTestFailure(ITestResult testResult) { in onTestFailure() argument 69 … m_sender.sendMessage(new TestResultMessage(m_suite.getName(), m_xmlTest.getName(), testResult)); in onTestFailure() 72 m_sender.sendMessage(new TestResultMessage(m_currentTestContext, testResult)); in onTestFailure() 77 public void onTestSkipped(ITestResult testResult) { in onTestSkipped() argument [all …]
|
/external/testng/src/main/java/org/testng/reporters/ |
D | XMLSuiteResultWriter.java | 129 for (ITestResult testResult : sortedResults) { in addTestResults() 130 addTestResult(xmlBuffer, testResult); in addTestResults() 150 private void addTestResult(XMLStringBuffer xmlBuffer, ITestResult testResult) { in addTestResult() argument 151 Properties attribs = getTestResultAttributes(testResult); in addTestResult() 152 attribs.setProperty(XMLReporterConfig.ATTR_STATUS, getStatusString(testResult.getStatus())); in addTestResult() 154 addTestMethodParams(xmlBuffer, testResult); in addTestResult() 155 addTestResultException(xmlBuffer, testResult); in addTestResult() 156 addTestResultOutput(xmlBuffer, testResult); in addTestResult() 158 addTestResultAttributes(xmlBuffer, testResult); in addTestResult() 177 private Properties getTestResultAttributes(ITestResult testResult) { in getTestResultAttributes() argument [all …]
|
D | EmailableReporter2.java | 141 for (TestResult testResult : suiteResult.getTestResults()) { in writeSuiteSummary() 142 int passedTests = testResult.getPassedTestCount(); in writeSuiteSummary() 143 int skippedTests = testResult.getSkippedTestCount(); in writeSuiteSummary() 144 int failedTests = testResult.getFailedTestCount(); in writeSuiteSummary() 145 long duration = testResult.getDuration(); in writeSuiteSummary() 156 .append(Utils.escapeHtml(testResult.getTestName())) in writeSuiteSummary() 164 writeTableData(testResult.getIncludedGroups()); in writeSuiteSummary() 165 writeTableData(testResult.getExcludedGroups()); in writeSuiteSummary() 216 for (TestResult testResult : suiteResult.getTestResults()) { in writeScenarioSummary() 221 String testName = Utils.escapeHtml(testResult.getTestName()); in writeScenarioSummary() [all …]
|
/external/testng/src/main/java/org/testng/internal/ |
D | Invoker.java | 168 ITestResult testResult= new TestResult(testClass, in invokeConfigurations() local 195 …handleConfigurationSkip(tm, testResult, configurationAnnotation, currentTestMethod, instance, suit… in invokeConfigurations() 209 testResult.setParameters(parameters); in invokeConfigurations() 213 runConfigurationListeners(testResult, true /* before */); in invokeConfigurations() 216 parameters, testResult); in invokeConfigurations() 219 testResult.setEndMillis(System.currentTimeMillis()); in invokeConfigurations() 220 runConfigurationListeners(testResult, false /* after */); in invokeConfigurations() 239 …handleConfigurationFailure(ex, tm, testResult, configurationAnnotation, currentTestMethod, instanc… in invokeConfigurations() 241 …handleConfigurationFailure(ex, tm, testResult, configurationAnnotation, currentTestMethod, instanc… in invokeConfigurations() 250 ITestResult testResult, in handleConfigurationSkip() argument [all …]
|
D | MethodInvocationHelper.java | 190 final ITestResult testResult) throws Throwable { in invokeHookable() argument 209 hookable.run(callback, testResult); in invokeHookable() 221 Object[] parameterValues, ITestResult testResult) in invokeWithTimeout() argument 223 invokeWithTimeout(tm, instance, parameterValues, testResult, null); in invokeWithTimeout() 227 Object[] parameterValues, ITestResult testResult, IHookable hookable) in invokeWithTimeout() argument 229 …if (ThreadUtil.isTestNGThread() && testResult.getTestContext().getCurrentXmlTest().getParallel() !… in invokeWithTimeout() 232 invokeWithTimeoutWithNoExecutor(tm, instance, parameterValues, testResult, hookable); in invokeWithTimeout() 234 invokeWithTimeoutWithNewExecutor(tm, instance, parameterValues, testResult, hookable); in invokeWithTimeout() 239 Object[] parameterValues, ITestResult testResult, IHookable hookable) { in invokeWithTimeoutWithNoExecutor() argument 241 …MethodRunnable imr = new InvokeMethodRunnable(tm, instance, parameterValues, hookable, testResult); in invokeWithTimeoutWithNoExecutor() [all …]
|
/external/tensorflow/tensorflow/lite/java/ovic/src/test/java/org/tensorflow/ovic/ |
D | OvicClassifierTest.java | 46 private OvicClassificationResult testResult = null; field in OvicClassifierTest 97 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_quantizedModelClassifySuccess() 98 assertCorrectTopK(testResult); in ovicClassifier_quantizedModelClassifySuccess() 104 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_floatModelClassifySuccess() 105 assertCorrectTopK(testResult); in ovicClassifier_floatModelClassifySuccess() 111 testResult = classifier.classifyByteBuffer(lowResTestImage); in ovicClassifier_lowResModelClassifySuccess() 112 assertCorrectTopK(testResult); in ovicClassifier_lowResModelClassifySuccess() 118 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_latencyNotNull() 119 assertThat(testResult.latencyNano).isNotNull(); in ovicClassifier_latencyNotNull() 129 testResult = classifier.classifyByteBuffer(testImage); in ovicClassifier_mismatchedInputResolutionFails() [all …]
|
/external/testng/src/main/java/org/testng/internal/invokers/ |
D | InvokedMethodListenerInvoker.java | 39 ITestResult testResult, ITestContext testContext) { in InvokedMethodListenerInvoker() argument 42 m_testResult = testResult; in InvokedMethodListenerInvoker() 76 void callMethod(LISTENER_TYPE listener, IInvokedMethod invokedMethod, ITestResult testResult, in callMethod() argument 83 ITestResult testResult, ITestContext testContext) { in callMethod() argument 84 listener.beforeInvocation(invokedMethod, testResult); in callMethod() 91 ITestResult testResult, ITestContext testContext) { in callMethod() argument 92 listener.beforeInvocation(invokedMethod, testResult, testContext); in callMethod() 99 ITestResult testResult, ITestContext testContext) { in callMethod() argument 100 listener.afterInvocation(invokedMethod, testResult); in callMethod() 107 ITestResult testResult, ITestContext testContext) { in callMethod() argument [all …]
|
/external/testng/src/test/java/test/invokedmethodlistener/ |
D | MyListener.java | 17 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { in afterInvocation() argument 20 suiteStatus = testResult.getStatus(); in afterInvocation() 21 suiteThrowable = testResult.getThrowable(); in afterInvocation() 24 methodStatus = testResult.getStatus(); in afterInvocation() 25 methodThrowable = testResult.getThrowable(); in afterInvocation() 30 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { in beforeInvocation() argument
|
/external/antlr/gunit/src/main/java/org/antlr/gunit/ |
D | BooleanTest.java | 48 public String getResult(gUnitTestResult testResult) { in getResult() argument 49 if ( testResult.isLexerTest() ) { in getResult() 50 if ( testResult.isSuccess() ) return "OK"; in getResult() 53 return testResult.getError(); in getResult() 56 return (testResult.isSuccess())? "OK" : "FAIL"; in getResult()
|
D | OutputTest.java | 54 public String getResult(gUnitTestResult testResult) { in getResult() argument 56 if ( testResult.isSuccess() ) return testResult.getReturned(); in getResult() 59 return testResult.getError(); in getResult()
|
D | ReturnTest.java | 51 public String getResult(gUnitTestResult testResult) { in getResult() argument 52 if ( testResult.isSuccess() ) return testResult.getReturned(); in getResult() 55 return testResult.getError(); in getResult()
|
D | gUnitExecutor.java | 266 gUnitTestResult testResult = new gUnitTestResult(false, err.toString(), true); in runLexer() local 267 testResult.setError(err.toString()); in runLexer() 268 return testResult; in runLexer() 377 gUnitTestResult testResult = new gUnitTestResult(false, err.toString()); in runParser() local 378 testResult.setError(err.toString()); in runParser() 379 return testResult; in runParser() 534 gUnitTestResult testResult = new gUnitTestResult(false, err.toString()); in runTreeParser() local 535 testResult.setError(err.toString()); in runTreeParser() 536 return testResult; in runTreeParser() 612 gUnitTestResult testResult; in getTestExceptionResult() local [all …]
|
/external/testng/src/test/java/org/testng/internal/invokers/ |
D | InvokedMethodListenerSubtypeTest.java | 36 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { in beforeInvocation() argument 39 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { in afterInvocation() argument 45 public void beforeInvocation(IInvokedMethod method, ITestResult testResult, in beforeInvocation() argument 49 public void afterInvocation(IInvokedMethod method, ITestResult testResult, in afterInvocation() argument 53 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { in beforeInvocation() argument 56 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { in afterInvocation() argument
|
/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_GetTestResult.c | 38 TSS2_RC *testResult) in Tss2_Sys_GetTestResult_Complete() argument 60 testResult); in Tss2_Sys_GetTestResult_Complete() 67 TSS2_RC *testResult, in Tss2_Sys_GetTestResult() argument 81 return Tss2_Sys_GetTestResult_Complete(sysContext, outData, testResult); in Tss2_Sys_GetTestResult()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
D | EastAsianWidth.java | 44 byte[] testResult = new byte[1]; 45 measure(testInput, 0, 1, testResult, true); in measure() argument 47 if (testResult[0] == 1)
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/linearizability/ |
D | ChannelsLCStressTest.kt | 59 e.testResult in <lambda>() 66 e.testResult in <lambda>() 74 e.testResult in <lambda>() 81 e.testResult in <lambda>() 88 e.testResult in <lambda>() 96 e.testResult in <lambda>() 124 val testResult = "Closed($number)" constant
|
/external/testng/src/test/java/test/listeners/ |
D | EndMillisShouldNotBeZeroTest.java | 20 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { in beforeInvocation() argument 24 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { in afterInvocation() argument 25 m_end = testResult.getEndMillis(); in afterInvocation()
|
/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_GetTestResult.c | 67 TPM2_RC *testResult) in Esys_GetTestResult() argument 85 r = Esys_GetTestResult_Finish(esysContext, outData, testResult); in Esys_GetTestResult() 220 TPM2_RC *testResult) in Esys_GetTestResult_Finish() argument 224 esysContext, outData, testResult); in Esys_GetTestResult_Finish() 301 testResult); in Esys_GetTestResult_Finish()
|
/external/junit-params/src/test/java/junitparams/ |
D | MultipleParameterProvidersTest.java | 33 Result testResult = JUnitCore.runClasses(CantInitializeWithValueAndMethodProvider.class); in testWithValueAndMethodProvidersThrowsIllegalStateException() local 34 assertEquals(1, testResult.getFailureCount()); in testWithValueAndMethodProvidersThrowsIllegalStateException() 36 Failure testFailure = testResult.getFailures().iterator().next(); in testWithValueAndMethodProvidersThrowsIllegalStateException()
|
/external/testng/src/test/java/test/hook/ |
D | HookSuccess862Test.java | 14 public void run(IHookCallBack callBack, ITestResult testResult) { in run() argument 15 Method method = testResult.getMethod().getConstructorOrMethod().getMethod(); in run() 25 callBack.runTestMethod(testResult); in run()
|
/external/junit/src/main/java/org/junit/experimental/results/ |
D | PrintableResult.java | 28 public static PrintableResult testResult(Class<?> type) { in testResult() method in PrintableResult 29 return testResult(Request.aClass(type)); in testResult() 35 public static PrintableResult testResult(Request request) { in testResult() method in PrintableResult
|
/external/testng/src/test/java/test/ |
D | InvokedMethodNameListener.java | 20 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { in beforeInvocation() argument 25 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { in afterInvocation() argument 26 switch (testResult.getStatus()) { in afterInvocation()
|
/external/kotlinx.coroutines/kotlinx-coroutines-debug/src/junit4/ |
D | CoroutinesTimeoutStatement.kt | 21 private val testResult = FutureTask<Unit> { in <lambda>() constant 30 private val testThread = Thread(testResult, "Timeout test thread").apply { isDaemon = true } in <lambda>() 37 testResult.get(testTimeoutMs, TimeUnit.MILLISECONDS) in evaluate()
|
/external/deqp/framework/common/ |
D | tcuTestSessionExecutor.cpp | 260 const qpTestResult testResult = m_testCtx.getTestResult(); in leaveTestCase() local 263 DE_ASSERT(testResult != QP_TEST_RESULT_LAST); in leaveTestCase() 266 m_testCtx.getLog().endCase(testResult, testResultDesc); in leaveTestCase() 269 print(" %s (%s)\n", qpGetTestResultName(testResult), testResultDesc); in leaveTestCase() 272 switch (testResult) in leaveTestCase() 283 if (terminateAfter || testResult == QP_TEST_RESULT_RESOURCE_ERROR) in leaveTestCase()
|
/external/testng/src/main/java/org/testng/ |
D | IInvokedMethodListener.java | 9 void beforeInvocation(IInvokedMethod method, ITestResult testResult); in beforeInvocation() argument 11 void afterInvocation(IInvokedMethod method, ITestResult testResult); in afterInvocation() argument
|