- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 556 for works (0.06 sec)
-
src/test/java/jcifs/http/HandlerTest.java
} @Test void testOpenConnection_HttpsProtocol_ReturnsNtlmHttpURLConnection() throws Exception { // This test ensures that for a standard HTTPS URL, openConnection also works and // wraps the connection, using mock handlers to avoid dependency on system handlers. setupMockProtocolHandlers(); URL url = new URL("https://example.com/resource");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
return ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override protected List<String> create(String[] elements) { // For this test we trust ArrayList works List<String> list = new ArrayList<>(); Collections.addAll(list, elements); return new AbstractSequentialList<String>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 15:04:05 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
} verify(autoCloseTree).close(); } /** * Test for unwrap with nested wrapping. * Verifies that unwrap works correctly with multiple levels of wrapping. */ @Test void testUnwrap_nestedWrapping() { // Create a chain of wrapped trees CustomSmbTree innerTree = mock(CustomSmbTree.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
assertFalse(item1.equals(null)); // Test with different class assertFalse(item1.equals("string")); } public void test_equals_withUnsortedInputs() { // Test that equals works correctly even when inputs are initially unsorted String[] inputs1 = { "z", "a", "m" }; String[] inputs2 = { "m", "z", "a" }; CharMappingItem item1 = new CharMappingItem(1L, inputs1, "output");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
public void testToStringRequiresValidConfig() { // Constructor with null config throws exception, so we can't test toString with null config // Instead, test that toString works with a valid config // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); // When String result = smbComTreeDisconnect.toString(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* Fully maps a file read-only in to memory as per {@link * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}. * * <p>Files are mapped from offset 0 to its length. * * <p>This only works for files ≤ {@link Integer#MAX_VALUE} bytes. * * @param file the file to map * @return a read-only buffer reflecting {@code file} * @throws FileNotFoundException if the {@code file} does not exist
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
return Collectors.collectingAndThen( Collectors.toMap(keyFunction, valueFunction, mergeFunction, LinkedHashMap::new), ImmutableMap::copyOf); } @SuppressWarnings("unchecked") // An empty map works for all types. public static <K, V> ImmutableMap<K, V> of() { return (ImmutableMap<K, V>) RegularImmutableMap.EMPTY; } public static <K, V> ImmutableMap<K, V> of(K k1, V v1) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* hint, so this technique may fail at the whim of the JDK implementation, for example if a user * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for * ordinary tests. * * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time * period or an interrupt while waiting for the expected event will result in a {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
*/ @CanIgnoreReturnValue // pushed down from class to method @Override public Iterator<E> iterator() { return new Itr(toArray()); } /** Snapshot iterator that works off copy of underlying q array. */ private class Itr implements Iterator<E> { final Object[] array; // Array of all elements int cursor; // index of next element to return;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
return super.loadDataStoreNameList(); } }; // Note: ResourceUtil.getPluginJarFiles is a static method, so we can't mock it directly // The test will verify the method works with the actual ResourceUtil implementation // Test with reflection to access protected method List<String> names = testFactory.loadDataStoreNameList();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0)