Home
last modified time | relevance | path

Searched refs:EXPECT_THAT (Results 1 – 25 of 1578) sorted by relevance

12345678910>>...64

/external/llvm-project/clang-tools-extra/clangd/unittests/
DFuzzyMatchTests.cpp80 EXPECT_THAT("", matches("unique_ptr")); in TEST()
81 EXPECT_THAT("u_p", matches("[u]nique[_p]tr")); in TEST()
82 EXPECT_THAT("up", matches("[u]nique_[p]tr")); in TEST()
83 EXPECT_THAT("uq", Not(matches("unique_ptr"))); in TEST()
84 EXPECT_THAT("qp", Not(matches("unique_ptr"))); in TEST()
85 EXPECT_THAT("log", Not(matches("SVGFEMorphologyElement"))); in TEST()
87 EXPECT_THAT("tit", matches("win.[tit]")); in TEST()
88 EXPECT_THAT("title", matches("win.[title]")); in TEST()
89 EXPECT_THAT("WordCla", matches("[Word]Character[Cla]ssifier")); in TEST()
90 EXPECT_THAT("WordCCla", matches("[WordC]haracter[Cla]ssifier")); in TEST()
[all …]
/external/icing/icing/transform/icu/
Dicu-normalizer_test.cc47 EXPECT_THAT(normalizer_factory::Create( in TEST_F()
50 EXPECT_THAT(normalizer_factory::Create( in TEST_F()
53 EXPECT_THAT(normalizer_factory::Create( in TEST_F()
60 EXPECT_THAT(normalizer_->NormalizeTerm(""), Eq("")); in TEST_F()
61 EXPECT_THAT(normalizer_->NormalizeTerm("hello world"), Eq("hello world")); in TEST_F()
62 EXPECT_THAT(normalizer_->NormalizeTerm("你好"), Eq("你好")); in TEST_F()
63 EXPECT_THAT(normalizer_->NormalizeTerm("キャンパス"), Eq("キャンパス")); in TEST_F()
64 EXPECT_THAT(normalizer_->NormalizeTerm("안녕하세요"), Eq("안녕하세요")); in TEST_F()
68 EXPECT_THAT(normalizer_->NormalizeTerm("MDI"), Eq("mdi")); in TEST_F()
69 EXPECT_THAT(normalizer_->NormalizeTerm("Icing"), Eq("icing")); in TEST_F()
[all …]
/external/icing/icing/transform/map/
Dmap-normalizer_test.cc34 EXPECT_THAT(normalizer_factory::Create( in TEST()
37 EXPECT_THAT(normalizer_factory::Create( in TEST()
40 EXPECT_THAT(normalizer_factory::Create( in TEST()
50 EXPECT_THAT(normalizer->NormalizeTerm(""), Eq("")); in TEST()
51 EXPECT_THAT(normalizer->NormalizeTerm("hello world"), Eq("hello world")); in TEST()
52 EXPECT_THAT(normalizer->NormalizeTerm("你好"), Eq("你好")); in TEST()
53 EXPECT_THAT(normalizer->NormalizeTerm("キャンパス"), Eq("キャンパス")); in TEST()
54 EXPECT_THAT(normalizer->NormalizeTerm("안녕하세요"), Eq("안녕하세요")); in TEST()
61 EXPECT_THAT(normalizer->NormalizeTerm("MDI"), Eq("mdi")); in TEST()
62 EXPECT_THAT(normalizer->NormalizeTerm("Icing"), Eq("icing")); in TEST()
[all …]
/external/icing/icing/file/
Dfile-backed-bitmap_test.cc68 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
69 EXPECT_THAT(bitmap->Get(0), IsOkAndHolds(false)); in TEST_F()
82 EXPECT_THAT(bitmap->Get(0), IsOkAndHolds(false)); in TEST_F()
83 EXPECT_THAT(bitmap->Get(100000), IsOkAndHolds(true)); in TEST_F()
84 EXPECT_THAT(bitmap->Get(200000), IsOkAndHolds(false)); in TEST_F()
88 EXPECT_THAT(bitmap->Get(50), IsOkAndHolds(true)); in TEST_F()
93 EXPECT_THAT(bitmap->Get(100000), IsOkAndHolds(false)); in TEST_F()
94 EXPECT_THAT(bitmap->Get(200000), IsOkAndHolds(true)); in TEST_F()
103 EXPECT_THAT(bitmap->NumBits(), GetBlockCapacity(1)); in TEST_F()
104 EXPECT_THAT(bitmap->Get(GetBlockCapacity(1) - 1), IsOkAndHolds(false)); in TEST_F()
[all …]
/external/icing/icing/tokenization/reverse_jni/
Dreverse-jni-language-segmenter_test.cc133 EXPECT_THAT(language_segmenter->GetAllTerms(""), IsOkAndHolds(IsEmpty())); in TEST_P()
141 EXPECT_THAT(language_segmenter->GetAllTerms("Hello World"), in TEST_P()
151 EXPECT_THAT( in TEST_P()
154 EXPECT_THAT(language_segmenter->GetAllTerms("Open-source project"), in TEST_P()
156 EXPECT_THAT(language_segmenter->GetAllTerms("100%"), in TEST_P()
158 EXPECT_THAT(language_segmenter->GetAllTerms("A&B"), in TEST_P()
168 EXPECT_THAT(language_segmenter->GetAllTerms("Pay $1000"), in TEST_P()
170 EXPECT_THAT(language_segmenter->GetAllTerms("A+B"), in TEST_P()
175 EXPECT_THAT(language_segmenter->GetAllTerms(text_with_tab), in TEST_P()
187 EXPECT_THAT(language_segmenter->GetAllTerms("。?·Hello!×"), in TEST_P()
[all …]
/external/icing/icing/tokenization/icu/
Dicu-language-segmenter_test.cc139 EXPECT_THAT(language_segmenter->GetAllTerms(""), IsOkAndHolds(IsEmpty())); in TEST_P()
147 EXPECT_THAT(language_segmenter->GetAllTerms("Hello World"), in TEST_P()
157 EXPECT_THAT( in TEST_P()
160 EXPECT_THAT(language_segmenter->GetAllTerms("Open-source project"), in TEST_P()
162 EXPECT_THAT(language_segmenter->GetAllTerms("100%"), in TEST_P()
164 EXPECT_THAT(language_segmenter->GetAllTerms("A&B"), in TEST_P()
174 EXPECT_THAT(language_segmenter->GetAllTerms("Pay $1000"), in TEST_P()
176 EXPECT_THAT(language_segmenter->GetAllTerms("A+B"), in TEST_P()
181 EXPECT_THAT(language_segmenter->GetAllTerms(text_with_tab), in TEST_P()
193 EXPECT_THAT(language_segmenter->GetAllTerms("。?·Hello!×"), in TEST_P()
[all …]
/external/webrtc/modules/video_coding/
Dchain_diff_calculator_unittest.cc28 EXPECT_THAT(calculator.From(1, {true}), ElementsAre(0)); in TEST()
30 EXPECT_THAT(calculator.From(2, {false}), ElementsAre(1)); in TEST()
32 EXPECT_THAT(calculator.From(3, {true}), ElementsAre(2)); in TEST()
41 EXPECT_THAT(calculator.From(1, {true, true}), ElementsAre(0, 0)); in TEST()
43 EXPECT_THAT(calculator.From(2, {false, true}), ElementsAre(1, 1)); in TEST()
45 EXPECT_THAT(calculator.From(3, {false, false}), ElementsAre(2, 1)); in TEST()
47 EXPECT_THAT(calculator.From(4, {false, false}), ElementsAre(3, 2)); in TEST()
49 EXPECT_THAT(calculator.From(5, {true, true}), ElementsAre(4, 3)); in TEST()
51 EXPECT_THAT(calculator.From(6, {false, true}), ElementsAre(1, 1)); in TEST()
60 EXPECT_THAT(calculator.From(1, {true, true}), ElementsAre(0, 0)); in TEST()
[all …]
/external/tensorflow/tensorflow/lite/nnapi/
Dnnapi_handler_test.cc52 EXPECT_THAT(device_count, Eq(999)); in TEST_F()
65 EXPECT_THAT(nnapi_orig_copy.ANeuralNetworks_getDeviceCount, in TEST_F()
85 EXPECT_THAT(nnapi->ANeuralNetworks_getDeviceCount(&device_count), Eq(1)); in TEST_F()
104 EXPECT_THAT(nnapi->ANeuralNetworks_getDeviceCount, IsNull()); in TEST_F()
105 EXPECT_THAT(nnapi->ANeuralNetworks_getDevice, IsNull()); in TEST_F()
106 EXPECT_THAT(nnapi->ANeuralNetworksDevice_getName, IsNull()); in TEST_F()
107 EXPECT_THAT(nnapi->ANeuralNetworksDevice_getVersion, IsNull()); in TEST_F()
108 EXPECT_THAT(nnapi->ANeuralNetworksDevice_getFeatureLevel, IsNull()); in TEST_F()
109 EXPECT_THAT(nnapi->ANeuralNetworksDevice_getType, IsNull()); in TEST_F()
110 EXPECT_THAT(nnapi->ANeuralNetworksModel_getSupportedOperationsForDevices, in TEST_F()
[all …]
/external/icing/icing/index/
Dindex_test.cc136 EXPECT_THAT( in TEST_F()
139 EXPECT_THAT( in TEST_F()
148 EXPECT_THAT(itr->Advance(), in TEST_F()
154 EXPECT_THAT(itr->Advance(), in TEST_F()
165 EXPECT_THAT(itr->Advance(), in TEST_F()
171 EXPECT_THAT(itr->Advance(), in TEST_F()
178 EXPECT_THAT(edit.BufferTerm("foo"), IsOk()); in TEST_F()
179 EXPECT_THAT(edit.IndexAllBufferedTerms(), IsOk()); in TEST_F()
184 EXPECT_THAT(itr->Advance(), in TEST_F()
186 EXPECT_THAT(itr->doc_hit_info(), in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/testing/
Dtokenize_test.cc44 EXPECT_THAT(TokenizeString("x :1"), ElementsAre("x", ":", "1")); in TEST()
45 EXPECT_THAT(TokenizeString("x:1"), ElementsAre("x", ":", "1")); in TEST()
46 EXPECT_THAT(TokenizeString("x {1"), ElementsAre("x", "{", "1")); in TEST()
47 EXPECT_THAT(TokenizeString("x{1"), ElementsAre("x", "{", "1")); in TEST()
48 EXPECT_THAT(TokenizeString("x }1"), ElementsAre("x", "}", "1")); in TEST()
49 EXPECT_THAT(TokenizeString("x}1"), ElementsAre("x", "}", "1")); in TEST()
50 EXPECT_THAT(TokenizeString("x \"1"), ElementsAre("x", "1")); in TEST()
51 EXPECT_THAT(TokenizeString("x\"1"), ElementsAre("x", "1")); in TEST()
55 EXPECT_THAT(TokenizeString("\"w:x{y}z\"1"), ElementsAre("w:x{y}z", "1")); in TEST()
56 EXPECT_THAT(TokenizeString("\"w:x{y}z\"\"1\""), ElementsAre("w:x{y}z", "1")); in TEST()
[all …]
/external/icing/icing/util/
Dbit-util_test.cc30 EXPECT_THAT(bit_util::BitfieldMask(/*len=*/0), Eq(0b0)); in TEST()
31 EXPECT_THAT(bit_util::BitfieldMask(/*len=*/1), Eq(0b01)); in TEST()
34 EXPECT_THAT(bit_util::BitfieldMask(/*len=*/16), Eq(0b01111111111111111)); in TEST()
37 EXPECT_THAT( in TEST()
46 EXPECT_THAT(value_8, Eq(0b0)); in TEST()
50 EXPECT_THAT(value_8, Eq(0b00)); in TEST()
54 EXPECT_THAT(value_8, Eq(0b001)); in TEST()
58 EXPECT_THAT(value_8, Eq(0b000)); in TEST()
62 EXPECT_THAT(value_8, Eq(0b0000)); in TEST()
67 EXPECT_THAT(value_32, Eq(0b0)); in TEST()
[all …]
/external/icing/icing/index/main/
Dflash-index-storage_test.cc116 EXPECT_THAT(flash_index_storage.num_blocks(), Eq(1)); in TEST_F()
117 EXPECT_THAT(flash_index_storage.empty(), IsTrue()); in TEST_F()
119 EXPECT_THAT(flash_index_storage.get_last_indexed_docid(), in TEST_F()
122 EXPECT_THAT(flash_index_storage.GetDiskUsage(), in TEST_F()
130 EXPECT_THAT(flash_index_storage.num_blocks(), Eq(1)); in TEST_F()
131 EXPECT_THAT(flash_index_storage.empty(), IsTrue()); in TEST_F()
132 EXPECT_THAT(flash_index_storage.get_last_indexed_docid(), in TEST_F()
134 EXPECT_THAT(flash_index_storage.GetDiskUsage(), in TEST_F()
157 EXPECT_THAT(id1.is_valid(), IsTrue()); in TEST_F()
159 EXPECT_THAT(flash_index_storage.num_blocks(), Eq(2)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dslice_sinker_test.cc71 EXPECT_THAT(inst, in TEST_F()
77 EXPECT_THAT(slice0->slice_starts(), ElementsAre(0, 0)); in TEST_F()
78 EXPECT_THAT(slice0->slice_limits(), ElementsAre(2, 9)); in TEST_F()
79 EXPECT_THAT(slice0->slice_strides(), ElementsAre(1, 1)); in TEST_F()
80 EXPECT_THAT(slice1->slice_starts(), ElementsAre(2, 0)); in TEST_F()
81 EXPECT_THAT(slice1->slice_limits(), ElementsAre(8, 9)); in TEST_F()
82 EXPECT_THAT(slice1->slice_strides(), ElementsAre(1, 1)); in TEST_F()
112 EXPECT_THAT( in TEST_F()
117 EXPECT_THAT(slice0->slice_starts(), ElementsAre(0, 0)); in TEST_F()
118 EXPECT_THAT(slice0->slice_limits(), ElementsAre(2, 9)); in TEST_F()
[all …]
Dhlo_matchers_test.cc40 EXPECT_THAT(t, ::testing::Not(m)); // For the error message. in Explain()
53 EXPECT_THAT(add.get(), op::Add()); in TEST_F()
54 EXPECT_THAT(add.get(), op::Add(op::Parameter(), op::Multiply())); in TEST_F()
55 EXPECT_THAT(add.get(), in TEST_F()
59 EXPECT_THAT( in TEST_F()
62 EXPECT_THAT( in TEST_F()
66 EXPECT_THAT( in TEST_F()
75 EXPECT_THAT( in TEST_F()
99 EXPECT_THAT(call.get(), op::CustomCall()); in TEST_F()
100 EXPECT_THAT(call.get(), op::CustomCall(c1.get(), c2.get())); in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/experimental/kernels/
Dctc_beam_search_decoder_test.cc107 EXPECT_THAT(output_shapes[0], ElementsAre(1, 2)); in TEST()
108 EXPECT_THAT(output_shapes[1], ElementsAre(1)); in TEST()
109 EXPECT_THAT(output_shapes[2], ElementsAre(2)); in TEST()
110 EXPECT_THAT(output_shapes[3], ElementsAre(1, 1)); in TEST()
115 EXPECT_THAT(decoded_outputs[0], ElementsAre(0, 0)); in TEST()
116 EXPECT_THAT(decoded_outputs[1], ElementsAre(0)); in TEST()
117 EXPECT_THAT(decoded_outputs[2], ElementsAre(1, 1)); in TEST()
119 EXPECT_THAT(m.GetLogProbabilitiesOutput(), in TEST()
139 EXPECT_THAT(output_shapes[0], ElementsAre(4, 2)); in TEST()
140 EXPECT_THAT(output_shapes[1], ElementsAre(4)); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.memory_test.cpp44 EXPECT_THAT(CompiledInstructions(input.str()), in TEST_P()
62 EXPECT_THAT(expected_mask, Eq(3u)); in TEST_F()
63 EXPECT_THAT(CompiledInstructions(input), in TEST_F()
74 EXPECT_THAT(CompiledInstructions(input), in TEST_P()
105 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F()
109 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
115 EXPECT_THAT(err, HasSubstr("Invalid Opcode name 'OpPtrEqual'")); in TEST_F()
122 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F()
126 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
132 EXPECT_THAT(err, HasSubstr("Invalid Opcode name 'OpPtrNotEqual'")); in TEST_F()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dtext_to_binary.memory_test.cpp44 EXPECT_THAT(CompiledInstructions(input.str()), in TEST_P()
62 EXPECT_THAT(expected_mask, Eq(3u)); in TEST_F()
63 EXPECT_THAT(CompiledInstructions(input), in TEST_F()
74 EXPECT_THAT(CompiledInstructions(input), in TEST_P()
105 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F()
109 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
115 EXPECT_THAT(err, HasSubstr("Invalid Opcode name 'OpPtrEqual'")); in TEST_F()
122 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F()
126 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
132 EXPECT_THAT(err, HasSubstr("Invalid Opcode name 'OpPtrNotEqual'")); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dtext_to_binary.memory_test.cpp44 EXPECT_THAT(CompiledInstructions(input.str()), in TEST_P()
62 EXPECT_THAT(expected_mask, Eq(3u)); in TEST_F()
63 EXPECT_THAT(CompiledInstructions(input), in TEST_F()
74 EXPECT_THAT(CompiledInstructions(input), in TEST_P()
105 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F()
109 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
115 EXPECT_THAT(err, HasSubstr("Invalid Opcode name 'OpPtrEqual'")); in TEST_F()
122 EXPECT_THAT(CompiledInstructions(spirv, SPV_ENV_UNIVERSAL_1_4), in TEST_F()
126 EXPECT_THAT(disassembly, Eq(spirv)); in TEST_F()
132 EXPECT_THAT(err, HasSubstr("Invalid Opcode name 'OpPtrNotEqual'")); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_modes_test.cpp52 EXPECT_THAT(SPV_SUCCESS, ValidateInstructions()); in TEST_F()
64 EXPECT_THAT(SPV_ERROR_INVALID_DATA, ValidateInstructions(env)); in TEST_F()
65 EXPECT_THAT(getDiagnosticString(), in TEST_F()
67 EXPECT_THAT( in TEST_F()
88 EXPECT_THAT(SPV_SUCCESS, ValidateInstructions(env)); in TEST_F()
101 EXPECT_THAT(SPV_SUCCESS, ValidateInstructions(env)); in TEST_F()
114 EXPECT_THAT(SPV_ERROR_INVALID_DATA, ValidateInstructions(env)); in TEST_F()
115 EXPECT_THAT(getDiagnosticString(), in TEST_F()
117 EXPECT_THAT(getDiagnosticString(), in TEST_F()
133 EXPECT_THAT(SPV_ERROR_INVALID_DATA, ValidateInstructions(env)); in TEST_F()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_modes_test.cpp52 EXPECT_THAT(SPV_SUCCESS, ValidateInstructions()); in TEST_F()
64 EXPECT_THAT(SPV_ERROR_INVALID_DATA, ValidateInstructions(env)); in TEST_F()
65 EXPECT_THAT(getDiagnosticString(), in TEST_F()
67 EXPECT_THAT( in TEST_F()
88 EXPECT_THAT(SPV_SUCCESS, ValidateInstructions(env)); in TEST_F()
101 EXPECT_THAT(SPV_SUCCESS, ValidateInstructions(env)); in TEST_F()
114 EXPECT_THAT(SPV_ERROR_INVALID_DATA, ValidateInstructions(env)); in TEST_F()
115 EXPECT_THAT(getDiagnosticString(), in TEST_F()
117 EXPECT_THAT(getDiagnosticString(), in TEST_F()
133 EXPECT_THAT(SPV_ERROR_INVALID_DATA, ValidateInstructions(env)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dpooling_test.cc150 EXPECT_THAT(m.GetOutput(), ElementsAreArray({2.75, 5.75})); in TEST()
164 EXPECT_THAT(m.GetOutput(), ElementsAreArray({0.0, 0.75})); in TEST()
178 EXPECT_THAT(m.GetOutput(), ElementsAreArray({-1.0, 0.75})); in TEST()
185 EXPECT_THAT(m.GetOutput(), ElementsAreArray({-1.0, -0.75})); in TEST()
199 EXPECT_THAT(m.GetOutput(), ElementsAreArray({0.0, 6.0})); in TEST()
206 EXPECT_THAT(m.GetOutput(), ElementsAreArray({2.75, 6.0})); in TEST()
220 EXPECT_THAT(m.GetOutput(), in TEST()
235 EXPECT_THAT(m.GetOutput(), ElementsAreArray({2.75, 5.0, 5.75})); in TEST()
253 EXPECT_THAT(m.GetDequantizedOutput(), in TEST()
255 EXPECT_THAT(m.GetOutput(), ElementsAreArray({44, 92})); in TEST()
[all …]
Dstrided_slice_test.cc116 EXPECT_THAT(m.GetOutputShape(), ElementsAreArray({0})); in TYPED_TEST()
126 EXPECT_THAT(m.GetOutputShape(), ElementsAreArray({2})); in TYPED_TEST()
127 EXPECT_THAT(m.GetOutput(), ElementsAreArray({2, 3})); in TYPED_TEST()
141 EXPECT_THAT(m.GetOutputShape(), ElementsAreArray({32768})); in TYPED_TEST()
142 EXPECT_THAT(m.GetOutput(), ElementsAreArray(values)); in TYPED_TEST()
152 EXPECT_THAT(m.GetOutputShape(), ElementsAreArray({0})); in TYPED_TEST()
162 EXPECT_THAT(m.GetOutputShape(), ElementsAreArray({2})); in TYPED_TEST()
163 EXPECT_THAT(m.GetOutput(), ElementsAreArray({2, 3})); in TYPED_TEST()
173 EXPECT_THAT(m.GetOutputShape(), ElementsAreArray({3})); in TYPED_TEST()
174 EXPECT_THAT(m.GetOutput(), ElementsAreArray({1, 2, 3})); in TYPED_TEST()
[all …]
Ddetection_postprocess_test.cc167 EXPECT_THAT(output_shape1, ElementsAre(1, 3, 4)); in TEST()
168 EXPECT_THAT( in TEST()
175 EXPECT_THAT(output_shape2, ElementsAre(1, 3)); in TEST()
176 EXPECT_THAT(m.GetOutput2<float>(), in TEST()
180 EXPECT_THAT(output_shape3, ElementsAre(1, 3)); in TEST()
181 EXPECT_THAT(m.GetOutput3<float>(), in TEST()
185 EXPECT_THAT(output_shape4, ElementsAre(1)); in TEST()
186 EXPECT_THAT(m.GetOutput4<float>(), in TEST()
222 EXPECT_THAT(output_shape4, ElementsAre(1)); in TEST()
231 EXPECT_THAT(output_shape1, ElementsAre(1, 3, 4)); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_modes_test.cpp52 EXPECT_THAT(SPV_SUCCESS, ValidateInstructions()); in TEST_F()
64 EXPECT_THAT(SPV_ERROR_INVALID_DATA, ValidateInstructions(env)); in TEST_F()
65 EXPECT_THAT( in TEST_F()
86 EXPECT_THAT(SPV_SUCCESS, ValidateInstructions(env)); in TEST_F()
99 EXPECT_THAT(SPV_SUCCESS, ValidateInstructions(env)); in TEST_F()
112 EXPECT_THAT(SPV_ERROR_INVALID_DATA, ValidateInstructions(env)); in TEST_F()
113 EXPECT_THAT(getDiagnosticString(), in TEST_F()
115 EXPECT_THAT(getDiagnosticString(), in TEST_F()
131 EXPECT_THAT(SPV_ERROR_INVALID_DATA, ValidateInstructions(env)); in TEST_F()
132 EXPECT_THAT(getDiagnosticString(), in TEST_F()
[all …]
/external/llvm-project/lldb/unittests/Utility/
DRangeMapTest.cpp29 EXPECT_THAT(V, testing::ElementsAre(Entry(0, 1), Entry(5, 2), Entry(10, 9), in TEST()
38 EXPECT_THAT(V, testing::ElementsAre(Entry(0, 20))); in TEST()
62 EXPECT_THAT(Map.FindEntryThatContains(0), EntryIs(0)); in TEST()
63 EXPECT_THAT(Map.FindEntryThatContains(9), EntryIs(0)); in TEST()
64 EXPECT_THAT(Map.FindEntryThatContains(10), EntryIs(1)); in TEST()
65 EXPECT_THAT(Map.FindEntryThatContains(19), EntryIs(1)); in TEST()
66 EXPECT_THAT(Map.FindEntryThatContains(20), EntryIs(2)); in TEST()
67 EXPECT_THAT(Map.FindEntryThatContains(29), EntryIs(2)); in TEST()
68 EXPECT_THAT(Map.FindEntryThatContains(30), nullptr); in TEST()
81 EXPECT_THAT(Map.FindEntryThatContains(25), EntryIs(0)); in TEST()
[all …]

12345678910>>...64