- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 1,153 for EXPECTED (0.04 seconds)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertTrue( from.getType() + " is expected to be assignable to " + to.getType(), to.isSupertypeOf(from)); assertTrue( to.getType() + " is expected to be a supertype of " + from.getType(), to.isSupertypeOf(from)); assertTrue( from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
*/ @CanIgnoreReturnValue public NetworkBuilder<N, E> allowsSelfLoops(boolean allowsSelfLoops) { this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the network. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java
throw new XmlPullParserException( "Expected root element 'extensions' but found '" + parser.getName() + "'", parser, null); } else if (parsed) { // fallback, already expected a XmlPullParserException due to invalid XML throw new XmlPullParserException("Duplicated tag: 'extensions'", parser, null);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 25.3K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
new Organization().equals(new Organization()); } @Test void testEqualsIdentity() { Organization thing = new Organization(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() { assertNotNull(new Organization().toString()); } @Test public void testToStringNotNonsense11() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
* Test that interface constants are correctly defined */ @Test @DisplayName("Test FileInformation constants are correctly defined") void testInterfaceConstants() { // Verify all constants have expected values assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO); assertEquals((byte) 0x4, FileInformation.FILE_BASIC_INFO); assertEquals((byte) 0x5, FileInformation.FILE_STANDARD_INFO);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
Request( url = server.url("/"), body = requestBody, ), ) assertFailsWith<IOException> { callA.execute() }.also { expected -> assertThat(expected).hasMessage("boom") } assertThat(server.requestCount).isEqualTo(0) // Confirm that the connection pool was not corrupted by making another call. This doesn't use
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 11:54:15 GMT 2026 - 10.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
* remove) are supported. Null keys and values are supported. * * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and * amortized) constant time operations. Expected in the hashtable sense (depends on the hash * function doing a good job of distributing the elements to the buckets to a distribution not farCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 14:59:07 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/pac/ASN1Util.java
} /** * Read a tagged object without parsing it's contents * * BC no longer seems to allow that out of the box * * @param expectTag the expected tag number * @param limit the maximum length limit * @param in the ASN.1 input stream * @return coded bytes of the tagged object * @throws IOException if reading fails or tag mismatch */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
Map<String, String> expected = Map.of("a", "$\\{var}", "ab", "$\\{var}b", "abc", "$\\{var}bc"); java.util.Properties props1 = new java.util.Properties(); props1.load(new StringReader(config)); new DefaultInterpolator().performSubstitution((Map) props1, null, true); assertEquals(expected, props1); MavenProperties props2 = new MavenProperties();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 09 14:29:03 GMT 2026 - 16.3K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractVersionsUpdateTask.kt
} else { line } } ) require(lineFound) { "File '$docFile' does not contain the expected compatibility line: '$linePrefix'" } } protected fun fetchVersionsFromMavenMetadata(url: String): List<String> = DocumentBuilderFactory.newInstance().apply {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Oct 24 09:10:28 GMT 2025 - 3.4K bytes - Click Count (0)