Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 848 for real (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

    import jcifs.smb.SmbSessionInternal;
    import jcifs.smb.SmbTransportInternal;
    
    /**
     * Unit tests for SMB3 Multi-Channel functionality
     *
     * These tests verify the multi-channel implementation without requiring a real SMB server.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class MultiChannelIntegrationTest {
    
        @Mock
        private SmbTransportInternal mockTransport;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

                fail("Failed to access servername field: " + e.getMessage());
            }
        }
    
        @Test
        void testGetEntriesWithMultipleShares() throws Exception {
            // Create real ShareInfo1 objects instead of mocks
            srvsvc.ShareInfo1 shareInfo1 = new srvsvc.ShareInfo1();
            shareInfo1.netname = "Share1";
            shareInfo1.type = 0;
            shareInfo1.remark = "Remark for Share1";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/HMACT64Test.java

            }
        }
    
        // Integration test with actual MD5 to verify HMAC calculation logic
        @Test
        void testHMACT64WithActualMD5() throws NoSuchAlgorithmException {
            // This test uses a real MD5 instance to verify the HMAC calculation logic
            // HMACT64 is a modified HMAC-MD5 where the key is truncated at 64 bytes
            // instead of being hashed when it exceeds the block size.
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

     *
     * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by
     * attempting to read with a short timeout. If the fails immediately we know the socket is
     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean =
      try {
        val readTimeout = soTimeout
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileInformationTest.java

         */
        @Test
        @DisplayName("Test FileInformation implementation with spy")
        void testFileInformationWithSpy() throws SMBProtocolDecodingException {
            // Create spy on real object
            FileEndOfFileInformation realObject = new FileEndOfFileInformation(4096L);
            FileEndOfFileInformation spy = Mockito.spy(realObject);
    
            // Call methods
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import org.junit.runners.JUnit4;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class FinalizableReferenceQueueTest {
    
      private @Nullable FinalizableReferenceQueue frq;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import org.junit.runners.JUnit4;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class FinalizableReferenceQueueTest {
    
      private @Nullable FinalizableReferenceQueue frq;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", "env/" + envName, names);
        }
    
        /**
         * Gets the path by trying multiple locations in order of preference.
         * First tries to get the real path from servlet context, then checks various
         * fallback locations including source and target directories.
         *
         * @param root the root directory (e.g., "WEB-INF/")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          }
        }
    
        /*
         * TODO(cpovirk): `return (V) removedValue` once our checker permits that.
         *
         * (We promoted a class of warnings into errors because sometimes they indicate real problems.
         * But now we need to "undo" some instance of spurious errors, as discussed in
         * https://github.com/jspecify/checker-framework/issues/8.)
         */
        return removedValue == null ? null : (V) removedValue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        private NetShareEnum netShareEnum;
        private Configuration realConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            realConfig = new BaseConfiguration(false);
            // Mock configuration setup
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top