- Sort Score
- Result 10 results
- Languages All
Results 1311 - 1320 of 2,083 for instance2 (0.12 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
}; client.setAccessTimeout(1); try { client.doGet("file:/tmp/test.txt"); fail(); } catch (CrawlingAccessException e) { assertTrue(e.getCause() instanceof InterruptedException); } } public void test_doHead_accessTimeoutTarget() { FileSystemClient client = new FileSystemClient() { @Override
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 8K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java
assertSame(range, VersionRange.createFromVersionSpec("[1.0,1.2]")); // same instance from spec cache VersionRange spec = VersionRange.createFromVersionSpec("1.0"); assertSame(spec, VersionRange.createFromVersionSpec("1.0")); // same instance from spec cache List<Restriction> restrictions = spec.getRestrictions();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 44.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
import java.io.OutputStream; import java.lang.reflect.Method; import java.util.Map.Entry; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * A generator of {@code TestSuite} instances for testing {@code ByteSink} implementations. * Generates tests of all methods on a {@code ByteSink} given various inputs written to it as well * as sub-suites for testing the {@code CharSink} view in the same way. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
import java.io.OutputStream; import java.lang.reflect.Method; import java.util.Map.Entry; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * A generator of {@code TestSuite} instances for testing {@code ByteSink} implementations. * Generates tests of all methods on a {@code ByteSink} given various inputs written to it as well * as sub-suites for testing the {@code CharSink} view in the same way. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocMapTest.java
} public void test_map_interface_compliance() { Map<String, Object> parentMap = new HashMap<>(); DocMap docMap = new DocMap(parentMap); assertTrue(docMap instanceof Map); assertTrue(docMap instanceof Map<?, ?>); Map<String, Object> genericMap = docMap; genericMap.put("test", "value"); assertEquals("value", genericMap.get("test")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.5K bytes - Viewed (0) -
guava/src/com/google/common/graph/EndpointPair.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
final ASN1TaggedObject constructed = (ASN1TaggedObject) is.readObject(); if (constructed == null || constructed.getTagClass() != BERTags.APPLICATION || !(constructed.getBaseObject() instanceof ASN1Sequence)) { throw new IOException("Malformed SPNEGO token " + constructed); } final ASN1Sequence vec = (ASN1Sequence) constructed.getBaseObject();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
*/ class SmbComNegotiateTest { private SmbComNegotiate smbComNegotiate; private static final String DIALECTS = "\u0002NT LM 0.12\u0000"; @BeforeEach void setUp() { // Create a new instance before each test smbComNegotiate = new SmbComNegotiate(); } /** * Test the constructor of SmbComNegotiate. * It should initialize the command and flags2 with default values. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
ComparableVersion c1 = new ComparableVersion("1"); c1.parseVersion("2"); Comparable<?> c2 = newComparable("2"); assertEquals(c1, c2, "reused instance should be equivalent to new instance"); } /** * Test <a href="https://issues.apache.org/jira/browse/MNG-7644">MNG-7644</a> edge cases * 1.0.0.RC1 < 1.0.0-RC2 and more generally:
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
@Override protected Iterator<E> newTargetIterator() { return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator(); } }.test(); } /** * Returns {@link Method} instances for the tests that assume multisets support duplicates so that * the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0)