/external/mockito/src/test/java/org/mockito/internal/verification/checkers/ |
D | NumberOfInvocationsCheckerTest.java | 53 exception.expectMessage("mock.simpleMethod()"); in shouldReportTooLittleActual() 54 exception.expectMessage("Wanted 100 times"); in shouldReportTooLittleActual() 55 exception.expectMessage("But was 2 times"); in shouldReportTooLittleActual() 66 exception.expectMessage("mock.simpleMethod()"); in shouldReportAllInvocationsStackTrace() 67 exception.expectMessage("Wanted 100 times"); in shouldReportAllInvocationsStackTrace() 68 exception.expectMessage("But was 2 times"); in shouldReportAllInvocationsStackTrace() 69 exception.expectMessage(containsTimes("-> at", 3)); in shouldReportAllInvocationsStackTrace() 80 exception.expectMessage("mock.simpleMethod()"); in shouldNotReportWithLastInvocationStackTraceIfNoInvocationsFound() 81 exception.expectMessage("Wanted 100 times"); in shouldNotReportWithLastInvocationStackTraceIfNoInvocationsFound() 82 exception.expectMessage("But was 0 times"); in shouldNotReportWithLastInvocationStackTraceIfNoInvocationsFound() [all …]
|
D | NumberOfInvocationsInOrderCheckerTest.java | 72 exception.expectMessage("mock.simpleMethod()"); in shouldReportTooLittleInvocations() 73 exception.expectMessage("Wanted 4 times"); in shouldReportTooLittleInvocations() 74 exception.expectMessage("But was 2 times"); in shouldReportTooLittleInvocations() 97 exception.expectMessage("mock.simpleMethod()"); in shouldReportTooLittleActual() 98 exception.expectMessage("Wanted 100 times"); in shouldReportTooLittleActual() 99 exception.expectMessage("But was 2 times"); in shouldReportTooLittleActual() 110 exception.expectMessage("mock.simpleMethod()"); in shouldReportWithAllInvocationsStackTrace() 111 exception.expectMessage("Wanted 100 times"); in shouldReportWithAllInvocationsStackTrace() 112 exception.expectMessage("But was 2 times"); in shouldReportWithAllInvocationsStackTrace() 113 exception.expectMessage(containsTimes("-> at", 3)); in shouldReportWithAllInvocationsStackTrace() [all …]
|
D | MissingInvocationInOrderCheckerTest.java | 65 exception.expectMessage("Wanted but not invoked:"); in shouldReportWantedButNotInvoked() 66 exception.expectMessage("mock.simpleMethod()"); in shouldReportWantedButNotInvoked() 78 exception.expectMessage("Argument(s) are different! Wanted:"); in shouldReportArgumentsAreDifferent() 79 exception.expectMessage("mock.intArgumentMethod(2222);"); in shouldReportArgumentsAreDifferent() 80 exception.expectMessage("Actual invocation has different arguments:"); in shouldReportArgumentsAreDifferent() 81 exception.expectMessage("mock.intArgumentMethod(1111);"); in shouldReportArgumentsAreDifferent() 99 exception.expectMessage("Verification in order failure"); in shouldReportWantedDiffersFromActual() 100 exception.expectMessage("Wanted but not invoked:"); in shouldReportWantedDiffersFromActual() 101 exception.expectMessage("mock.intArgumentMethod(2222);"); in shouldReportWantedDiffersFromActual() 102 exception.expectMessage("Wanted anywhere AFTER following interaction:"); in shouldReportWantedDiffersFromActual() [all …]
|
D | MissingInvocationCheckerTest.java | 48 exception.expectMessage("Wanted but not invoked:"); in shouldReportWantedButNotInvoked() 49 exception.expectMessage("mock.simpleMethod()"); in shouldReportWantedButNotInvoked() 50 exception.expectMessage("However, there was exactly 1 interaction with this mock:"); in shouldReportWantedButNotInvoked() 51 exception.expectMessage("mock.differentMethod();"); in shouldReportWantedButNotInvoked() 63 exception.expectMessage("Argument(s) are different! Wanted:"); in shouldReportWantedInvocationDiffersFromActual() 64 exception.expectMessage("mock.intArgumentMethod(2222);"); in shouldReportWantedInvocationDiffersFromActual() 65 exception.expectMessage("Actual invocation has different arguments:"); in shouldReportWantedInvocationDiffersFromActual() 66 exception.expectMessage("mock.intArgumentMethod(1111);"); in shouldReportWantedInvocationDiffersFromActual()
|
D | AtLeastXNumberOfInvocationsCheckerTest.java | 49 exception.expectMessage("iMethods.simpleMethod()"); in shouldReportTooLittleInvocationsInOrder() 50 exception.expectMessage("Wanted *at least* 2 times"); in shouldReportTooLittleInvocationsInOrder() 51 exception.expectMessage("But was 1 time"); in shouldReportTooLittleInvocationsInOrder() 79 exception.expectMessage("iMethods.simpleMethod()"); in shouldReportTooLittleInvocations() 80 exception.expectMessage("Wanted *at least* 2 times"); in shouldReportTooLittleInvocations() 81 exception.expectMessage("But was 1 time"); in shouldReportTooLittleInvocations()
|
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/ |
D | MetricRegistryTest.java | 50 thrown.expectMessage("name"); in noopAddLongGauge_NullName() 57 thrown.expectMessage("description"); in noopAddLongGauge_NullDescription() 64 thrown.expectMessage("unit"); in noopAddLongGauge_NullUnit() 71 thrown.expectMessage("labelKeys"); in noopAddLongGauge_NullLabels() 79 thrown.expectMessage("labelKey element should not be null."); in noopAddLongGauge_WithNullElement() 86 thrown.expectMessage("name"); in noopAddDoubleGauge_NullName() 93 thrown.expectMessage("description"); in noopAddDoubleGauge_NullDescription() 100 thrown.expectMessage("unit"); in noopAddDoubleGauge_NullUnit() 107 thrown.expectMessage("labelKeys"); in noopAddDoubleGauge_NullLabels() 115 thrown.expectMessage("labelKey element should not be null."); in noopAddDoubleGauge_WithNullElement() [all …]
|
D | DerivedDoubleGaugeTest.java | 57 thrown.expectMessage("labelValues"); in noopCreateTimeSeries_WithNullLabelValues() 65 thrown.expectMessage("labelValue element should not be null."); in noopCreateTimeSeries_WithNullElement() 72 thrown.expectMessage("Incorrect number of labels."); in noopCreateTimeSeries_WithInvalidLabelSize() 79 thrown.expectMessage("function"); in createTimeSeries_WithNullFunction() 86 thrown.expectMessage("labelValues"); in noopRemoveTimeSeries_WithNullLabelValues()
|
D | DerivedLongGaugeTest.java | 57 thrown.expectMessage("labelValues"); in noopCreateTimeSeries_WithNullLabelValues() 65 thrown.expectMessage("labelValue element should not be null."); in noopCreateTimeSeries_WithNullElement() 72 thrown.expectMessage("Incorrect number of labels."); in noopCreateTimeSeries_WithInvalidLabelSize() 79 thrown.expectMessage("function"); in createTimeSeries_WithNullFunction() 86 thrown.expectMessage("labelValues"); in noopRemoveTimeSeries_WithNullLabelValues()
|
/external/opencensus-java/api/src/test/java/io/opencensus/internal/ |
D | UtilsTest.java | 44 thrown.expectMessage(TEST_MESSAGE); in checkArgument() 51 thrown.expectMessage("null"); in checkArgument_NullErrorMessage() 58 thrown.expectMessage(FORMATED_SIMPLE_TEST_MESSAGE); in checkArgument_WithSimpleFormat() 65 thrown.expectMessage(FORMATED_COMPLEX_TEST_MESSAGE); in checkArgument_WithComplexFormat() 73 thrown.expectMessage(TEST_MESSAGE); in checkState() 80 thrown.expectMessage("null"); in checkState_NullErrorMessage() 88 thrown.expectMessage(TEST_MESSAGE); in checkNotNull() 95 thrown.expectMessage("null"); in checkNotNull_NullErrorMessage() 107 thrown.expectMessage("Negative size: -1"); in checkIndex_NegativeSize() 114 thrown.expectMessage("Index out of bounds: size=10, index=-2"); in checkIndex_NegativeIndex() [all …]
|
/external/mockito/src/test/java/org/mockitousage/verification/ |
D | VerificationInOrderWithCallsTest.java | 35 exceptionRule.expectMessage( "Verification in order failure" ); in shouldFailWhenMethodNotCalled() 36 exceptionRule.expectMessage( "Wanted but not invoked" ); in shouldFailWhenMethodNotCalled() 37 exceptionRule.expectMessage( "mockOne.oneArg(2)" ); in shouldFailWhenMethodNotCalled() 55 exceptionRule.expectMessage( "Verification in order failure" ); in shouldFailWhenMethodCalledTooFewTimes() 56 exceptionRule.expectMessage( "mockOne.oneArg(2)" ); in shouldFailWhenMethodCalledTooFewTimes() 57 exceptionRule.expectMessage( "Wanted 2 times" ); in shouldFailWhenMethodCalledTooFewTimes() 58 exceptionRule.expectMessage( "But was 1 time" ); in shouldFailWhenMethodCalledTooFewTimes() 76 exceptionRule.expectMessage( "Verification in order failure" ); in shouldFailWhenSingleMethodCallsAreOutOfSequence() 77 exceptionRule.expectMessage( "Wanted but not invoked" ); in shouldFailWhenSingleMethodCallsAreOutOfSequence() 78 exceptionRule.expectMessage( "mockOne.oneArg(1)" ); in shouldFailWhenSingleMethodCallsAreOutOfSequence() [all …]
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyServerBuilderTest.java | 52 thrown.expectMessage("Client SSL context can not be used for server"); in failIfSslContextIsNotServer() 59 thrown.expectMessage("keepalive time must be positive"); in failIfKeepAliveTimeNegative() 67 thrown.expectMessage("keepalive timeout must be positive"); in failIfKeepAliveTimeoutNegative() 75 thrown.expectMessage("max must be positive"); in failIfMaxConcurrentCallsPerConnectionNegative() 83 thrown.expectMessage("maxHeaderListSize must be > 0"); in failIfMaxHeaderListSizeNegative() 91 thrown.expectMessage("max connection idle must be positive"); in failIfMaxConnectionIdleNegative() 99 thrown.expectMessage("max connection age must be positive"); in failIfMaxConnectionAgeNegative() 107 thrown.expectMessage("max connection age grace must be non-negative"); in failIfMaxConnectionAgeGraceNegative() 115 thrown.expectMessage("permit keepalive time must be non-negative"); in failIfPermitKeepAliveTimeNegative()
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/metrics/ |
D | MetricRegistryImplTest.java | 95 thrown.expectMessage("name"); in addLongGauge_NullName() 102 thrown.expectMessage("description"); in addLongGauge_NullDescription() 109 thrown.expectMessage("unit"); in addLongGauge_NullUnit() 116 thrown.expectMessage("labelKeys"); in addLongGauge_NullLabels() 124 thrown.expectMessage("labelKey element should not be null."); in addLongGauge_WithNullElement() 131 thrown.expectMessage("name"); in addDoubleGauge_NullName() 138 thrown.expectMessage("description"); in addDoubleGauge_NullDescription() 145 thrown.expectMessage("unit"); in addDoubleGauge_NullUnit() 152 thrown.expectMessage("labelKeys"); in addDoubleGauge_NullLabels() 160 thrown.expectMessage("labelKey element should not be null."); in addDoubleGauge_WithNullElement() [all …]
|
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/ |
D | SummaryTest.java | 48 thrown.expectMessage("percentile must be in the interval (0.0, 100.0]"); in createValueAtPercentile_InvalidValueAtPercentileInterval() 55 thrown.expectMessage("value must be non-negative"); in createValueAtPercentile_NegativeValue() 84 thrown.expectMessage("count must be non-negative"); in createSnapshot_NegativeCount() 91 thrown.expectMessage("sum must be non-negative"); in createSnapshot_NegativeSum() 98 thrown.expectMessage("sum must be 0 if count is 0"); in createSnapshot_ZeroCountAndNonZeroSum() 105 thrown.expectMessage("valueAtPercentiles"); in createSnapshot_NullValueAtPercentilesList() 112 thrown.expectMessage("value in valueAtPercentiles"); in createSnapshot_OneNullValueAtPercentile() 130 thrown.expectMessage("count must be non-negative"); in createSummary_NegativeCount() 138 thrown.expectMessage("sum must be non-negative"); in createSummary_NegativeSum() 146 thrown.expectMessage("sum must be 0 if count is 0"); in createSummary_ZeroCountAndNonZeroSum() [all …]
|
D | DistributionTest.java | 68 thrown.expectMessage("exemplar"); in createBucket_preventNullExemplar() 103 thrown.expectMessage("bucket boundary should be > 0"); in createAndGet_ExplicitBucketsNegativeBounds() 136 thrown.expectMessage("bucket boundaries not sorted."); in createBucketOptions_UnorderedBucketBounds() 180 thrown.expectMessage("bucket count should be non-negative."); in createBucket_NegativeCount() 187 thrown.expectMessage("attachments"); in createExemplar_PreventNullAttachments() 195 thrown.expectMessage("key of attachment"); in createExemplar_PreventNullAttachmentKey() 203 thrown.expectMessage("value of attachment"); in createExemplar_PreventNullAttachmentValue() 215 thrown.expectMessage("count should be non-negative."); in createDistribution_NegativeCount() 227 thrown.expectMessage("sum of squared deviations should be non-negative."); in createDistribution_NegativeSumOfSquaredDeviations() 239 thrown.expectMessage("sum should be 0 if count is 0."); in createDistribution_ZeroCountAndPositiveMean() [all …]
|
D | TimeSeriesTest.java | 65 thrown.expectMessage(CoreMatchers.equalTo("labelValues")); in create_WithNullLabelValueList() 73 thrown.expectMessage(CoreMatchers.equalTo("labelValue")); in create_WithNullLabelValue() 80 thrown.expectMessage(CoreMatchers.equalTo("points")); in create_WithNullPointList() 88 thrown.expectMessage(CoreMatchers.equalTo("point")); in create_WithNullPoint() 107 thrown.expectMessage(CoreMatchers.equalTo("labelValues")); in createWithOnePoint_WithNullLabelValueList() 115 thrown.expectMessage(CoreMatchers.equalTo("labelValue")); in createWithOnePoint_WithNullLabelValue() 122 thrown.expectMessage(CoreMatchers.equalTo("point")); in createWithOnePoint_WithNullPointList()
|
D | MetricTest.java | 111 thrown.expectMessage(errorMessage); in typeMismatch() 118 thrown.expectMessage("metricDescriptor"); in create_WithNullMetricDescriptor() 125 thrown.expectMessage("timeSeriesList"); in create_WithNullTimeSeriesList() 132 thrown.expectMessage("timeSeries"); in create_WithNullTimeSeries() 148 thrown.expectMessage("timeSeries"); in createWithOneTimeSeries_WithNullTimeSeries() 155 thrown.expectMessage("metricDescriptor"); in createWithOneTimeSeries_WithNullMetricDescriptor()
|
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverStatsExporterTest.java | 58 thrown.expectMessage("configuration"); in createWithNullStackdriverStatsConfiguration() 70 thrown.expectMessage("Duration must be positive"); in createWithNegativeDuration_WithConfiguration() 78 thrown.expectMessage("credentials"); in createWithNullCredentials() 87 thrown.expectMessage("projectId"); in createWithNullProjectId() 96 thrown.expectMessage("exportInterval"); in createWithNullDuration() 105 thrown.expectMessage("Duration must be positive"); in createWithNegativeDuration() 115 thrown.expectMessage("Stackdriver stats exporter is already created."); in createExporterTwice() 126 thrown.expectMessage("monitoredResource"); in createWithNullMonitoredResource()
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | StubbingWithThrowablesTest.java | 162 exception.expectMessage("Cannot stub with null throwable"); in shouldNotAllowNullExceptionType() 188 exception.expectMessage("Checked exception is invalid for this method"); in shouldNotAllowSettingInvalidCheckedException() 196 exception.expectMessage("Cannot stub with null throwable"); in shouldNotAllowSettingNullThrowable() 204 exception.expectMessage("Cannot stub with null throwable"); in shouldNotAllowSettingNullThrowableArray() 212 exception.expectMessage("Exception type cannot be null"); in shouldNotAllowSettingNullThrowableClass() 220 exception.expectMessage("Exception type cannot be null"); in shouldNotAllowSettingNullThrowableClasses() 228 exception.expectMessage("Exception type cannot be null"); in shouldNotAllowSettingNullVarArgThrowableClass() 236 exception.expectMessage("Exception type cannot be null"); in doThrowShouldNotAllowSettingNullThrowableClass() 244 exception.expectMessage("Exception type cannot be null"); in doThrowShouldNotAllowSettingNullThrowableClasses() 252 exception.expectMessage("Exception type cannot be null"); in doThrowShouldNotAllowSettingNullVarArgThrowableClasses() [all …]
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/propagation/ |
D | BinaryFormatImplTest.java | 101 expectedException.expectMessage("Unsupported version."); in fromBinaryValue_EmptyInput() 108 expectedException.expectMessage("Unsupported version."); in fromBinaryValue_UnsupportedVersionId() 119 expectedException.expectMessage( in fromBinaryValue_UnsupportedFieldIdFirst() 131 expectedException.expectMessage( in fromBinaryValue_UnsupportedFieldIdSecond() 156 expectedException.expectMessage("Invalid input: truncated"); in fromBinaryValue_ShorterTraceId() 164 expectedException.expectMessage("Invalid input: truncated"); in fromBinaryValue_ShorterSpanId() 171 expectedException.expectMessage("Invalid input: truncated"); in fromBinaryValue_ShorterTraceOptions()
|
/external/opencensus-java/api/src/test/java/io/opencensus/common/ |
D | DurationTest.java | 47 thrown.expectMessage("'seconds' is less than minimum (-315576000000): -315576000001"); in create_SecondsTooLow() 54 thrown.expectMessage("'seconds' is greater than maximum (315576000000): 315576000001"); in create_SecondsTooHigh() 61 thrown.expectMessage("'nanos' is less than minimum (-999999999): -1000000000"); in create_NanosTooLow() 68 thrown.expectMessage("'nanos' is greater than maximum (999999999): 1000000000"); in create_NanosTooHigh() 75 thrown.expectMessage("'seconds' and 'nanos' have inconsistent sign: seconds=-1, nanos=1"); in create_NegativeSecondsPositiveNanos() 82 thrown.expectMessage("'seconds' and 'nanos' have inconsistent sign: seconds=1, nanos=-1"); in create_PositiveSecondsNegativeNanos() 104 thrown.expectMessage("'seconds' is less than minimum (-315576000000): -315576000001"); in fromMillis_TooLow() 111 thrown.expectMessage("'seconds' is greater than maximum (315576000000): 315576000001"); in fromMillis_TooHigh()
|
D | TimestampTest.java | 47 thrown.expectMessage("'seconds' is less than minimum (-315576000000): -315576000001"); in create_SecondsTooLow() 54 thrown.expectMessage("'seconds' is greater than maximum (315576000000): 315576000001"); in create_SecondsTooHigh() 61 thrown.expectMessage("'nanos' is less than zero: -1"); in create_NanosTooLow_PositiveTime() 68 thrown.expectMessage("'nanos' is greater than maximum (999999999): 1000000000"); in create_NanosTooHigh_PositiveTime() 75 thrown.expectMessage("'nanos' is less than zero: -1"); in create_NanosTooLow_NegativeTime() 82 thrown.expectMessage("'nanos' is greater than maximum (999999999): 1000000000"); in create_NanosTooHigh_NegativeTime() 103 thrown.expectMessage("'seconds' is less than minimum (-315576000000): -315576000001"); in fromMillis_TooLow() 110 thrown.expectMessage("'seconds' is greater than maximum (315576000000): 315576000001"); in fromMillis_TooHigh()
|
D | ServerStatsEncodingTest.java | 97 thrown.expectMessage("Serialized ServiceStats contains invalid values"); in negativeLbLatencyValueTest() 118 thrown.expectMessage("Serialized ServiceStats contains invalid values"); in negativeServerLatencyValueTest() 129 thrown.expectMessage("Serialized ServerStats buffer is empty"); in emptySerializedBuffer() 140 thrown.expectMessage("Invalid ServerStats version: -1"); in invalidNegativeVersion() 151 thrown.expectMessage( in invalidCompatibleVersion()
|
/external/libchrome/base/android/javatests/src/org/chromium/base/ |
D | AsyncTaskTest.java | 73 thrown.expectMessage( in testChromeThreadPoolExecutorRunnables() 75 thrown.expectMessage( in testChromeThreadPoolExecutorRunnables() 98 thrown.expectMessage(CoreMatchers.containsString( in testChromeThreadPoolExecutorChromeAsyncTask() 100 thrown.expectMessage(CoreMatchers.not(CoreMatchers.containsString("SpecialOsAsyncTask"))); in testChromeThreadPoolExecutorChromeAsyncTask() 122 thrown.expectMessage( in testChromeThreadPoolExecutorOsAsyncTask() 124 thrown.expectMessage( in testChromeThreadPoolExecutorOsAsyncTask()
|
/external/opencensus-java/api/src/test/java/io/opencensus/stats/ |
D | AggregationDataTest.java | 88 thrown.expectMessage("attachments"); in testExemplar_PreventNullAttachments() 96 thrown.expectMessage("key of attachment"); in testExemplar_PreventNullAttachmentKey() 104 thrown.expectMessage("value of attachment"); in testExemplar_PreventNullAttachmentValue() 111 thrown.expectMessage("bucketCounts"); in preventNullBucketCountList() 118 thrown.expectMessage("bucket"); in preventNullBucket() 125 thrown.expectMessage("exemplar list should not be null."); in preventNullExemplarList() 132 thrown.expectMessage("exemplar"); in preventNullExemplar() 140 thrown.expectMessage("max should be greater or equal to min."); in preventMinIsGreaterThanMax()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ServiceDescriptorTest.java | 45 thrown.expectMessage("name"); in failsOnNullName() 53 thrown.expectMessage("methods"); in failsOnNullMethods() 61 thrown.expectMessage("method"); in failsOnNullMethod() 77 thrown.expectMessage("service names"); in failsOnNonMatchingNames() 99 thrown.expectMessage("duplicate"); in failsOnNonDuplicateNames()
|