| /external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/ |
| D | JavadocFormattingTest.java | 39 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/android-crates-io/crates/minimal-lexical/tests/ |
| D | vec_tests.rs | 110 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/ |
| D | IterableSubjectCorrespondenceTest.java | 162 MyRecord expected = MyRecord.create(2, 200); in displayingDiffsPairedBy_1arg_contains() local 195 MyRecord expected = MyRecord.create(2, 200); in displayingDiffsPairedBy_1arg_contains_noDiff() local 221 MyRecord expected = MyRecord.create(0, 999); in displayingDiffsPairedBy_1arg_contains_handlesActualKeyerExceptions() local 263 MyRecord expected = MyRecord.create(0, 999); in displayingDiffsPairedBy_1arg_contains_handlesFormatDiffExceptions() local 383 ImmutableList<Integer> expected = ImmutableList.of(64, 128, 256, 128); in containsExactlyElementsIn_inOrder_success() local 393 ImmutableList<Integer> expected = ImmutableList.of(64, 128, 256, 128); in containsExactlyElementsIn_successOutOfOrder() local 404 List<Object> expected = asList(1, o); in containsExactlyElementsIn_outOfOrderDoesNotStringify() local 421 ImmutableList<Double> expected = ImmutableList.of(1.0, 1.1, 1.2); in containsExactlyElementsIn_successNonGreedy() local 436 ImmutableList<Integer> expected = ImmutableList.of(64, 128, 256, 128); in containsExactlyElementsIn_failsMissingOneCandidate() local 453 ImmutableList<Integer> expected = ImmutableList.of(); in containsExactlyElementsIn_inOrder_passesWhenBothEmpty() local [all …]
|
| /external/testng/src/main/java/org/testng/asserts/ |
| D | Assertion.java | 71 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/ |
| D | expected.pass.cpp | 20 struct expected { struct 33 expected() {} in expected() function 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() argument 58 expected<int> g() { return {0}; } in g() argument
|
| /external/rust/android-crates-io/crates/winnow/examples/arithmetic/ |
| D | parser.rs | 72 let expected = Ok(("", 3)); in factor_test() localVariable 76 let expected = Ok(("", 12)); in factor_test() localVariable 80 let expected = Ok(("", 537)); in factor_test() localVariable 84 let expected = Ok(("", 24)); in factor_test() localVariable 91 let expected = Ok(("", 8)); in term_test() localVariable 95 let expected = Ok(("", 8)); in term_test() localVariable 99 let expected = Ok(("", 8)); in term_test() localVariable 103 let expected = Ok(("", 8)); in term_test() localVariable 110 let expected = Ok(("", 3)); in expr_test() localVariable 114 let expected = Ok(("", 17)); in expr_test() localVariable [all …]
|
| /external/google-smali/dexlib2/src/test/java/com/android/tools/smali/dexlib2/writer/util/ |
| D | TryListBuilderTest.java | 56 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/threetenbp/src/test/java/org/threeten/bp/temporal/ |
| D | TestChronoUnit.java | 83 public void test_yearsBetween(LocalDate start, LocalDate end, long expected) { in test_yearsBetween() 84 assertEquals(YEARS.between(start, end), expected); in test_yearsBetween() local 88 public void test_yearsBetweenReversed(LocalDate start, LocalDate end, long expected) { in test_yearsBetweenReversed() 93 …ublic void test_yearsBetween_LocalDateTimeSameTime(LocalDate start, LocalDate end, long expected) { in test_yearsBetween_LocalDateTimeSameTime() 98 …blic void test_yearsBetween_LocalDateTimeLaterTime(LocalDate start, LocalDate end, long expected) { in test_yearsBetween_LocalDateTimeLaterTime() 107 … public void test_yearsBetween_ZonedDateSameOffset(LocalDate start, LocalDate end, long expected) { in test_yearsBetween_ZonedDateSameOffset() 112 …public void test_yearsBetween_ZonedDateLaterOffset(LocalDate start, LocalDate end, long expected) { in test_yearsBetween_ZonedDateLaterOffset() 156 public void test_monthsBetween(LocalDate start, LocalDate end, long expected) { in test_monthsBetween() 157 assertEquals(MONTHS.between(start, end), expected); in test_monthsBetween() local 161 public void test_monthsBetweenReversed(LocalDate start, LocalDate end, long expected) { in test_monthsBetweenReversed() [all …]
|
| /external/cronet/tot/third_party/libc++/src/test/std/ranges/range.adaptors/range.split/ |
| D | general.pass.cpp | 32 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/cronet/stable/third_party/libc++/src/test/std/ranges/range.adaptors/range.split/ |
| D | general.pass.cpp | 32 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/cronet/stable/third_party/libc++/src/test/std/algorithms/alg.sorting/alg.sort/sort/ |
| D | pstl.sort.pass.cpp | 39 int expected[] = {1, 2, 2, 3, 4, 6}; in operator ()() local 45 int expected[] = {1, 2, 3, 2, 6, 4}; in operator ()() local 51 int expected[] = {1}; in operator ()() local 57 int expected[] = {1, 2}; in operator ()() local 63 int expected[] = {1, 2, 4}; in operator ()() local 69 int expected[] = {1, 1, 2, 2, 4, 4, 4, 6, 7}; in operator ()() local 75 int expected[] = {1, 1, 2, 2, 4, 4, 4, 6, 7}; in operator ()() local 81 int expected[] = {1, 1, 2, 2, 4, 4, 4, 6, 7}; in operator ()() local 87 int expected[] = {1, 1, 1, 2, 2, 2, 3, 3, 3}; in operator ()() local 93 int expected[] = {6, 4, 3, 2, 2, 1}; in operator ()() local [all …]
|
| /external/cronet/tot/third_party/libc++/src/test/std/algorithms/alg.sorting/alg.sort/sort/ |
| D | pstl.sort.pass.cpp | 39 int expected[] = {1, 2, 2, 3, 4, 6}; in operator ()() local 45 int expected[] = {1, 2, 3, 2, 6, 4}; in operator ()() local 51 int expected[] = {1}; in operator ()() local 57 int expected[] = {1, 2}; in operator ()() local 63 int expected[] = {1, 2, 4}; in operator ()() local 69 int expected[] = {1, 1, 2, 2, 4, 4, 4, 6, 7}; in operator ()() local 75 int expected[] = {1, 1, 2, 2, 4, 4, 4, 6, 7}; in operator ()() local 81 int expected[] = {1, 1, 2, 2, 4, 4, 4, 6, 7}; in operator ()() local 87 int expected[] = {1, 1, 1, 2, 2, 2, 3, 3, 3}; in operator ()() local 93 int expected[] = {6, 4, 3, 2, 2, 1}; in operator ()() local [all …]
|
| /external/webrtc/modules/video_coding/utility/ |
| D | simulcast_rate_allocator_unittest.cc | 172 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/tensorflow/tensorflow/compiler/xla/tests/ |
| D | literal_test_util.h | 155 /* 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/testng/src/main/java/org/testng/ |
| D | AssertJUnit.java | 73 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/rust/android-crates-io/crates/serde_yaml/tests/ |
| D | test_error.rs | 35 …let expected = "found character that cannot start any token at line 2 column 1, while scanning for… in test_scan_error() localVariable 45 let expected = "invalid type: string \"str\", expected i16 at line 2 column 1"; in test_incorrect_type() localVariable 70 let expected = "b[0].d: invalid type: string \"fase\", expected a boolean at line 3 column 8"; in test_incorrect_nested_type() localVariable 76 let expected = "EOF while parsing a value"; in test_empty() localVariable 93 let expected = "missing field `w` at line 2 column 1"; in test_missing_field() localVariable 103 let expected = "unknown anchor at line 2 column 1"; in test_unknown_anchor() localVariable 118 let expected = "unknown anchor at line 1 column 5"; in test_ignored_unknown_anchor() localVariable 124 let expected = "serialization and deserialization of bytes in YAML is not implemented"; in test_bytes() localVariable 136 let expected = "deserializing from YAML containing more than one document is not supported"; in test_two_documents() localVariable 156 let expected = in test_second_document_syntax_error() localVariable [all …]
|
| /external/cronet/stable/third_party/libc++/src/test/std/language.support/support.coroutines/end.to.end/ |
| D | expected.pass.cpp | 20 struct expected { struct 30 expected(T val) : data(std::make_shared<Data>(val, Error())) {} in expected() argument 31 expected(error_tag, Error error) : data(std::make_shared<Data>(T(), error)) {} in expected() function 32 expected(std::shared_ptr<Data> p) : data(p) {} in expected() argument 36 expected get_return_object() { data = std::make_shared<Data>(); return {data}; } in get_return_object() argument 54 expected<int> g() { return {0}; } in g() argument
|
| /external/cronet/tot/third_party/libc++/src/test/std/language.support/support.coroutines/end.to.end/ |
| D | expected.pass.cpp | 20 struct expected { struct 30 expected(T val) : data(std::make_shared<Data>(val, Error())) {} in expected() function 31 expected(error_tag, Error error) : data(std::make_shared<Data>(T(), error)) {} in expected() function 32 expected(std::shared_ptr<Data> p) : data(p) {} in expected() argument 36 expected get_return_object() { data = std::make_shared<Data>(); return {data}; } in get_return_object() argument 54 expected<int> g() { return {0}; } in g() argument
|
| /external/junit/src/main/java/junit/framework/ |
| D | Assert.java | 71 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 …]
|
| /external/eigen/unsupported/test/ |
| D | bessel_functions.cpp | 33 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/stable/third_party/libc++/src/test/std/ranges/range.adaptors/range.lazy.split/ |
| D | general.pass.cpp | 64 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/tot/third_party/libc++/src/test/std/ranges/range.adaptors/range.lazy.split/ |
| D | general.pass.cpp | 64 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/angle/src/tests/preprocessor_tests/ |
| D | define_test.cpp | 25 const char *expected = in TEST_F() local 47 const char *expected = in TEST_F() local 75 const char *expected = in TEST_F() local 91 const char *expected = in TEST_F() local 107 const char *expected = in TEST_F() local 124 const char *expected = in TEST_F() local 142 const char *expected = in TEST_F() local 160 const char *expected = in TEST_F() local 178 const char *expected = in TEST_F() local 195 const char *expected = in TEST_F() local [all …]
|
| /external/guava/guava-tests/test/com/google/common/util/concurrent/ |
| D | FuturesGetCheckedTest.java | 84 TwoArgConstructorException expected = in testGetCheckedUntimed_executionExceptionChecked() local 93 UncheckedExecutionException expected = in testGetCheckedUntimed_executionExceptionUnchecked() local 101 ExecutionError expected = in testGetCheckedUntimed_executionExceptionError() local 109 TwoArgConstructorException expected = in testGetCheckedUntimed_executionExceptionOtherThrowable() local 117 RuntimeException expected = in testGetCheckedUntimed_runtimeException() local 149 ExceptionWithGoodAndBadConstructor expected = in testGetCheckedUntimed_withGoodAndBadExceptionConstructor() local 188 TwoArgConstructorException expected = in testGetCheckedTimed_executionExceptionChecked() local 198 UncheckedExecutionException expected = in testGetCheckedTimed_executionExceptionUnchecked() local 211 ExecutionError expected = in testGetCheckedTimed_executionExceptionError() local 219 TwoArgConstructorException expected = in testGetCheckedTimed_executionExceptionOtherThrowable() local [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
| D | FuturesGetCheckedTest.java | 84 TwoArgConstructorException expected = in testGetCheckedUntimed_executionExceptionChecked() local 93 UncheckedExecutionException expected = in testGetCheckedUntimed_executionExceptionUnchecked() local 101 ExecutionError expected = in testGetCheckedUntimed_executionExceptionError() local 109 TwoArgConstructorException expected = in testGetCheckedUntimed_executionExceptionOtherThrowable() local 117 RuntimeException expected = in testGetCheckedUntimed_runtimeException() local 149 ExceptionWithGoodAndBadConstructor expected = in testGetCheckedUntimed_withGoodAndBadExceptionConstructor() local 188 TwoArgConstructorException expected = in testGetCheckedTimed_executionExceptionChecked() local 198 UncheckedExecutionException expected = in testGetCheckedTimed_executionExceptionUnchecked() local 211 ExecutionError expected = in testGetCheckedTimed_executionExceptionError() local 219 TwoArgConstructorException expected = in testGetCheckedTimed_executionExceptionOtherThrowable() local [all …]
|