/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/ |
D | MainTest.java | 27 assertContains("\"<command>\"", err); in should_print_usage_when_no_arguments_given() 28 assertContains("Usage: java -jar jacococli.jar --help | <command>", in should_print_usage_when_no_arguments_given() 30 assertContains("Command line interface for JaCoCo.", err); in should_print_usage_when_no_arguments_given() 40 assertContains("\"foo\" is not a valid value for \"<command>\"", err); in should_print_error_message_when_invalid_command_is_given() 41 assertContains("Usage: java -jar jacococli.jar --help | <command>", in should_print_error_message_when_invalid_command_is_given() 52 assertContains("Usage: java -jar jacococli.jar --help | <command>", in should_print_general_usage_when_help_option_is_given() 54 assertContains("<command> : dump|instrument|merge|report", out); in should_print_general_usage_when_help_option_is_given() 64 assertContains("Usage: java -jar jacococli.jar dump", out); in should_print_command_usage_when_command_and_help_option_is_given() 65 assertContains( in should_print_command_usage_when_command_and_help_option_is_given()
|
D | XmlDocumentationTest.java | 81 assertContains("java -jar jacococli.jar report", in should_create_documentation() 84 assertContains("Generate reports", in should_create_documentation() 88 assertContains("<execfiles>", in should_create_documentation() 92 assertContains("false", in should_create_documentation() 96 assertContains("true", in should_create_documentation() 100 assertContains("-classfiles <path>", in should_create_documentation() 104 assertContains("true", in should_create_documentation() 119 private void assertContains(String expected, String query, Document doc) in assertContains() method in XmlDocumentationTest
|
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/ |
D | MeasureMapInternalTest.java | 40 assertContains(metrics, MeasurementDouble.create(M1, 44.4)); in testPutDouble() 46 assertContains(metrics, MeasurementLong.create(M3, 9999L), MeasurementLong.create(M4, 8888L)); in testPutLong() 58 assertContains(metrics); in testPutAttachment() 70 assertContains( in testCombination() 81 assertContains(metrics); in testBuilderEmpty() 91 assertContains(builder.build(), expected.toArray(new Measurement[i])); in testBuilder() 97 assertContains( in testDuplicateMeasureDoubles() 100 assertContains( in testDuplicateMeasureDoubles() 103 assertContains( in testDuplicateMeasureDoubles() 107 assertContains( in testDuplicateMeasureDoubles() [all …]
|
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/ |
D | ClassInfoTest.java | 28 assertContains("\"--invalid\"", err); in should_print_usage_when_invalid_option_is_given() 29 assertContains( in should_print_usage_when_invalid_option_is_given() 40 assertContains("[WARN] No class files provided.", out); in should_print_warning_when_no_class_files_are_provided() 48 assertContains("class", out); in should_print_class_info() 49 assertContains("org/jacoco/cli/internal/commands/ClassInfoTest", out); in should_print_class_info() 58 assertContains("line", out); in should_print_class_details_when_verbose() 59 assertContains("method", out); in should_print_class_details_when_verbose() 60 assertContains("line", out); in should_print_class_details_when_verbose()
|
D | ExecInfoTest.java | 40 assertContains("\"--invalid\"", err); in should_print_usage_when_invalid_argument_is_given() 41 assertContains("java -jar jacococli.jar execinfo [<execfiles> ...]", in should_print_usage_when_invalid_argument_is_given() 51 assertContains("[WARN] No execution data files provided.", out); in should_print_warning_when_no_exec_files_are_provided() 61 assertContains("[INFO] Loading exec file " + execfile.getAbsolutePath(), in should_print_execution_data_info() 63 assertContains("CLASS ID HITS/PROBES CLASS NAME", out); in should_print_execution_data_info() 64 assertContains("Session \"testid\":", out); in should_print_execution_data_info() 65 assertContains("0000000000001234 2 of 3 foo/MyClass", out); in should_print_execution_data_info()
|
D | ReportTest.java | 40 assertContains("\"--classfiles\"", err); in should_print_usage_when_no_options_are_given() 41 assertContains( in should_print_usage_when_no_options_are_given() 51 assertContains("[WARN] No execution data files provided.", out); in should_print_warning_when_no_exec_files_are_provided() 59 assertContains("[INFO] Analyzing 14 classes.", out); in should_print_number_of_analyzed_classes() 78 assertContains("[WARN] Some classes do not match with execution data.", in should_print_warning_when_exec_data_does_not_match() 80 assertContains( in should_print_warning_when_exec_data_does_not_match() 83 assertContains( in should_print_warning_when_exec_data_does_not_match()
|
D | DumpTest.java | 54 assertContains("\"--destfile\"", err); in should_print_usage_when_no_argument_is_given() 55 assertContains("java -jar jacococli.jar dump [--address <address>]", in should_print_usage_when_no_argument_is_given() 69 assertContains("[INFO] Connecting to ", out); in should_write_dump() 70 assertContains("[INFO] Writing execution data to " in should_write_dump() 89 assertContains("[WARN] Connection refused", err); in should_log_connection_error_when_retry_is_specified()
|
/external/protobuf/php/tests/ |
D | generated_service_test.php | 49 $this->assertContains('foo.Greeter', $this->serviceClass->getDocComment()); 54 $this->assertContains('foo.OtherGreeter', $this->namespacedServiceClass->getDocComment()); 69 $this->assertContains($methodName, $docComment); 70 $this->assertContains('@param \Foo\HelloRequest $request', $docComment); 71 $this->assertContains('@return \Foo\HelloReply', $docComment); 79 $this->assertContains($methodName, $docComment); 80 $this->assertContains('@param \Foo\HelloRequest $request', $docComment); 81 $this->assertContains('@return \Foo\HelloReply', $docComment); 94 $this->assertContains('Foo\HelloRequest $request', (string) $param); 107 $this->assertContains('Foo\HelloRequest $request', (string) $param);
|
D | generated_phpdoc_test.php | 16 $this->assertContains('foo.TestMessage', $doc); 23 $this->assertContains('@param array $data', $doc); 24 $this->assertContains('@type int $optional_int32', $doc); 35 $this->assertContains($expectedDoc, $doc);
|
/external/llvm-project/libcxx/test/std/utilities/any/any.class/any.cons/ |
D | copy.pass.cpp | 47 assertContains<Type>(a, 42); in test_copy_throws() 78 assertContains<Type>(a, 42); in test_copy() 79 assertContains<Type>(a2, 42); in test_copy() 83 assertContains<Type>(a, -1); in test_copy() 84 assertContains<Type>(a2, 42); in test_copy() 88 assertContains<Type>(a, -1); in test_copy() 89 assertContains<Type>(a2, 999); in test_copy() 94 assertContains<Type>(a2, 999); in test_copy()
|
/external/libcxx/test/std/utilities/any/any.class/any.cons/ |
D | copy.pass.cpp | 50 assertContains<Type>(a, 42); in test_copy_throws() 81 assertContains<Type>(a, 42); in test_copy() 82 assertContains<Type>(a2, 42); in test_copy() 86 assertContains<Type>(a, -1); in test_copy() 87 assertContains<Type>(a2, 42); in test_copy() 91 assertContains<Type>(a, -1); in test_copy() 92 assertContains<Type>(a2, 999); in test_copy() 97 assertContains<Type>(a2, 999); in test_copy()
|
/external/guice/core/test/com/google/inject/ |
D | ProvisionExceptionTest.java | 19 import static com.google.inject.Asserts.assertContains; 45 assertContains( in testExceptionsCollapsed() 72 assertContains( in testExceptionsCollapsedWithScopes() 87 assertContains( in testMethodInjectionExceptions() 107 assertContains( in testBindToProviderInstanceExceptions() 123 assertContains( in testProvisionExceptionsAreWrappedForBindToType() 142 assertContains( in testProvisionExceptionsAreWrappedForBindToProviderType() 164 assertContains( in testProvisionExceptionsAreWrappedForBindToProviderInstance() 178 assertContains( in testProvisionExceptionIsSerializable() 213 assertContains( in testMultipleCauses() [all …]
|
D | JitBindingsTest.java | 20 import static com.google.inject.Asserts.assertContains; 183 assertContains(expected.getMessage(), jitFailed(ScopedFooImpl.class)); in testFailsIfInjectingScopedDirectlyWhenItIsntBound() 217 assertContains(expected.getMessage(), jitFailed(Bar.class)); in testJitGetFails() 235 assertContains(expected.getMessage(), jitFailed(Bar.class)); in testJitInjectionFails() 252 assertContains(expected.getMessage(), jitFailed(Bar.class)); in testJitProviderGetFails() 270 assertContains(expected.getMessage(), jitFailed(Bar.class)); in testJitProviderInjectionFails() 358 assertContains(expected.getMessage(), jitFailed(Foo.class)); in testChildInjectorInheritsOption() 415 assertContains(expected.getMessage(), jitFailed(Foo.class)); in testChildInjectorAddsOption() 471 assertContains(expected.getMessage(), jitFailed(Bar.class)); in testPrivateModulesInheritOptions() 518 assertContains(expected.getMessage(), jitFailed(Bar.class)); in testPrivateModuleAddsOption() [all …]
|
D | RequireAtInjectOnConstructorsTest.java | 41 Asserts.assertContains( in testNoCxtors_explicitBinding() 64 Asserts.assertContains( in testNoCxtors_jitBinding() 86 Asserts.assertContains( in testNoCxtors_implicitBinding() 115 Asserts.assertContains( in testNoCxtors_inheritedByPrivateModules() 139 Asserts.assertContains( in testNoCxtors_accumulatesAllErrors() 176 Asserts.assertContains( in testNoCxtors_separateOptionsForPrivateModules() 199 Asserts.assertContains( in testManyConstructorsButNoneWithAtInject()
|
D | BinderTest.java | 20 import static com.google.inject.Asserts.assertContains; 140 assertContains( in testMissingBindings() 169 assertContains( in testMissingDependency() 194 assertContains( in testDanglingConstantBinding() 212 assertContains( in testRecursiveBinding() 233 assertContains( in testBindingNullConstant() 330 assertContains( in testArrayTypeCanonicalization() 335 assertContains(expected.getMessage(), "1 error"); in testArrayTypeCanonicalization() 394 assertContains( in testSettingBindingTwice() 402 assertContains(expected.getMessage(), "1 error"); in testSettingBindingTwice() [all …]
|
D | CircularDependencyTest.java | 19 import static com.google.inject.Asserts.assertContains; 238 assertContains( in testUnresolvableCircularDependency() 263 assertContains( in testUnresolvableCircularDependenciesWithProviderInstances() 283 assertContains( in testUnresolvableCircularDependenciesWithProviderKeys() 295 assertContains( in testUnresolvableCircularDependenciesWithProvidedBy() 356 assertContains( in testDisabledCircularDependency() 386 assertContains( in testDisabledCircularDependenciesWithProviderInstances() 408 assertContains( in testDisabledCircularDependenciesWithProviderKeys() 428 assertContains( in testDisabledCircularDependenciesWithProvidedBy() 469 assertContains( in testDisablingCircularDependencies() [all …]
|
D | TypeLiteralInjectionTest.java | 19 import static com.google.inject.Asserts.assertContains; 44 assertContains( in testBindingToRawTypeLiteralIsNotAllowed() 62 assertContains( in testBindingToParameterizedTypeLiteralIsNotAllowed() 77 assertContains( in testInjectTypeLiteralWithRawTypes() 98 assertContains( in testInjectRawTypeLiteral()
|
D | NullableInjectionPointTest.java | 3 import static com.google.inject.Asserts.assertContains; 26 assertContains( in testInjectNullIntoNotNullableConstructor() 39 assertContains( in testInjectNullIntoNotNullableMethod() 52 assertContains( in testInjectNullIntoNotNullableField() 118 assertContains( 142 assertContains(expected.getMessage(), "null returned by binding at"); 162 assertContains(expected.getMessage(), "null returned by binding at"); 182 assertContains(
|
/external/llvm-project/libcxx/test/std/utilities/any/any.class/any.assign/ |
D | copy.pass.cpp | 53 assertContains<RHS>(lhs, 2); in test_copy_assign() 54 assertContains<RHS>(rhs, 2); in test_copy_assign() 76 assertContains<LHS>(lhs, 42); in test_copy_assign_empty() 77 assertContains<LHS>(rhs, 42); in test_copy_assign_empty() 116 assertContains<small>(a, 1); in test_copy_assign_self() 129 assertContains<large>(a, 1); in test_copy_assign_self() 161 assertContains<Tp>(rhs, 1); in test_copy_assign_throws() 173 assertContains<small>(lhs, 2); in test_copy_assign_throws() 174 assertContains<Tp>(rhs, 1); in test_copy_assign_throws() 186 assertContains<large>(lhs, 2); in test_copy_assign_throws() [all …]
|
D | value.pass.cpp | 54 assertContains<RHS>(lhs, 2); in test_assign_value() 55 assertContains<RHS>(rhs, 2); in test_assign_value() 77 assertContains<RHS>(lhs, 2); in test_assign_value() 79 assertContains<RHS>(rhs, 0); in test_assign_value() 100 assertContains<RHS>(lhs, 42); in test_assign_value_empty() 115 assertContains<RHS>(lhs, 42); in test_assign_value_empty() 158 assertContains<small>(lhs, 2); in test_assign_throws() 170 assertContains<large>(lhs, 2); in test_assign_throws()
|
/external/libcxx/test/std/utilities/any/any.class/any.assign/ |
D | copy.pass.cpp | 56 assertContains<RHS>(lhs, 2); in test_copy_assign() 57 assertContains<RHS>(rhs, 2); in test_copy_assign() 79 assertContains<LHS>(lhs, 42); in test_copy_assign_empty() 80 assertContains<LHS>(rhs, 42); in test_copy_assign_empty() 119 assertContains<small>(a, 1); in test_copy_assign_self() 132 assertContains<large>(a, 1); in test_copy_assign_self() 164 assertContains<Tp>(rhs, 1); in test_copy_assign_throws() 176 assertContains<small>(lhs, 2); in test_copy_assign_throws() 177 assertContains<Tp>(rhs, 1); in test_copy_assign_throws() 189 assertContains<large>(lhs, 2); in test_copy_assign_throws() [all …]
|
D | value.pass.cpp | 57 assertContains<RHS>(lhs, 2); in test_assign_value() 58 assertContains<RHS>(rhs, 2); in test_assign_value() 80 assertContains<RHS>(lhs, 2); in test_assign_value() 82 assertContains<RHS>(rhs, 0); in test_assign_value() 103 assertContains<RHS>(lhs, 42); in test_assign_value_empty() 118 assertContains<RHS>(lhs, 42); in test_assign_value_empty() 161 assertContains<small>(lhs, 2); in test_assign_throws() 173 assertContains<large>(lhs, 2); in test_assign_throws()
|
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2PolygonTest.java | 76 private void assertContains(String aStr, String bStr) { in assertContains() method in S2PolygonTest 84 assertContains(NEAR1, NEAR0); in testInit() 85 assertContains(NEAR2, NEAR1); in testInit() 86 assertContains(NEAR3, NEAR2); in testInit() 87 assertContains(NEAR_HEMI, NEAR3); in testInit() 88 assertContains(FAR1, FAR0); in testInit() 89 assertContains(FAR2, FAR1); in testInit() 90 assertContains(FAR3, FAR2); in testInit() 91 assertContains(FAR_HEMI, FAR3); in testInit() 92 assertContains(SOUTH1, SOUTH0a); in testInit() [all …]
|
/external/libcxx/test/std/utilities/any/any.class/any.modifiers/ |
D | swap.pass.cpp | 49 assertContains<RHS>(a1, 2); in test_swap() 50 assertContains<LHS>(a2, 1); in test_swap() 70 assertContains<Tp>(a2, 1); in test_swap_empty() 83 assertContains<Tp>(a2, 1); in test_swap_empty() 112 assertContains<T>(a, 42); in test_self_swap() 123 assertContains<T>(a, 42); in test_self_swap()
|
/external/llvm-project/libcxx/test/std/utilities/any/any.class/any.modifiers/ |
D | swap.pass.cpp | 47 assertContains<RHS>(a1, 2); in test_swap() 48 assertContains<LHS>(a2, 1); in test_swap() 68 assertContains<Tp>(a2, 1); in test_swap_empty() 81 assertContains<Tp>(a2, 1); in test_swap_empty() 110 assertContains<T>(a, 42); in test_self_swap() 121 assertContains<T>(a, 42); in test_self_swap()
|