Home
last modified time | relevance | path

Searched refs:getStatus (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DLineImplTest.java37 assertEquals(ICounter.EMPTY, line.getStatus()); in testEMPTY()
92 assertEquals(ICounter.NOT_COVERED, line.getStatus()); in testGetStatus1()
99 assertEquals(ICounter.NOT_COVERED, line.getStatus()); in testGetStatus2()
106 assertEquals(ICounter.FULLY_COVERED, line.getStatus()); in testGetStatus3()
113 assertEquals(ICounter.FULLY_COVERED, line.getStatus()); in testGetStatus4()
120 assertEquals(ICounter.PARTLY_COVERED, line.getStatus()); in testGetStatus5()
127 assertEquals(ICounter.PARTLY_COVERED, line.getStatus()); in testGetStatus6()
DCounterImplTest.java137 assertEquals(ICounter.EMPTY, c.getStatus()); in testGetMissedStatus1()
143 assertEquals(ICounter.NOT_COVERED, c.getStatus()); in testGetMissedStatus2()
149 assertEquals(ICounter.FULLY_COVERED, c.getStatus()); in testGetMissedStatus3()
155 assertEquals(ICounter.PARTLY_COVERED, c.getStatus()); in testGetMissedStatus4()
/external/grpc-grpc-java/protobuf/src/test/java/io/grpc/protobuf/
DStatusProtoTest.java49 assertEquals(STATUS_PROTO.getCode(), sre.getStatus().getCode().value()); in toStatusRuntimeException()
50 assertEquals(STATUS_PROTO.getMessage(), sre.getStatus().getDescription()); in toStatusRuntimeException()
59 assertEquals(STATUS_PROTO.getCode(), sre.getStatus().getCode().value()); in toStatusRuntimeExceptionWithMetadata_shouldIncludeMetadata()
60 assertEquals(STATUS_PROTO.getMessage(), sre.getStatus().getDescription()); in toStatusRuntimeExceptionWithMetadata_shouldIncludeMetadata()
91 assertEquals(STATUS_PROTO.getCode(), se.getStatus().getCode().value()); in toStatusException()
92 assertEquals(STATUS_PROTO.getMessage(), se.getStatus().getDescription()); in toStatusException()
101 assertEquals(STATUS_PROTO.getCode(), se.getStatus().getCode().value()); in toStatusExceptionWithMetadata_shouldIncludeMetadata()
102 assertEquals(STATUS_PROTO.getMessage(), se.getStatus().getDescription()); in toStatusExceptionWithMetadata_shouldIncludeMetadata()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/verifier/
DAbstractVerifierTestCase.java72 if (result.getStatus() != VerificationResult.VERIFIED_OK) { in doAllPasses()
77 if (result.getStatus() != VerificationResult.VERIFIED_OK) { in doAllPasses()
83 if (result.getStatus() != VerificationResult.VERIFIED_OK) { in doAllPasses()
87 if (result.getStatus() != VerificationResult.VERIFIED_OK) { in doAllPasses()
DVerifierTestCase.java34 result.getStatus()); in testDefaultMethodValidation()
39 result.getStatus()); in testDefaultMethodValidation()
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
Dpause-play.js58 const status = this.getStatus();
70 getStatus() { method in TestRunner
105 function getStatus() { function
106 return testRunner ? testRunner.getStatus() : 'not-initialized';
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DLoadBalancerTest.java51 assertThat(result.getStatus()).isSameAs(Status.OK); in pickResult_withSubchannel()
60 assertThat(result.getStatus()).isSameAs(Status.OK); in pickResult_withSubchannelAndTracer()
69 assertThat(result.getStatus()).isSameAs(Status.OK); in pickResult_withNoResult()
78 assertThat(result.getStatus()).isSameAs(status); in pickResult_withError()
87 assertThat(result.getStatus()).isSameAs(status); in pickResult_withDrop()
119 assertThat(error1.getStatus()).isEqualTo(drop1.getStatus()); in pickResult_equals()
DPickFirstLoadBalancerTest.java174 assertEquals(error, pickerCaptor.getValue().pickSubchannel(mockArgs).getStatus()); in pickAfterStateChangeAfterResolution()
178 assertEquals(Status.OK, pickerCaptor.getValue().pickSubchannel(mockArgs).getStatus()); in pickAfterStateChangeAfterResolution()
194 assertEquals(error, pickResult.getStatus()); in nameResolutionError()
234 assertEquals(error, pickResult.getStatus()); in nameResolutionErrorWithStateChanges()
243 assertEquals(error2, pickResult.getStatus()); in nameResolutionErrorWithStateChanges()
/external/nanohttpd/nanolets/src/main/java/fi/iki/elonen/router/
DRouterNanoHTTPD.java89 public abstract IStatus getStatus(); in getStatus() method in RouterNanoHTTPD.DefaultStreamHandler
94 return NanoHTTPD.newChunkedResponse(getStatus(), getMimeType(), getData()); in get()
122 public abstract IStatus getStatus(); in getStatus() method in RouterNanoHTTPD.DefaultHandler
125 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), getText()); in get()
150 public IStatus getStatus() { in getStatus() method in RouterNanoHTTPD.GeneralHandler
173 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), text.toString()); in get()
206 public IStatus getStatus() { in getStatus() method in RouterNanoHTTPD.StaticPageHandler
233 …return NanoHTTPD.newChunkedResponse(getStatus(), getMimeTypeForFile(fileOrdirectory.getName()), fi… in get()
260 public IStatus getStatus() { in getStatus() method in RouterNanoHTTPD.Error404UriHandler
280 public IStatus getStatus() { in getStatus() method in RouterNanoHTTPD.IndexHandler
[all …]
/external/testng/src/test/java/test/retryAnalyzer/
DExitCodeTest.java15 assertEquals(tng.getStatus(), 0); in exitsWithZeroOnSuccess()
22 assertTrue(tng.getStatus() != 0); in exitsWithNonzeroOnFailure()
29 assertEquals(tng.getStatus(), 0); in exitsWithZeroAfterSuccessfulRetry()
/external/testng/src/test/java/test/inject/
DInjectAfterMethodWithTestResultSampleTest.java41 if (("pass".equals(name) && r.getStatus() == ITestResult.SUCCESS) in after()
42 || ("fail".equals(name) && r.getStatus() == ITestResult.FAILURE) in after()
43 || ("skip".equals(name) && r.getStatus() == ITestResult.SKIP)) { in after()
DInjectBeforeAndAfterMethodsWithTestResultSampleTest.java47 if (("pass".equals(name) && r.getStatus() == ITestResult.SUCCESS) in after()
48 || ("fail".equals(name) && r.getStatus() == ITestResult.FAILURE) in after()
49 || ("skip".equals(name) && r.getStatus() == ITestResult.SKIP)) { in after()
/external/autotest/client/site_tests/video_WebRtcResolutionSwitching/
Dresolution-switching.js71 getStatus() { method in TestRunner
107 function getStatus() { function
108 return testRunner ? testRunner.getStatus() : 'not-initialized';
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DEndSpanOptionsTest.java31 assertThat(EndSpanOptions.DEFAULT.getStatus()).isNull(); in endSpanOptions_DefaultOptions()
38 assertThat(endSpanOptions.getStatus()).isEqualTo(Status.OK); in setStatus_Ok()
47 assertThat(endSpanOptions.getStatus()) in setStatus_Error()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAsyncTaskTest.java126 assertThat(asyncTask.getStatus()).isEqualTo(AsyncTask.Status.PENDING); in shouldGetStatusForAsyncTask()
128 assertThat(asyncTask.getStatus()).isEqualTo(AsyncTask.Status.RUNNING); in shouldGetStatusForAsyncTask()
130 assertThat(asyncTask.getStatus()).isEqualTo(AsyncTask.Status.FINISHED); in shouldGetStatusForAsyncTask()
162 assertThat(asyncTask.getStatus()).isEqualTo(AsyncTask.Status.PENDING); in executeOnExecutor_usesPassedExecutor()
166 assertThat(asyncTask.getStatus()).isEqualTo(AsyncTask.Status.FINISHED); in executeOnExecutor_usesPassedExecutor()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContentResolver.java448 Status status = getStatus(account, authority, true);
455 Status status = getStatus(account, authority);
470 ShadowContentResolver.Status status = getStatus(account, authority);
477 getStatus(account, authority, true).state = syncable;
482 return getStatus(account, authority, true).state;
487 return getStatus(account, authority, true).syncAutomatically;
492 getStatus(account, authority, true).syncAutomatically = sync;
500 getStatus(account, authority, true)
508 Status status = getStatus(account, authority);
521 return getStatus(account, authority, true).syncs;
[all …]
/external/autotest/client/site_tests/video_WebRtcMainFeedSwitching/
Dmain-feed-switching.js75 getStatus() { method in TestRunner
115 function getStatus() { function
116 return testRunner ? testRunner.getStatus() : 'not-initialized';
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/
DVerifyDialog.java505 if (vr.getStatus() == VerificationResult.VERIFIED_OK) { in pass1Button_ActionPerformed()
509 if (vr.getStatus() == VerificationResult.VERIFIED_REJECTED) { in pass1Button_ActionPerformed()
521 if (vr.getStatus() == VerificationResult.VERIFIED_OK) { in pass2Button_ActionPerformed()
525 if (vr.getStatus() == VerificationResult.VERIFIED_NOTYET) { in pass2Button_ActionPerformed()
529 if (vr.getStatus() == VerificationResult.VERIFIED_REJECTED) { in pass2Button_ActionPerformed()
542 if (vr.getStatus() == VerificationResult.VERIFIED_OK) { in pass4Button_ActionPerformed()
549 if (vr.getStatus() != VerificationResult.VERIFIED_OK) { in pass4Button_ActionPerformed()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DLineImpl.java122 public int getStatus() { in getStatus() method in LineImpl
123 return instructions.getStatus() | branches.getStatus(); in getStatus()
/external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/
DCount.java43 public String getStatus() { in getStatus() method in Count
44 return service.getStatus(); in getStatus()
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
DAppNanolets.java91 public NanoHTTPD.Response.IStatus getStatus() { in getStatus() method in AppNanolets.UserHandler
99 return NanoHTTPD.newFixedLengthResponse(getStatus(), getMimeType(), inp, size); in get()
112 public IStatus getStatus() { in getStatus() method in AppNanolets.StreamUrl
/external/brotli/java/org/brotli/wrapper/dec/
DDecoder.java72 switch (decoder.getStatus()) { in decode()
145 while (decoder.getStatus() != DecoderJNI.Status.DONE) { in decompress()
146 switch (decoder.getStatus()) { in decompress()
/external/grpc-grpc/src/php/tests/interop/
Dinterop_client.php288 hardAssertIfStatusOk($call->getStatus());
325 hardAssertIfStatusOk($call->getStatus());
338 hardAssertIfStatusOk($call->getStatus());
376 hardAssert($call->getStatus()->code === Grpc\STATUS_CANCELLED,
395 hardAssert($call->getStatus()->code === Grpc\STATUS_DEADLINE_EXCEEDED,
450 hardAssertIfStatusOk($streaming_call->getStatus());
494 $status = $streaming_call->getStatus();
/external/testng/src/test/java/test/invokedmethodlistener/
DMyListener.java20 suiteStatus = testResult.getStatus(); in afterInvocation()
24 methodStatus = testResult.getStatus(); in afterInvocation()
/external/grpc-grpc/src/php/tests/generated_code/
DAbstractGeneratedCodeTest.php176 $status = $call->getStatus();
199 $status = $call->getStatus();
228 $status = $call->getStatus();
260 $status = $call->getStatus();

1234567891011