/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.latency != null).isTrue(); in ovicClassifier_latencyNotNull() 128 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/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/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/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/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/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/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() 282 if (terminateAfter || testResult == QP_TEST_RESULT_RESOURCE_ERROR) in leaveTestCase()
|
/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/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/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/deqp/external/openglcts/modules/glesext/texture_buffer/ |
D | esextcTextureBufferMAXSizeValidation.cpp | 184 bool testResult = true; in iterate() local 200 testResult = false; in iterate() 217 testResult = false; in iterate() 262 testResult = false; in iterate() 265 if (testResult) in iterate()
|
D | esextcTextureBufferActiveUniformValidation.cpp | 224 bool testResult = true; in iterate() local 246 testResult = false; in iterate() 273 testResult = false; in iterate() 281 testResult = false; in iterate() 308 testResult = false; in iterate() 334 testResult = false; in iterate() 353 testResult = false; in iterate() 357 if (testResult) in iterate()
|
/external/antlr/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/ |
D | GUnitExecuteMojo.java | 308 Result testResult = new Result(); in performExecution() local 309 testResult.tests = executor.numOfTest; in performExecution() 310 testResult.failures = executor.numOfFailure; in performExecution() 311 testResult.invalids = executor.numOfInvalidInput; in performExecution() 313 System.out.println( testResult.render() ); in performExecution() 315 runningResults.add( testResult ); in performExecution()
|
/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
|
/external/clang/test/Index/Core/ |
D | index-subkinds.m | 14 … [[@LINE+1]]:1 | instance-method/ObjC | testResult | c:objc(cs)MyTestCase(im)testResult | -[MyTest… 15 -(id)testResult { return 0; } method
|