/external/googletest/googlemock/test/ |
gmock_ex_test.cc | 39 using testing::HasSubstr; 75 EXPECT_THAT(ex.what(), HasSubstr("has no default value"));
|
gmock-nice-strict_test.cc | 55 using testing::HasSubstr; 130 HasSubstr("Uninteresting mock function call")); 149 HasSubstr("Uninteresting mock function call")); 164 HasSubstr("Uninteresting mock function call")); 202 HasSubstr("Uninteresting mock function call")); 226 EXPECT_THAT(ex.what(), HasSubstr("ReturnNonDefaultConstructible")); 291 HasSubstr("Uninteresting mock function call")); 310 HasSubstr("Uninteresting mock function call"));
|
/external/v8/testing/gmock/test/ |
gmock_ex_test.cc | 39 using testing::HasSubstr; 75 EXPECT_THAT(ex.what(), HasSubstr("has no default value"));
|
gmock-nice-strict_test.cc | 56 using testing::HasSubstr; 124 HasSubstr("Uninteresting mock function call")); 143 HasSubstr("Uninteresting mock function call")); 158 HasSubstr("Uninteresting mock function call")); 196 HasSubstr("Uninteresting mock function call")); 269 HasSubstr("Uninteresting mock function call")); 288 HasSubstr("Uninteresting mock function call"));
|
/frameworks/base/tools/aapt2/java/ |
AnnotationProcessor_test.cpp | 26 using ::testing::HasSubstr; 46 EXPECT_THAT(annotations, HasSubstr("@Deprecated")); 59 EXPECT_THAT(annotations, HasSubstr("@android.annotation.SystemApi")); 60 EXPECT_THAT(annotations, Not(HasSubstr("@SystemApi"))); 61 EXPECT_THAT(annotations, HasSubstr("This is a system API")); 74 EXPECT_THAT(annotations, HasSubstr("@android.annotation.TestApi")); 75 EXPECT_THAT(annotations, Not(HasSubstr("@TestApi"))); 76 EXPECT_THAT(annotations, HasSubstr("This is a test API"));
|
JavaClassGenerator_test.cpp | 27 using ::testing::HasSubstr; 79 EXPECT_THAT(output, HasSubstr("public static final int hey_man=0x01020000;")); 80 EXPECT_THAT(output, HasSubstr("public static final int[] hey_dude={")); 81 EXPECT_THAT(output, HasSubstr("public static final int hey_dude_cool_attr=0;")); 104 EXPECT_THAT(output, HasSubstr("package com.android.internal;")); 105 EXPECT_THAT(output, HasSubstr("public static final int one=0x01020000;")); 106 EXPECT_THAT(output, Not(HasSubstr("two"))); 107 EXPECT_THAT(output, Not(HasSubstr("com_foo$two"))); 130 EXPECT_THAT(output, HasSubstr("public static final class attr")); 131 EXPECT_THAT(output, Not(HasSubstr("public static final class ^attr-private"))) [all...] |
ManifestClassGenerator_test.cpp | 23 using ::testing::HasSubstr; 44 ASSERT_THAT(actual, HasSubstr("public static final class permission {")); 45 ASSERT_THAT(actual, HasSubstr("public static final class permission_group {")); 59 HasSubstr( 63 HasSubstr("public static final String DO_DANGEROUS_THINGS=\"android.DO_DANGEROUS_THINGS\";")); 65 HasSubstr("public static final String HUH=\"com.test.sample.permission.HUH\";")); 73 HasSubstr("public static final String PERMISSION=\"foo.bar.PERMISSION\";")); 101 EXPECT_THAT(actual, HasSubstr(expected_access_internet)); 108 EXPECT_THAT(actual, HasSubstr(expected_play_outside)); 116 EXPECT_THAT(actual, HasSubstr(expected_secret)) [all...] |
ProguardRules_test.cpp | 24 using ::testing::HasSubstr; 49 EXPECT_THAT(actual, HasSubstr("com.foo.Bar")); 63 EXPECT_THAT(actual, HasSubstr("com.foo.Bar")); 79 EXPECT_THAT(actual, HasSubstr("com.foo.Bar")); 80 EXPECT_THAT(actual, HasSubstr("com.foo.Baz")); 96 EXPECT_THAT(actual, HasSubstr("com.foo.Bar")); 133 EXPECT_THAT(actual, HasSubstr("-if class **.R$layout")); 134 EXPECT_THAT(actual, HasSubstr("-keep class com.foo.Bar { <init>(...); }")); 135 EXPECT_THAT(actual, HasSubstr("int foo")); 136 EXPECT_THAT(actual, HasSubstr("int bar")) [all...] |
/external/perfetto/src/ftrace_reader/ |
ftrace_procfs_integrationtest.cc | 28 using testing::HasSubstr; 88 EXPECT_THAT(GetTraceOutput(), Not(HasSubstr("Hello, World!"))); 100 EXPECT_THAT(GetTraceOutput(), HasSubstr("Hello, World!")); 113 EXPECT_THAT(GetTraceOutput(), HasSubstr("sched_switch")); 118 EXPECT_THAT(GetTraceOutput(), Not(HasSubstr("sched_switch"))); 137 EXPECT_THAT(GetTraceOutput(), HasSubstr("Before")); 138 EXPECT_THAT(GetTraceOutput(), Not(HasSubstr("During"))); 139 EXPECT_THAT(GetTraceOutput(), HasSubstr("After")); 150 EXPECT_THAT(format, HasSubstr("name: print")); 151 EXPECT_THAT(format, HasSubstr("field:char buf")) [all...] |
end_to_end_integrationtest.cc | 37 using testing::HasSubstr; 131 EXPECT_THAT(output.before(), HasSubstr("before")); 132 EXPECT_THAT(output.after(), HasSubstr("after")); 165 EXPECT_THAT(output.before(), HasSubstr("before")); 166 EXPECT_THAT(output.after(), HasSubstr("after"));
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
cpu_hlo_support_checker_test.cc | 26 using ::testing::HasSubstr; 66 HasSubstr("CPU backend does not support")); 68 HasSubstr(ShapeUtil::HumanStringWithLayout(sparse_shape)));
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
gpu_hlo_support_checker_test.cc | 26 using ::testing::HasSubstr; 66 HasSubstr("GPU backend does not support")); 68 HasSubstr(ShapeUtil::HumanStringWithLayout(sparse_shape)));
|
while_transformer_test.cc | 31 using ::testing::HasSubstr; 198 HasSubstr("Loop start must be less than loop limit.")); 217 HasSubstr("Loop increment must greater than zero."));
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_graph_dumper_test.cc | 31 using ::testing::HasSubstr; 99 EXPECT_THAT(graph, HasSubstr(instruction->name())); 117 HasSubstr(inner_sum->name())); 129 EXPECT_THAT(graph, HasSubstr("an_empty_graph")); 130 EXPECT_THAT(graph, Not(HasSubstr("i_am_a_constant_root_instruction")));
|
shape_inference_test.cc | 32 using ::testing::HasSubstr; 138 HasSubstr("operands to select must be the same shape")); 144 HasSubstr("pred operand must have PRED")); 151 HasSubstr("with non-scalar predicate with dimensionality")); 160 HasSubstr("pred operand must have PRED element type")); 343 HasSubstr("source shape does not match")); 354 HasSubstr("select function must take 2 parameters")); 365 HasSubstr("select function must have rank-0 PRED")); 376 HasSubstr("select function's first parameter")); 387 HasSubstr("select function's second parameter")) [all...] |
hlo_verifier_test.cc | 34 using ::testing::HasSubstr; 54 EXPECT_THAT(status.error_message(), HasSubstr("has a null parent pointer")); 73 EXPECT_THAT(status.error_message(), HasSubstr("has a null parent pointer")); 97 HasSubstr("is in a different computation"));
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
deallocation_test.cc | 32 using ::testing::HasSubstr; 65 HasSubstr("was previously deallocated")); 78 HasSubstr("was previously deallocated")); 91 HasSubstr("was previously deallocated")); 105 HasSubstr("was previously deallocated")); 120 HasSubstr("was previously deallocated")); 136 HasSubstr("was previously deallocated"));
|
convolution_dimension_numbers_test.cc | 46 ::testing::HasSubstr("input are not unique")); 56 ::testing::HasSubstr("weight are not unique")); 66 ::testing::HasSubstr("output are not unique"));
|
bad_rng_shape_validation_test.cc | 47 ::testing::HasSubstr("shape has invalid"));
|
deconstruct_tuple_test.cc | 38 using ::testing::HasSubstr; 198 HasSubstr("deconstructing nested tuples not yet supported"));
|
/external/pdfium/fpdfsdk/ |
fpdfsave_embeddertest.cpp | 79 EXPECT_THAT(GetString(), testing::HasSubstr("/Root ")); 80 EXPECT_THAT(GetString(), testing::HasSubstr("/Info ")); 98 EXPECT_THAT(GetString(), testing::HasSubstr("0000000000 65535 f\r\n")); 100 testing::Not(testing::HasSubstr("0000000000 65536 f\r\n")));
|
/frameworks/native/cmds/dumpsys/tests/ |
dumpsys_test.cpp | 37 using ::testing::HasSubstr; 215 EXPECT_THAT(stdout_, HasSubstr(expected)); 223 EXPECT_THAT(stdout_, HasSubstr(expected)); 227 EXPECT_THAT(stdout_, HasSubstr("DUMP OF SERVICE " + service + ":\n" + dump)); 228 EXPECT_THAT(stdout_, HasSubstr("was the duration of dumpsys " + service + ", ending at: ")); 235 HasSubstr("DUMP OF SERVICE " + priority + " " + service + ":\n" + dump)); 236 EXPECT_THAT(stdout_, HasSubstr("was the duration of dumpsys " + service + ", ending at: ")); 240 EXPECT_THAT(stdout_, Not(HasSubstr(dump))); 244 EXPECT_THAT(stderr_, HasSubstr("Can't find service: " + service + "\n"));
|
/external/google-breakpad/src/testing/test/ |
gmock-nice-strict_test.cc | 56 using testing::HasSubstr; 145 HasSubstr("Uninteresting mock function call")); 150 HasSubstr("Uninteresting mock function call"));
|
/external/tensorflow/tensorflow/core/graph/ |
subgraph_test.cc | 315 static bool HasSubstr(const string& base, const string& substr) { 331 HasSubstr(Subgraph("c:0", "b:0,c:0", ""), "both fed and fetched")); 333 EXPECT_TRUE(HasSubstr(Subgraph("foo:0", "c:0", ""), "unable to find")); 335 EXPECT_TRUE(HasSubstr(Subgraph("", "foo:0", ""), "not found")); 337 EXPECT_TRUE(HasSubstr(Subgraph("", "", "foo"), "not found")); 339 EXPECT_TRUE(HasSubstr(Subgraph("", "", ""), "at least one target"));
|
/system/core/adb/ |
bugreport_test.cpp | 33 using ::testing::HasSubstr; 397 ASSERT_THAT(GetCapturedStderr(), HasSubstr("D'OH!")); 412 ASSERT_THAT(GetCapturedStderr(), HasSubstr("D'OH!")); 426 ASSERT_THAT(GetCapturedStderr(), HasSubstr("bugreportz? What am I, a zombie?")); 461 false, HasSubstr("file.zip")))
|