HomeSort by relevance Sort by last modified time
    Searched refs:expected (Results 276 - 300 of 6121) sorted by null

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
infinity.pass.cpp 20 test(T expected)
22 assert(std::numeric_limits<T>::infinity() == expected);
23 assert(std::numeric_limits<const T>::infinity() == expected);
24 assert(std::numeric_limits<volatile T>::infinity() == expected);
25 assert(std::numeric_limits<const volatile T>::infinity() == expected);
is_iec559.pass.cpp 16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::is_iec559 == expected, "is_iec559 test 1");
21 static_assert(std::numeric_limits<const T>::is_iec559 == expected, "is_iec559 test 2");
22 static_assert(std::numeric_limits<volatile T>::is_iec559 == expected, "is_iec559 test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_iec559 == expected, "is_iec559 test 4");
is_signed.pass.cpp 16 template <class T, bool expected>
20 static_assert(std::numeric_limits<T>::is_signed == expected, "is_signed test 1");
21 static_assert(std::numeric_limits<const T>::is_signed == expected, "is_signed test 2");
22 static_assert(std::numeric_limits<volatile T>::is_signed == expected, "is_signed test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_signed == expected, "is_signed test 4");
max_digits10.pass.cpp 17 template <class T, int expected>
21 static_assert(std::numeric_limits<T>::max_digits10 == expected, "max_digits10 test 1");
22 static_assert(std::numeric_limits<const T>::max_digits10 == expected, "max_digits10 test 2");
23 static_assert(std::numeric_limits<volatile T>::max_digits10 == expected, "max_digits10 test 3");
24 static_assert(std::numeric_limits<const volatile T>::max_digits10 == expected, "max_digits10 test 4");
max_exponent.pass.cpp 17 template <class T, int expected>
21 static_assert(std::numeric_limits<T>::max_exponent == expected, "max_exponent test 1");
22 static_assert(std::numeric_limits<const T>::max_exponent == expected, "max_exponent test 2");
23 static_assert(std::numeric_limits<volatile T>::max_exponent == expected, "max_exponent test 3");
24 static_assert(std::numeric_limits<const volatile T>::max_exponent == expected, "max_exponent test 4");
max_exponent10.pass.cpp 17 template <class T, int expected>
21 static_assert(std::numeric_limits<T>::max_exponent10 == expected, "max_exponent10 test 1");
22 static_assert(std::numeric_limits<const T>::max_exponent10 == expected, "max_exponent10 test 2");
23 static_assert(std::numeric_limits<volatile T>::max_exponent10 == expected, "max_exponent10 test 3");
24 static_assert(std::numeric_limits<const volatile T>::max_exponent10 == expected, "max_exponent10 test 4");
min_exponent.pass.cpp 17 template <class T, int expected>
21 static_assert(std::numeric_limits<T>::min_exponent == expected, "min_exponent test 1");
22 static_assert(std::numeric_limits<const T>::min_exponent == expected, "min_exponent test 2");
23 static_assert(std::numeric_limits<volatile T>::min_exponent == expected, "min_exponent test 3");
24 static_assert(std::numeric_limits<const volatile T>::min_exponent == expected, "min_exponent test 4");
min_exponent10.pass.cpp 17 template <class T, int expected>
21 static_assert(std::numeric_limits<T>::min_exponent10 == expected, "min_exponent10 test 1");
22 static_assert(std::numeric_limits<const T>::min_exponent10 == expected, "min_exponent10 test 2");
23 static_assert(std::numeric_limits<volatile T>::min_exponent10 == expected, "min_exponent10 test 3");
24 static_assert(std::numeric_limits<const volatile T>::min_exponent10 == expected, "min_exponent10 test 4");
radix.pass.cpp 17 template <class T, int expected>
21 static_assert(std::numeric_limits<T>::radix == expected, "radix test 1");
22 static_assert(std::numeric_limits<const T>::radix == expected, "radix test 2");
23 static_assert(std::numeric_limits<volatile T>::radix == expected, "radix test 3");
24 static_assert(std::numeric_limits<const volatile T>::radix == expected, "radix test 4");
round_error.pass.cpp 20 test(T expected)
22 assert(std::numeric_limits<T>::round_error() == expected);
23 assert(std::numeric_limits<const T>::round_error() == expected);
24 assert(std::numeric_limits<volatile T>::round_error() == expected);
25 assert(std::numeric_limits<const volatile T>::round_error() == expected);
traps.pass.cpp 22 template <class T, bool expected>
26 static_assert(std::numeric_limits<T>::traps == expected, "traps test 1");
27 static_assert(std::numeric_limits<const T>::traps == expected, "traps test 2");
28 static_assert(std::numeric_limits<volatile T>::traps == expected, "traps test 3");
29 static_assert(std::numeric_limits<const volatile T>::traps == expected, "traps test 4");
  /system/core/libcutils/tests/
trace-dev_test.cpp 59 std::string expected = android::base::StringPrintf("B|%d|fake_name", getpid()); local
60 ASSERT_STREQ(expected.c_str(), actual.c_str());
64 std::string expected = android::base::StringPrintf("B|%d|", getpid()); local
65 std::string name = MakeName(ATRACE_MESSAGE_LENGTH - expected.length() - 1);
73 expected += name;
74 ASSERT_STREQ(expected.c_str(), actual.c_str());
83 ASSERT_STREQ(expected.c_str(), actual.c_str());
87 std::string expected = android::base::StringPrintf("B|%d|", getpid()); local
96 int expected_len = ATRACE_MESSAGE_LENGTH - expected.length() - 1;
97 expected += android::base::StringPrintf("%.*s", expected_len, name.c_str())
108 std::string expected = android::base::StringPrintf("S|%d|fake_name|12345", getpid()); local
113 std::string expected = android::base::StringPrintf("S|%d|", getpid()); local
136 std::string expected = android::base::StringPrintf("S|%d|", getpid()); local
157 std::string expected = android::base::StringPrintf("F|%d|fake_name|12345", getpid()); local
162 std::string expected = android::base::StringPrintf("F|%d|", getpid()); local
185 std::string expected = android::base::StringPrintf("F|%d|", getpid()); local
206 std::string expected = android::base::StringPrintf("C|%d|fake_name|12345", getpid()); local
211 std::string expected = android::base::StringPrintf("C|%d|", getpid()); local
234 std::string expected = android::base::StringPrintf("C|%d|", getpid()); local
255 std::string expected = android::base::StringPrintf("C|%d|fake_name|17179869183", getpid()); local
260 std::string expected = android::base::StringPrintf("C|%d|", getpid()); local
283 std::string expected = android::base::StringPrintf("C|%d|", getpid()); local
    [all...]
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpDeleteRequestTest.java 49 String[] expected = { local
58 assertResponse(outputStream, expected);
67 String[] expected = { local
76 assertResponse(outputStream, expected);
85 String[] expected = { local
94 assertResponse(outputStream, expected);
103 String[] expected = { local
113 assertResponse(outputStream, expected);
122 String[] expected = { local
132 assertResponse(outputStream, expected);
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/level1/core/
hc_nodeappendchilddocfragment.java 79 java.util.List expected = new java.util.ArrayList(); local
80 expected.add("em");
81 expected.add("strong");
82 expected.add("code");
83 expected.add("sup");
84 expected.add("var");
85 expected.add("acronym");
86 expected.add("br");
87 expected.add("b");
108 assertEqualsAutoCase("element", "nodeNames", expected, result)
    [all...]
nodeappendchilddocfragment.java 75 java.util.List expected = new java.util.ArrayList(); local
76 expected.add("employeeId");
77 expected.add("name");
78 expected.add("position");
79 expected.add("salary");
80 expected.add("gender");
81 expected.add("address");
82 expected.add("newChild1");
83 expected.add("newChild2");
104 assertEquals("elementNames", expected, result)
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldOutputStreamTest.java 55 boolean expected;
64 expected = true;
66 for (int i = 0; i < (shortByteArray.length) && expected; i++) {
67 expected = (shortByteArray[i] == buffer[i]);
70 expected);
74 fail("Test 2: IOException expected.");
80 boolean expected;
89 expected = true;
91 for (int i = 6, j = 0; j < 5 && expected; i++, j++) {
92 expected = (shortByteArray[i] == buffer[j])
    [all...]
  /system/update_engine/payload_generator/
extent_ranges_unittest.cc 35 const uint64_t* expected,
40 blocks += expected[i];
48 EXPECT_EQ(expected[i], it->start_block()) << "line: " << line;
49 EXPECT_EQ(expected[i + 1], it->num_blocks()) << "line: " << line;
143 static const uint64_t expected[] = {}; local
145 ExpectRangeEq(ranges, expected, 0, __LINE__);
149 static const uint64_t expected[] = {}; local
151 ExpectRangeEq(ranges, expected, 0, __LINE__);
160 static const uint64_t expected[] = {0, 2, 3, 1}; local
161 EXPECT_RANGE_EQ(ranges, expected);
165 static const uint64_t expected[] = {0, 4}; local
174 static const uint64_t expected[] = {0, 2, 3, 1}; local
182 static const uint64_t expected[] = { local
191 static const uint64_t expected[] = { local
199 static const uint64_t expected[] = { local
207 static const uint64_t expected[] = { local
221 uint64_t expected[] = {3, 2}; local
226 uint64_t expected[] = {0, 1, 3, 2}; local
231 uint64_t expected[] = {0, 1}; local
235 uint64_t expected[] = {3, 2}; local
    [all...]
  /external/webrtc/webrtc/modules/rtp_rtcp/source/
receive_statistics_unittest.cc 254 void MatchPacketCounter(const RtpPacketCounter& expected,
256 EXPECT_EQ(expected.payload_bytes, actual.payload_bytes);
257 EXPECT_EQ(expected.header_bytes, actual.header_bytes);
258 EXPECT_EQ(expected.padding_bytes, actual.padding_bytes);
259 EXPECT_EQ(expected.packets, actual.packets);
264 const StreamDataCounters& expected) {
267 MatchPacketCounter(expected.transmitted, stats_.transmitted);
268 MatchPacketCounter(expected.retransmitted, stats_.retransmitted);
269 MatchPacketCounter(expected.fec, stats_.fec);
288 StreamDataCounters expected; local
366 StreamDataCounters expected; local
    [all...]
  /external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
CharSinkTester.java 51 * Configures whether the writer is expected to throw exceptions when an
83 private static void assertArrayEquals(char[] expected, char[] actual) {
84 Assert.assertEquals(Arrays.toString(expected), Arrays.toString(actual));
94 char[] expected = new char[] { }; local
98 assertArrayEquals(expected, getChars());
102 char[] expected = new char[] { }; local
111 assertArrayEquals(expected, getChars());
115 char[] expected = "EFGCDECBA".toCharArray(); local
118 for (char c : expected) {
123 assertArrayEquals(expected, getChars())
127 char[] expected = "EFGCDECBA".toCharArray(); local
140 char[] expected = "EFGCDECBA".toCharArray(); local
167 char[] expected = new char[(1024 * 1024) + 1]; \/\/ 2 MB + 1 char local
    [all...]
SinkTester.java 52 * Configures whether the stream is expected to throw exceptions when an
84 private static void assertArrayEquals(byte[] expected, byte[] actual) {
85 Assert.assertEquals(Arrays.toString(expected), Arrays.toString(actual));
95 byte[] expected = new byte[] { };
99 assertArrayEquals(expected, getBytes());
103 byte[] expected = new byte[] { };
112 assertArrayEquals(expected, getBytes());
116 byte[] expected = new byte[] { 5, 6, 7, 3, 4, 5, 3, 2, 1 };
119 for (byte b : expected) {
124 assertArrayEquals(expected, getBytes())
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/testframework/
CharSinkTester.java 51 * Configures whether the writer is expected to throw exceptions when an
83 private static void assertArrayEquals(char[] expected, char[] actual) {
84 Assert.assertEquals(Arrays.toString(expected), Arrays.toString(actual));
94 char[] expected = new char[] { }; local
98 assertArrayEquals(expected, getChars());
102 char[] expected = new char[] { }; local
111 assertArrayEquals(expected, getChars());
115 char[] expected = "EFGCDECBA".toCharArray(); local
118 for (char c : expected) {
123 assertArrayEquals(expected, getChars())
127 char[] expected = "EFGCDECBA".toCharArray(); local
140 char[] expected = "EFGCDECBA".toCharArray(); local
167 char[] expected = new char[(1024 * 1024) + 1]; \/\/ 2 MB + 1 char local
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/
JUnitTestCaseAdapter.java 202 public void assertSame(DOMTestCase test, String assertID, Object expected, Object actual) {
203 boolean same = (expected == actual);
209 if(expected == null || actual == null ||
210 !(expected instanceof Node) || !(actual instanceof Node)) {
211 assertEquals(assertID,expected,actual);
217 assertEquals(assertID,expected,actual);
238 public void assertEqualsIgnoreCase(DOMTestCase test, String assertID, String expected, String actual) {
239 if (!expected.equalsIgnoreCase(actual)) {
240 assertEquals(assertID,expected, actual);
244 public void assertEqualsIgnoreCase(DOMTestCase test, String assertID, Collection expected, Collection actual)
    [all...]
  /external/vixl/test/
test-utils-a64.cc 53 bool Equal32(uint32_t expected, const RegisterDump*, uint32_t result) {
54 if (result != expected) {
55 printf("Expected 0x%08" PRIx32 "\t Found 0x%08" PRIx32 "\n",
56 expected, result);
59 return expected == result;
63 bool Equal64(uint64_t expected, const RegisterDump*, uint64_t result) {
64 if (result != expected) {
65 printf("Expected 0x%016" PRIx64 "\t Found 0x%016" PRIx64 "\n",
66 expected, result);
69 return expected == result
147 vec128_t expected = {expected_l, expected_h}; local
182 int64_t expected = core->xreg(reg0.code()); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_PhoneLookup.java 145 final ContentValues expected = new ContentValues(); local
146 expected.put(PhoneLookup._ID, ids[0].contactId);
147 expected.put(PhoneLookup.CONTACT_ID, ids[0].contactId);
148 expected.put(PhoneLookup.DATA_ID, ids[0].dataId);
149 expected.put(PhoneLookup.NUMBER, "1111222333444");
151 assertCursorStoredValuesWithContactsFilter(uri, ids, expected);
162 final ContentValues expected = new ContentValues(); local
163 expected.put(PhoneLookup._ID, ids[1].contactId);
164 expected.put(PhoneLookup.CONTACT_ID, ids[1].contactId);
165 expected.put(PhoneLookup.DATA_ID, ids[1].dataId)
178 final ContentValues expected = new ContentValues(); local
205 final ContentValues expected = new ContentValues(); local
222 final ContentValues expected = new ContentValues(); local
238 final ContentValues expected = new ContentValues(); local
    [all...]
  /frameworks/base/tools/split-select/
Grouper_test.cpp 104 Vector<const char*> expected; local
105 expected.add(a);
106 expectHasGroupWithSplits(expected);
110 Vector<const char*> expected; local
111 expected.add(a);
112 expected.add(b);
113 expectHasGroupWithSplits(expected);
117 Vector<const char*> expected; local
118 expected.add(a);
119 expected.add(b)
125 Vector<const char*> expected; local
    [all...]

Completed in 1927 milliseconds

<<11121314151617181920>>