Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 766 for properly (0.18 sec)

  1. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

                PrefixQuery query = new PrefixQuery(new Term("field", "test"));
                QueryContext context = new QueryContext("test", false);
    
                // This should work if the command is properly registered
                QueryBuilder result = newQueryProcessor.execute(context, query, 1.0f);
                assertNotNull(result);
            } finally {
                // Reset to the original queryProcessor for other tests
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            testOutputBuffer = new byte[1024];
        }
    
        @Test
        @DisplayName("Should implement RequestWithFileId interface correctly")
        void testInterfaceImplementation() {
            // Test that common implementations properly implement the interface
            RequestWithFileId closeRequest = new Smb2CloseRequest(mockConfig, testFileId);
            RequestWithFileId queryInfoRequest = new Smb2QueryInfoRequest(mockConfig, testFileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            // Then
            assertEquals(0, result);
        }
    
        /**
         * Test toString method
         */
        @Test
        @DisplayName("Test toString returns properly formatted string")
        public void testToString() {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            byte[] dst = new byte[256];
            int written = packet.writeTrailerWireFormat(dst, 0);
            assertTrue(written > 0);
        }
    
        @Test
        @DisplayName("Constructor with NetbiosNames should initialize properly")
        void testConstructorWithNetbiosNames() {
            when(mockCalledName.getName()).thenReturn("SERVER");
            when(mockCalledName.getNameType()).thenReturn(0x20);
            when(mockCalledName.getScope()).thenReturn(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            when(address.getHostName()).thenReturn("testhost");
    
            transport = new SmbTransportImpl(context, address, 445, null, 0, false);
        }
    
        /**
         * Test that pre-auth integrity hash is properly synchronized
         */
        @Test
        @DisplayName("Pre-auth integrity hash should be thread-safe")
        void testPreauthHashThreadSafety() throws Exception {
            // Setup SMB3.1.1 negotiation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          logger
              .get()
              .log(
                  Level.WARNING,
                  "ServiceManager configured with no services.  Is your application configured"
                      + " properly?",
                  new EmptyServiceManagerWarning());
          copy = ImmutableList.<Service>of(new NoOpService());
        }
        this.state = new ServiceManagerState(copy);
        this.services = copy;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
    
            @Test
            public void testGetTypeForShare() throws Exception {
                SmbFile share = new SmbFile("smb1://server/share/");
                // To test this properly, we would need to mock connect0() and the tree object.
                // This is a limitation of unit testing such a coupled class.
                // We expect an SmbException because it will try to connect.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            int cmd2 = (int) commandField.get(req2);
    
            assertEquals(cmd1, cmd2);
            assertEquals(SMB2_TREE_DISCONNECT, cmd1);
        }
    
        @Test
        @DisplayName("Should properly implement wire format protocol")
        void testWireFormatProtocol() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmServletTest.java

        }
    
        /**
         * Test the init method when CIFSException occurs.
         * Verifies that configuration properties are properly validated during initialization.
         */
        @Test
        void testInitWithCIFSException() {
            // Test with valid configuration - should initialize successfully
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/transport/Transport.java

     * multiplexing requests. It encapsulates a stream and some protocol
     * knowledge (provided by a concrete subclass) so that connecting,
     * disconnecting, sending, and receiving can be syncronized
     * properly. Apparatus is provided to send and receive requests
     * concurrently.
     */
    
    public abstract class Transport implements Runnable {
    
        /**
         * Default constructor for Transport.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top