Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 585 for Upsert (0.58 sec)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            assertEquals(3, result5.getAllRecordCount());
        }
    
        // Test insert method
        public void test_insert() throws Exception {
            writeTestFile("a,b => c\n");
    
            CharMappingItem newItem = new CharMappingItem(0, new String[] { "x", "y" }, "z");
            charMappingFile.insert(newItem);
    
            // Verify the item was added
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. src/main/config/eclipse/formatter/java.xml

    <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
    <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Sep 17 06:39:42 UTC 2017
    - 30.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileTest.java

                smbFile.connect();
    
                // Assert - should not throw exception
            }
    
            @Test
            void testClose() {
                // Act
                smbFile.close();
    
                // Assert - should not throw exception
            }
    
            @Test
            void testGetTransportContext() {
                // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            // Assert
            assertTrue(result);
            verify(negotiationResponse).isDFSSupported();
        }
    
        @Test
        @DisplayName("Test isDFSSupported returns false")
        void testIsDFSSupportedFalse() {
            // Arrange
            when(negotiationResponse.isDFSSupported()).thenReturn(false);
    
            // Act
            boolean result = negotiationResponse.isDFSSupported();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            // Assert
            assertNotNull(transWaitNamedPipe);
            assertNull(transWaitNamedPipe.name);
        }
    
        @Test
        @DisplayName("Constructor with empty pipe name should handle gracefully")
        void testConstructorWithEmptyPipeName() {
            // Act
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, "");
    
            // Assert
            assertNotNull(transWaitNamedPipe);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        void release_invokedOnce() throws Exception {
            // Arrange: no setup needed; we verify interaction only
    
            // Act: call release
            handle.release();
    
            // Assert: verify one invocation and no more
            verify(handle, times(1)).release();
            verifyNoMoreInteractions(handle);
        }
    
        @Test
        @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

        void testConstructor() {
            // Assert
            assertNotNull(response);
            assertTrue(response instanceof SmbComTransactionResponse);
            assertEquals(0, response.getAvailable());
        }
    
        @Test
        @DisplayName("Should verify status constants are correctly defined")
        void testStatusConstants() {
            // Assert
            assertEquals(1, TransPeekNamedPipeResponse.STATUS_DISCONNECTED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

            void testConstructorWithParameters() {
                // Act
                context = new PreauthIntegrityNegotiateContext(mockConfig, testHashAlgos, testSalt);
    
                // Assert
                assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, context.getContextType());
                assertArrayEquals(testHashAlgos, context.getHashAlgos());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/UUIDTest.java

                rpcUuid.clock_seq_low = CLOCK_SEQ_LOW;
                rpcUuid.node = NODE;
    
                // Act
                UUID uuid = new UUID(rpcUuid);
    
                // Assert
                assertEquals(TIME_LOW, uuid.time_low, "time_low should match");
                assertEquals(TIME_MID, uuid.time_mid, "time_mid should match");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            // Arrange
            int offset = 0;
            int length = testData.length;
    
            // Act
            signingDigest.sign(testData, offset, length, request, response);
    
            // Assert
            verify(signingDigest, times(1)).sign(testData, offset, length, request, response);
        }
    
        @Test
        @DisplayName("Test sign method with different offsets")
        void testSignWithDifferentOffsets() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top