Home
last modified time | relevance | path

Searched refs:testResult (Results 1 – 25 of 91) sorted by relevance

1234

/external/testng/src/main/java/org/testng/remote/strprotocol/
DRemoteTestListener.java39 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/
DXMLSuiteResultWriter.java129 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 …]
DEmailableReporter2.java141 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/
DInvoker.java168 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 …]
DMethodInvocationHelper.java190 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/
DOvicClassifierTest.java46 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/
DInvokedMethodListenerInvoker.java39 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/
DMyListener.java17 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/
DBooleanTest.java48 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()
DOutputTest.java54 public String getResult(gUnitTestResult testResult) { in getResult() argument
56 if ( testResult.isSuccess() ) return testResult.getReturned(); in getResult()
59 return testResult.getError(); in getResult()
DReturnTest.java51 public String getResult(gUnitTestResult testResult) { in getResult() argument
52 if ( testResult.isSuccess() ) return testResult.getReturned(); in getResult()
55 return testResult.getError(); in getResult()
DgUnitExecutor.java266 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/
DInvokedMethodListenerSubtypeTest.java36 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/
DTss2_Sys_GetTestResult.c38 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/
DEastAsianWidth.java44 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/
DChannelsLCStressTest.kt59 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/
DEndMillisShouldNotBeZeroTest.java20 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/
DEsys_GetTestResult.c67 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/
DMultipleParameterProvidersTest.java33 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/
DHookSuccess862Test.java14 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/
DPrintableResult.java28 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/
DInvokedMethodNameListener.java20 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/
DCoroutinesTimeoutStatement.kt21 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/
DtcuTestSessionExecutor.cpp260 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/
DIInvokedMethodListener.java9 void beforeInvocation(IInvokedMethod method, ITestResult testResult); in beforeInvocation() argument
11 void afterInvocation(IInvokedMethod method, ITestResult testResult); in afterInvocation() argument

1234