Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 724 for WHEN (1.04 sec)

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

            }
    
            // Test channel selection with mock request when no channels available
            ServerMessageBlock2Request mockRequest = mock(ServerMessageBlock2Request.class);
            when(mockRequest.getTreeId()).thenReturn(123);
    
            // Should throw NoAvailableChannelException when no healthy channels
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/FileEntryTest.java

            when(mockEntry.getName()).thenReturn("file.txt");
            when(mockEntry.getType()).thenReturn(1);
            when(mockEntry.getAttributes()).thenReturn(0x20);
            when(mockEntry.createTime()).thenReturn(100L);
            when(mockEntry.lastModified()).thenReturn(200L);
            when(mockEntry.lastAccess()).thenReturn(300L);
            when(mockEntry.length()).thenReturn(12345L);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/elevateword/EditForm.java

     * including tracking information for optimistic locking and audit trails.
     * Elevate words are used to boost specific documents in search results when certain keywords are matched.
     *
     */
    public class EditForm extends CreateForm {
    
        /**
         * Creates a new EditForm instance.
         */
        public EditForm() {
            super();
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

            // Configure the mock transport with the server data
            transport.server = serverData;
    
            smbtStatic = mockStatic(SmbTransport.class);
            smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445, inet, 0, null)).thenReturn(transport);
            smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445)).thenReturn(transport);
        }
    
        @AfterEach
        void tearDown() {
            if (smbtStatic != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            request.setFileInfoClass((byte) 0x04);
            request.setAdditionalInformation(0x12345678);
    
            Encodable mockInfo = mock(Encodable.class);
            when(mockInfo.encode(any(byte[].class), anyInt())).thenReturn(20);
            when(mockInfo.size()).thenReturn(20);
            request.setInfo(mockInfo);
    
            // Set up header start for offset calculation
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessClient.java

         */
        public interface WitnessNotificationListener {
            /**
             * Called when a witness notification is received.
             *
             * @param notification the witness notification
             */
            void onWitnessNotification(WitnessNotification notification);
    
            /**
             * Called when a witness registration fails.
             *
             * @param registration the failed registration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            void testReadOperationsWithNullBuffer() {
                // Read operations return 0 when given null buffer - no exceptions thrown
                assertEquals(0, response.readSetupWireFormat(null, 0, 0));
                assertEquals(0, response.readParametersWireFormat(null, 0, 0));
    
                // readDataWireFormat will throw when accessing null buffer
                assertThrows(NullPointerException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        }
    
        @Test
        void testTimeReadWriteZero() {
            byte[] buffer = new byte[8];
            ServerMessageBlock.writeTime(0, buffer, 0);
            // When zero is written, it stays as zero in buffer
            // When read back, it converts to negative Unix time due to Windows FileTime conversion
            long expectedTime = -SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            assertNull(ex.getMessage(), "Default constructor should have null message");
            assertNull(ex.getCause(), "Default constructor should have null cause");
    
            // Assert - toString shows class name when message is null
            assertEquals(SMBProtocolDowngradeException.class.getName(), ex.toString());
    
            // Assert - type hierarchy: subclass of CIFSException and IOException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/HandlerTest.java

        @DisplayName("openConnection returns SmbFile using provided CIFSContext")
        void testOpenConnection_UsesProvidedContext() throws MalformedURLException, IOException {
            // Arrange
            when(mockCtx.getConfig()).thenReturn(mockCfg);
            when(mockCfg.isTraceResourceUsage()).thenReturn(false);
    
            Handler handler = newHandlerWith(mockCtx);
            URL url = new URL(null, "smb://example-host/share/", new Handler());
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top