/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/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/antlr-3.4/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() 386 gUnitTestResult testResult = new gUnitTestResult(false, err.toString()); in runParser() local 387 testResult.setError(err.toString()); in runParser() 388 return testResult; in runParser() 554 gUnitTestResult testResult = new gUnitTestResult(false, err.toString()); in runTreeParser() local 555 testResult.setError(err.toString()); in runTreeParser() 556 return testResult; in runTreeParser() 632 gUnitTestResult testResult; in getTestExceptionResult() local [all …]
|
/external/boringssl/src/ssl/test/runner/ |
D | test_output.go | 31 Tests map[string]testResult `json:"tests"` 35 type testResult struct { struct 47 Tests: make(map[string]testResult), 56 t.Tests[name] = testResult{
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
D | EastAsianWidth.java | 45 byte[] testResult = new byte[1]; 46 measure(testInput, 0, 1, testResult, true); in measure() argument 48 if (testResult[0] == 1)
|
/external/deqp/framework/common/ |
D | tcuTestSessionExecutor.cpp | 231 const qpTestResult testResult = m_testCtx.getTestResult(); in leaveTestCase() local 234 DE_ASSERT(testResult != QP_TEST_RESULT_LAST); in leaveTestCase() 237 m_testCtx.getLog().endCase(testResult, testResultDesc); in leaveTestCase() 240 print(" %s (%s)\n", qpGetTestResultName(testResult), testResultDesc); in leaveTestCase() 243 switch (testResult) in leaveTestCase() 253 if (terminateAfter || testResult == QP_TEST_RESULT_RESOURCE_ERROR) in leaveTestCase()
|
/external/autotest/client/deps/webgl_perf/files/ |
D | 0002-Always-increment-numberOfResults.patch | 16 if (e.data.testResult) { 17 sumOfResults += e.data.testResult; 18 sumOfLogResults += Math.log(e.data.testResult);
|
/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()
|
D | LListener.java | 11 public void beforeInvocation(IInvokedMethod method, ITestResult testResult) { in beforeInvocation() argument 16 public void afterInvocation(IInvokedMethod method, ITestResult testResult) { in afterInvocation() argument
|
/external/junit/src/org/junit/experimental/results/ |
D | PrintableResult.java | 26 public static PrintableResult testResult(Class<?> type) { in testResult() method in PrintableResult 27 return testResult(Request.aClass(type)); in testResult() 33 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()
|
D | HookListener.java | 11 public void run(IHookCallBack callBack, ITestResult testResult) { in run() argument 13 callBack.runTestMethod(testResult); in run()
|
D | ConfigurableListener.java | 14 public void run(IConfigureCallBack callBack, ITestResult testResult) { in run() argument 20 callBack.runConfigurationMethod(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/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
|
D | IInvokedMethodListener2.java | 13 void beforeInvocation(IInvokedMethod method, ITestResult testResult, in beforeInvocation() argument 19 void afterInvocation(IInvokedMethod method, ITestResult testResult, in afterInvocation() argument
|