Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 25 of 4015) sorted by relevance

12345678910>>...161

/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DJavadocFormattingTest.java39 String[] expected = { in notJavadoc() local
52 String[] expected = { in empty() local
65 String[] expected = { in emptyMultipleLines() local
77 String[] expected = { in simple() local
98 String[] expected = { in commentMostlyUntouched() local
139 String[] expected = { in moeComments() local
177 String[] expected = { in moeCommentBeginOnlyInMiddleOfDoc() local
199 String[] expected = { in moeCommentBeginOnlyAtEndOfDoc() local
216 String[] expected = { in moeCommentEndOnly() local
242 String[] expected = { in tableMostlyUntouched() local
[all …]
/external/rust/crates/minimal-lexical/tests/
Dvec_tests.rs110 let expected: VecType = if bigint::LIMB_BITS == 32 { in math_test() localVariable
120 let expected: VecType = vec_from_u32(&[0xFFFFFFFB, 0x4]); in math_test() localVariable
147 let expected: VecType = vec_from_u32(&[4, 1]); in small_add_test() localVariable
152 let expected = VecType::from_u64(12); in small_add_test() localVariable
158 let expected: VecType = vec_from_u32(&[6, 0x80000001]); in small_add_test() localVariable
164 let expected: VecType = vec_from_u32(&[6, 0, 1]); in small_add_test() localVariable
173 let expected = VecType::from_u64(35); in small_mul_test() localVariable
179 let expected: VecType = vec_from_u32(&[0x00140000, 0x140000]); in small_mul_test() localVariable
185 let expected: VecType = vec_from_u32(&[4, 1]); in small_mul_test() localVariable
191 let expected: VecType = vec_from_u32(&[4, 6]); in small_mul_test() localVariable
[all …]
/external/truth/core/src/test/java/com/google/common/truth/
DIterableSubjectCorrespondenceTest.java126 Record expected = Record.create(2, 200); in displayingDiffsPairedBy_1arg_contains() local
159 Record expected = Record.create(2, 200); in displayingDiffsPairedBy_1arg_contains_noDiff() local
185 Record expected = Record.create(0, 999); in displayingDiffsPairedBy_1arg_contains_handlesActualKeyerExceptions() local
227 Record expected = Record.create(0, 999); in displayingDiffsPairedBy_1arg_contains_handlesFormatDiffExceptions() local
347 ImmutableList<Integer> expected = ImmutableList.of(64, 128, 256, 128); in containsExactlyElementsIn_inOrder_success() local
357 ImmutableList<Integer> expected = ImmutableList.of(64, 128, 256, 128); in containsExactlyElementsIn_successOutOfOrder() local
368 List<Object> expected = asList(1, o); in containsExactlyElementsIn_outOfOrderDoesNotStringify() local
385 ImmutableList<Double> expected = ImmutableList.of(1.0, 1.1, 1.2); in containsExactlyElementsIn_successNonGreedy() local
400 ImmutableList<Integer> expected = ImmutableList.of(64, 128, 256, 128); in containsExactlyElementsIn_failsMissingOneCandidate() local
417 ImmutableList<Integer> expected = ImmutableList.of(); in containsExactlyElementsIn_inOrder_passesWhenBothEmpty() local
[all …]
/external/testng/src/main/java/org/testng/asserts/
DAssertion.java71 private final T expected; field in Assertion.SimpleAssert
78 public SimpleAssert(T actual, T expected) { in SimpleAssert()
82 public SimpleAssert(T actual, T expected, String message) { in SimpleAssert()
171 public <T> void assertEquals(final T actual, final T expected, final String message) { in assertEquals()
180 public <T> void assertEquals(final T actual, final T expected) { in assertEquals()
189 public void assertEquals(final String actual, final String expected, final String message) { in assertEquals()
197 public void assertEquals(final String actual, final String expected) { in assertEquals()
206 public void assertEquals(final double actual, final double expected, final double delta, in assertEquals()
216 public void assertEquals(final double actual, final double expected, final double delta) { in assertEquals()
225 public void assertEquals(final float actual, final float expected, final float delta, in assertEquals()
[all …]
/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/
Dexpected.pass.cpp20 struct expected { struct
33 expected() {} in expected() argument
34 expected(T val) : data{std::move(val),{}} {} in expected() argument
35 expected(struct error, Error error) : data{{}, std::move(error)} {} in expected() argument
36 expected(DataPtr & p) : data{std::move(p.p->val), std::move(p.p->error)} {} in expected() function
58 expected<int> g() { return {0}; } in g() argument
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/util/
DTryListBuilderTest.java56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatchAll_Beginning() local
70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatchAll_Middle() local
84 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatch_Beginning() local
98 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatch_Middle() local
113 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_End_After() local
131 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_After_After() local
149 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Before_Start() local
167 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Before_Before() local
185 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Start_End() local
203 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Start_Middle() local
[all …]
/external/google-smali/dexlib2/src/test/java/com/android/tools/smali/dexlib2/writer/util/
DTryListBuilderTest.java56 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatchAll_Beginning() local
70 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatchAll_Middle() local
84 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(0, 10, in testSingleCatch_Beginning() local
98 List<? extends TryBlock> expected = ImmutableList.of(new ImmutableTryBlock(5, 5, in testSingleCatch_Middle() local
113 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_End_After() local
131 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_After_After() local
149 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Before_Start() local
167 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Before_Before() local
185 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Start_End() local
203 List<? extends TryBlock> expected = ImmutableList.of( in testOverlap_Start_Middle() local
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.split/
Dgeneral.pass.cpp32 constexpr bool is_equal(View& view, const Expected& expected) { in is_equal()
37 constexpr bool test_function_call(T&& input, Separator&& separator, std::array<U, M> expected) { in test_function_call()
43 constexpr bool test_with_piping(T&& input, Separator&& separator, std::array<U, M> expected) { in test_with_piping()
128 constexpr void test_one(T&& input, Separator&& separator, std::array<U, M> expected) { in test_one()
145 std::array expected = {"abc"sv, std::string_view("def", sizeof("def"))}; in test_string_literals() local
156 std::array expected = {std::string_view("", 1)}; in test_string_literals() local
179 std::array expected = {"a"sv, "b"sv, "c"sv, "\0"sv}; in test_string_literals() local
241 std::array expected = {"abc"sv, "def"sv}; in main_test() local
248 std::array expected = {"abc"sv, ""sv, ""sv, ""sv, "def"sv}; in main_test() local
255 std::array expected = {"abc"sv, "def"sv, ""sv}; in main_test() local
[all …]
/external/angle/src/tests/preprocessor_tests/
Ddefine_test.cpp25 const char *expected = in TEST_F() local
46 const char *expected = in TEST_F() local
73 const char *expected = in TEST_F() local
88 const char *expected = in TEST_F() local
103 const char *expected = in TEST_F() local
119 const char *expected = in TEST_F() local
136 const char *expected = in TEST_F() local
153 const char *expected = in TEST_F() local
170 const char *expected = in TEST_F() local
186 const char *expected = in TEST_F() local
[all …]
/external/webrtc/modules/video_coding/utility/
Dsimulcast_rate_allocator_unittest.cc172 uint32_t expected[] = {codec_.minBitrate}; in TEST_F() local
180 uint32_t expected[] = {codec_.maxBitrate}; in TEST_F() local
192 uint32_t expected[] = {kMax}; in TEST_F() local
200 uint32_t expected[] = {bitrate}; in TEST_F() local
209 uint32_t expected[] = {0}; in TEST_F() local
226 uint32_t expected[] = {kMin}; in TEST_F() local
265 uint32_t expected[] = {kMax}; in TEST_F() local
281 uint32_t expected[] = {bitrate}; in TEST_F() local
325 uint32_t expected[] = {0}; in TEST_F() local
338 uint32_t expected[] = {bitrate, 0, 0}; in TEST_F() local
[all …]
/external/testng/src/main/java/org/testng/
DAssertJUnit.java73 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals()
87 static public void assertEquals(Object expected, Object actual) { in assertEquals()
94 static public void assertEquals(String message, String expected, String actual) { in assertEquals()
107 static public void assertEquals(String expected, String actual) { in assertEquals()
116 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
134 static public void assertEquals(double expected, double actual, double delta) { in assertEquals()
143 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
161 static public void assertEquals(float expected, float actual, float delta) { in assertEquals()
169 static public void assertEquals(String message, long expected, long actual) { in assertEquals()
176 static public void assertEquals(long expected, long actual) { in assertEquals()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dliteral_test_util.h155 /* static */ void LiteralTestUtil::ExpectR0Equal(NativeT expected, in ExpectR0Equal()
162 absl::Span<const NativeT> expected, const LiteralSlice& actual) { in ExpectR1Equal()
168 std::initializer_list<std::initializer_list<NativeT>> expected, in ExpectR2Equal()
175 std::initializer_list<std::initializer_list<std::initializer_list<NativeT>>> in ExpectR3Equal()
183 const Array2D<NativeT>& expected, const LiteralSlice& actual) { in ExpectR2EqualArray2D()
189 const Array3D<NativeT>& expected, const LiteralSlice& actual) { in ExpectR3EqualArray3D()
195 const Array4D<NativeT>& expected, const LiteralSlice& actual) { in ExpectR4EqualArray4D()
200 /* static */ void LiteralTestUtil::ExpectR0Near(NativeT expected, in ExpectR0Near()
208 absl::Span<const NativeT> expected, const LiteralSlice& actual, in ExpectR1Near()
215 std::initializer_list<std::initializer_list<NativeT>> expected, in ExpectR2Near()
[all …]
/external/junit/src/main/java/junit/framework/
DAssert.java71 public static void assertEquals(String message, Object expected, Object actual) { in assertEquals()
85 public static void assertEquals(Object expected, Object actual) { in assertEquals()
92 public static void assertEquals(String message, String expected, String actual) { in assertEquals()
106 public static void assertEquals(String expected, String actual) { in assertEquals()
115 public static void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
128 public static void assertEquals(double expected, double actual, double delta) { in assertEquals()
137 public static void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
150 public static void assertEquals(float expected, float actual, float delta) { in assertEquals()
158 public static void assertEquals(String message, long expected, long actual) { in assertEquals()
165 public static void assertEquals(long expected, long actual) { in assertEquals()
[all …]
DTestCase.java237 public static void assertEquals(String message, Object expected, Object actual) { in assertEquals()
245 public static void assertEquals(Object expected, Object actual) { in assertEquals()
252 public static void assertEquals(String message, String expected, String actual) { in assertEquals()
259 public static void assertEquals(String expected, String actual) { in assertEquals()
268 public static void assertEquals(String message, double expected, double actual, double delta) { in assertEquals()
276 public static void assertEquals(double expected, double actual, double delta) { in assertEquals()
285 public static void assertEquals(String message, float expected, float actual, float delta) { in assertEquals()
293 public static void assertEquals(float expected, float actual, float delta) { in assertEquals()
301 public static void assertEquals(String message, long expected, long actual) { in assertEquals()
308 public static void assertEquals(long expected, long actual) { in assertEquals()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/language.support/support.coroutines/end.to.end/
Dexpected.pass.cpp21 struct expected { struct
31 expected(T val) : data(std::make_shared<Data>(val, Error())) {} in expected() argument
32 expected(error_tag, Error error) : data(std::make_shared<Data>(T(), error)) {} in expected() argument
33 expected(std::shared_ptr<Data> p) : data(p) {} in expected() argument
37 expected get_return_object() { data = std::make_shared<Data>(); return {data}; } in get_return_object() argument
55 expected<int> g() { return {0}; } in g() argument
/external/eigen/unsupported/test/
Dbessel_functions.cpp33 ArrayType expected(21); in array_bessel_functions() local
53 ArrayType expected(21); in array_bessel_functions() local
73 ArrayType expected(21); in array_bessel_functions() local
93 ArrayType expected(21); in array_bessel_functions() local
113 ArrayType expected(77); in array_bessel_functions() local
149 ArrayType expected(81); in array_bessel_functions() local
185 ArrayType expected(42); in array_bessel_functions() local
210 ArrayType expected(42); in array_bessel_functions() local
237 ArrayType expected(42); in array_bessel_functions() local
264 ArrayType expected(42); in array_bessel_functions() local
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.lazy.split/
Dgeneral.pass.cpp64 constexpr bool is_equal(View& view, const Expected& expected) { in is_equal()
79 constexpr bool test_function_call(T&& input, Separator&& separator, std::array<U, M> expected) { in test_function_call()
85 constexpr bool test_with_piping(T&& input, Separator&& separator, std::array<U, M> expected) { in test_with_piping()
170 constexpr void test_one(T&& input, Separator&& separator, std::array<U, M> expected) { in test_one()
197 std::array expected = {"abc"sv, std::string_view("def", sizeof("def"))}; in test_string_literals() local
208 std::array expected = {std::string_view("", 1)}; in test_string_literals() local
231 std::array expected = {"a"sv, "b"sv, "c"sv, "\0"sv}; in test_string_literals() local
293 std::array expected = {"abc"sv, "def"sv}; in main_test() local
300 std::array expected = {"abc"sv, ""sv, ""sv, ""sv, "def"sv}; in main_test() local
307 std::array expected = {"abc"sv, "def"sv, ""sv}; in main_test() local
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.elements/
Dadaptor.pass.cpp70 auto expected = {1, 3, 5}; in test() local
78 auto expected = {1, 3, 5}; in test() local
86 auto expected = {2, 4, 6}; in test() local
94 auto expected = {2, 4, 6}; in test() local
102 auto expected = {1, 3, 5}; in test() local
110 auto expected = {2, 4, 6}; in test() local
122 auto expected = {1, 3, 5}; in test() local
134 auto expected = {1, 3, 5}; in test() local
146 auto expected = {3, 6, 9}; in test() local
158 auto expected = {2, 5, 8}; in test() local
[all …]
/external/tensorflow/tensorflow/core/kernels/image/
Dresize_nearest_neighbor_op_test.cc107 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_P() local
125 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 1, 1, 1})); in TEST_P() local
142 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local
163 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local
185 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 2, 2, 1})); in TEST_P() local
207 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 2, 2, 1})); in TEST_P() local
226 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 2, 5, 1})); in TEST_P() local
249 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local
274 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 3, 3, 1})); in TEST_P() local
294 Tensor expected(allocator(), DT_FLOAT, TensorShape({1, 5, 2, 1})); in TEST_P() local
[all …]
/external/tensorflow/tensorflow/java/src/gen/cc/
Dsource_writer_test.cc31 const char* expected = "You say goodbye and I say hello!"; in TEST() local
39 const char* expected = "You say goodbye\nand I say hello!"; in TEST() local
47 const char* expected = " You say goodbye\nand I say hello!"; in TEST() local
55 const char* expected = "--You say goodbye\nand I say hello!"; in TEST() local
63 const char* expected = " --You say goodbye\nand I say hello!"; in TEST() local
71 const char* expected = "You say goodbye and I say hello!"; in TEST() local
79 const char* expected = "You say goodbye\nand I say hello!"; in TEST() local
87 const char* expected = " You say goodbye\n and I say hello!"; in TEST() local
95 const char* expected = "--You say goodbye\n--and I say hello!"; in TEST() local
103 const char* expected = " --You say goodbye\n --and I say hello!"; in TEST() local
[all …]
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java53 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
61 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
69 ByteBuffer expected = ByteBuffer.allocateDirect(17); in testCorrectMessageParsing() local
83 ByteBuffer expected = ByteBuffer.allocateDirect(15); in testCorrectMessageParsing() local
95 ByteBuffer expected = ByteBuffer.allocateDirect(3); in testCorrectMessageParsing() local
106 ByteBuffer expected = ByteBuffer.allocateDirect(12); in testCorrectMessageParsing() local
116 ByteBuffer expected = ByteBuffer.allocateDirect(14); in testCorrectMessageParsing() local
128 ByteBuffer expected = ByteBuffer.allocateDirect(8); in testCorrectMessageParsing() local
144 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
/external/parameter-framework/upstream/test/tokenizer/
DTest.cpp50 Expected expected{"a", "bcd", "ef"}; variable
59 Expected expected{}; variable
68 Expected expected{"a", "bc"}; variable
78 Expected expected{"a", "bcd", "ef g", "h"}; variable
89 Expected expected{}; variable
98 Expected expected{"", ""}; variable
107 Expected expected{"", "a", "", "b", "", "c", "d", ""}; variable
/external/webrtc/modules/desktop_capture/
Ddesktop_frame_rotation_unittest.cc65 ArrayDesktopFrame expected(DesktopSize(3, 4), expected_pixels); in TEST() local
80 ArrayDesktopFrame expected(DesktopSize(4, 3), expected_pixels); in TEST() local
96 ArrayDesktopFrame expected(DesktopSize(3, 4), expected_pixels); in TEST() local
130 ArrayDesktopFrame expected(DesktopSize(3, 5), expected_pixels); in TEST() local
145 ArrayDesktopFrame expected(DesktopSize(5, 3), expected_pixels); in TEST() local
162 ArrayDesktopFrame expected(DesktopSize(3, 5), expected_pixels); in TEST() local
186 ArrayDesktopFrame expected(DesktopSize(5, 3), expected_pixels); in TEST() local
201 ArrayDesktopFrame expected(DesktopSize(5, 3), expected_pixels); in TEST() local
219 ArrayDesktopFrame expected(DesktopSize(3, 5), expected_pixels); in TEST() local
236 ArrayDesktopFrame expected(DesktopSize(3, 5), expected_pixels); in TEST() local
[all …]
/external/rust/crates/quote/tests/
Dtest.rs32 let expected = concat!( in test_quote_impl() localVariable
54 let expected = concat!( in test_quote_spanned_impl() localVariable
70 let expected = "X < X > (X) [X] { X }"; in test_substitution() localVariable
141 let expected = concat!( in test_advanced() localVariable
182 let expected = in test_integer() localVariable
197 let expected = concat!("2.345f32 2.345f64"); in test_floating() localVariable
213 let expected = "'\\u{1}' '#' '\"' '\\'' '\\n' '\u{2764}'"; in test_char() localVariable
221 let expected = "\"\\u{1} a 'b \\\" c\""; in test_str() localVariable
229 let expected = "\"\\u{1} a 'b \\\" c\""; in test_string() localVariable
242 let expected = "1"; in test_interpolated_literal() localVariable
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowOpenGLMatrixTest.java117 final float[] expected = new float[]{ in multiplyMM() local
153 final float[] expected = new float[]{ in multiplyMMWithOffset() local
183 final float[] expected = new float[]{ in multiplyMMRandom() local
261 float[] expected = new float[]{14268, 15701, 17134, 18567}; in multiplyMV() local
281 float[] expected = new float[]{ in multiplyMVWithOffset() local
300 final float[] expected = new float[]{ in multiplyMVRandom() local
348 float[] expected = new float[]{ in testMultiplyMM() local
367 float[] expected = new float[]{ in testFrustumM() local
381 float[] expected = new float[]{ in testFrustumJB_MR1() local
394 float[] expected = new float[]{ in testPerspectiveM() local
[all …]

12345678910>>...161