- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,415 for unexpected (0.07 sec)
-
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
for (long value : TEST_LONGS) { BigInteger expected = (value >= 0) ? BigInteger.valueOf(value) : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64)); assertWithMessage(UnsignedLongs.toString(value)) .that(UnsignedLong.fromLongBits(value).bigIntegerValue()) .isEqualTo(expected); } } public void testValueOfLong() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
internal/http/server_test.go
}) } if server == nil { t.Fatalf("Case %v: server: expected: <non-nil>, got: <nil>", (i + 1)) } else if !reflect.DeepEqual(server.Addrs, testCase.addrs) { t.Fatalf("Case %v: server.Addrs: expected: %v, got: %v", (i + 1), testCase.addrs, server.Addrs) } if testCase.certFn == nil { if server.TLSConfig != nil { t.Fatalf("Case %v: server.TLSConfig: expected: <nil>, got: %v", (i + 1), server.TLSConfig) } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
subList.remove(0); List<E> expected = asList(createSamplesArray()).subList(1, getNumElements()); expectContents(expected); } @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testSubList_subListClearAffectsOriginal() { List<E> subList = getList().subList(0, 1); subList.clear();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
subList.remove(0); List<E> expected = asList(createSamplesArray()).subList(1, getNumElements()); expectContents(expected); } @ListFeature.Require(SUPPORTS_REMOVE_WITH_INDEX) @CollectionSize.Require(absent = ZERO) public void testSubList_subListClearAffectsOriginal() { List<E> subList = getList().subList(0, 1); subList.clear();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 13.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
public void testValues() { List<V> expected = Lists.newArrayList(); for (Entry<K, V> entry : getSampleElements()) { expected.add(entry.getValue()); } assertEqualIgnoringOrder(expected, multimap().values()); } @CollectionFeature.Require(KNOWN_ORDER) public void testValuesInOrder() { List<V> expected = Lists.newArrayList(); for (Entry<K, V> entry : getOrderedElements()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/distributed/decom.sh
ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected versioning enabled after decommission" exit 1 fi ./mc ls -r myminio/versioned >decommissioned_ns.txt ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt) ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected no missing entries after decommission: $out" exit 1 fi
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 6.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java
String expected; String actual; String value; value = "hoge.txt"; expected = "hoge.txt"; actual = extractor.getFileName(value); assertEquals(expected, actual); value = "/hoge.txt"; expected = "hoge.txt"; actual = extractor.getFileName(value); assertEquals(expected, actual);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
assertEquals( /*expected=*/ LongMath.sqrt(Long.MAX_VALUE, FLOOR), /*actual=*/ LongMath.FLOOR_SQRT_MAX_LONG); } @GwtIncompatible // TODO public void testConstantsFactorials() { long expected = 1; for (int i = 0; i < LongMath.factorials.length; i++, expected *= i) { assertEquals(expected, LongMath.factorials[i]); } assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
} public void testCallWithTimeout_badCallableWithEnoughTime() throws Exception { ExecutionException expected = assertThrows( ExecutionException.class, () -> service.callWithTimeout(BAD_CALLABLE, ENOUGH_MS, MILLISECONDS)); assertThat(expected.getCause()).isInstanceOf(SampleException.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
VerifyException expected = assertThrows(VerifyException.class, () -> verify(false, "message")); assertThat(expected).hasMessageThat().isEqualTo("message"); } public void testVerify_complexMessage_success() { verify(true, "%s", IGNORE_ME); } public void testVerify_complexMessage_failure() { VerifyException expected = assertThrows(VerifyException.class, () -> verify(false, FORMAT, 5));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 3.2K bytes - Viewed (0)