Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 142 for testLink (1.77 sec)

  1. src/main/java/jcifs/internal/witness/WitnessClient.java

            this(witnessServer, context, new WitnessRpcClient(witnessServer, context));
        }
    
        /**
         * Creates a new witness client with a custom RPC client (for testing).
         *
         * @param witnessServer the witness server address
         * @param context the CIFS context
         * @param rpcClient the RPC client to use
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

     * Tests the abstract transformer implementation and its name management functionality.
     */
    public class AbstractTransformerTest extends PlainTestCase {
    
        /**
         * Concrete implementation of AbstractTransformer for testing
         */
        public static class TestTransformer extends AbstractTransformer {
            private int transformCallCount = 0;
            private ResponseData lastResponseData = null;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionServicePacketTest.java

                    Arguments.of(Integer.MIN_VALUE, false));
        }
    
        // Concrete implementation for testing abstract class
        private static class TestSessionServicePacket extends SessionServicePacket {
            int trailerLength = 10; // Default trailer length for testing
            int trailerBytesRead = 0;
    
            @Override
            int writeTrailerWireFormat(byte[] dst, int dstIndex) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

        static abstract class BaseCreds implements SmbRenewableCredentials {
            @Override
            public CredentialsInternal clone() {
                // For testing purposes, return this instance (allowed by return type)
                return this;
            }
    
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Authenticator.java

            super(domain, username, password);
            this.canFallback = true;
            this.subject = subject;
        }
    
        /**
         * Testing only: force fallback to NTLM
         *
         * @param forceFallback
         *            the forceFallback to set
         */
        public void setForceFallback(boolean forceFallback) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

    import jcifs.util.Hexdump;
    
    class NtTransNotifyChangeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NtTransNotifyChange notifyChange;
    
        // Completion filter constants for testing
        private static final int FILE_NOTIFY_CHANGE_FILE_NAME = 0x00000001;
        private static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x00000002;
        private static final int FILE_NOTIFY_CHANGE_ATTRIBUTES = 0x00000004;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top