- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 1,151 for testUsing (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.testing.NullPointerTester; import java.util.Arrays; import java.util.List; import java.util.Objects; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
files.add(file); } catch (Exception e) { log.warn("Error creating SmbFile from cache for {}: {}", fileInfo.getName(), e.getMessage()); // For testing purposes, continue processing other files // In a real scenario, you might want to handle this differently } } return files; } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
packet.length = 10; assertThrows(IOException.class, () -> { packet.readTrailerWireFormat(emptyStream, new byte[10], 0); }); } // Helper class for testing with concrete NetbiosName implementation private class TestNetbiosName implements NetbiosName { private final String name; private final int type; private final String scope;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
@Test void shouldReturnNullWhenWrappedIsNeitherInetAddressNorAddress() throws Exception { // UniAddress only accepts InetAddress, NbtAddress (which implements Address), or Address // Testing with NbtAddress which doesn't return anything from toInetAddress NbtAddress nbtAddress = mock(NbtAddress.class); when(nbtAddress.toInetAddress()).thenReturn(null);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
Map<String, URLStreamHandler> handlers = (Map<String, URLStreamHandler>) handlersField.get(null); handlers.clear(); } /** * Pre-populates the protocol handlers cache with mock handlers for testing. * This avoids the need for actual protocol handlers to be available. */ private void setupMockProtocolHandlers() throws Exception { Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BooleansTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.ImmutableList; import com.google.common.collect.testing.Helpers; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import java.util.Arrays; import java.util.Collection; import java.util.Comparator; import java.util.List; import junit.framework.TestCase;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 25.2K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
// The exception should be serializable since it extends CIFSException assertTrue(exception instanceof java.io.Serializable); } /** * Helper class for testing - not actually needed but demonstrates IOException usage */ private static class IOException extends Exception { public IOException(String message) { super(message); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing; import com.google.common.annotations.GwtIncompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.Serializable; import java.util.Collection; import java.util.Comparator;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 5.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
import okhttp3.Request import okhttp3.RequestBody import okhttp3.Response import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.MockWebServer import okhttp3.mockwebserver.SocketPolicy import okhttp3.testing.PlatformRule import okio.Buffer import okio.BufferedSink import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 18:33:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
dummyRus.length = 14; // 7 characters * 2 bytes/char dummyRus.maximum_length = 14; UnicodeString manualUnicodeString = new UnicodeString(dummyRus, false); assertEquals("Testing", manualUnicodeString.toString(), "toString should work with manually set buffer and length (no zterm)"); // Test toString with a manually constructed UnicodeString with ztermRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0)