- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 5,547 for expect (0.04 seconds)
-
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
assertTrue(hp.hasPort()); assertEquals(expectPort, hp.getPort()); } else { assertFalse(hp.hasPort()); try { hp.getPort(); fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } } assertEquals(expectHost, hp.getHost()); // Check the post-withDefaultPort() instance (if any). if (!badDefaultPort) { try {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> checkArgument(false, new Message())); verifySimpleMessage(expected); } public void testCheckArgument_nullMessage_failure() { IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> checkArgument(false, null)); assertThat(expected).hasMessageThat().isEqualTo("null"); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
public void testReadLine() throws IOException { DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); UnsupportedOperationException expected = assertThrows(UnsupportedOperationException.class, () -> in.readLine()); assertThat(expected).hasMessageThat().isEqualTo("readLine is not supported"); } public void testReadLittleEndian() throws IOException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
assertWithMessage("valueStrength").that(actual.valueStrength).isEqualTo(expected.valueStrength); assertWithMessage("statsCounterSupplier") .that(actual.statsCounterSupplier) .isEqualTo(expected.statsCounterSupplier); assertWithMessage("ticker").that(actual.ticker).isEqualTo(expected.ticker); assertWithMessage("recordStats") .that(actual.isRecordingStats())
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 20.8K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
DELIMITER_DOT -> { if (readByte() != '.'.code.toByte()) throw IOException("expected '..'") readHexadecimalUnsignedLong() } else -> sourceCodePoint0 } skipWhitespace() if (readByte() != ';'.code.toByte()) throw IOException("expected ';'") // "valid" or "mapped" skipWhitespace() val type = select(optionsType)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java
/* * Copyright (C) 2013 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 2.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformationTest.java
* distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
}; private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) { assertEquals(expected, joiner.join(parts)); assertEquals(expected, joiner.join(parts.iterator())); StringBuilder sb1FromIterable = new StringBuilder().append('x'); joiner.appendTo(sb1FromIterable, parts); assertEquals("x" + expected, sb1FromIterable.toString());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
/** * Returns a filter for directories that may contain paths accepted by the given matcher. * The given path matcher should be an instance created by this service. * The path matcher returned by this method expects directory paths. * If that matcher returns {@code false}, then the directory will definitively not contain * the paths selected by the matcher given in argument to this method.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Jul 21 19:37:56 GMT 2025 - 7.5K bytes - Click Count (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();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13.5K bytes - Click Count (0)