Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 960 for correctly (0.07 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            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);
            assertEquals(2, TransPeekNamedPipeResponse.STATUS_LISTENING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

                    Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F }));
        }
    
        @ParameterizedTest
        @MethodSource("int32Provider")
        @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset")
        void testReadParameterWords(int expectedInt, byte[] bytes) {
            // The implementation reads via SMBUtil.readInt4 which returns an int
            // When assigned to a long field, it gets sign-extended
    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/packaging/common/packaging.properties

    packaging.os.max.open.files=65535
    
    # Maximum number of VMA (Virtual Memory Areas) a process can own
    packaging.os.max.map.count=262144
    
    # Simple marker to check that properties are correctly overridden
    packaging.type=tar.gz
    
    # Custom header for package scripts
    packaging.scripts.header=
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Dec 10 01:24:02 UTC 2015
    - 797 bytes
    - Viewed (0)
  4. tests/embedded_struct_test.go

    		t.Errorf("no error should happen when query with embedded struct, but got %v", err)
    	} else if news.Title != "hn_news" {
    		t.Errorf("embedded struct's value should be scanned correctly")
    	}
    
    	DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_news"}, Author: &Author{Name: "Edward"}})
    	DB.Save(&EngadgetPost{BasePost: BasePost{Title: "engadget_article"}, Author: &Author{Name: "George"}})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            cifsContextWrapper = new CIFSContextWrapper(mockDelegate);
        }
    
        @Test
        void testConstructor() {
            // Verify that the delegate is correctly set
            assertNotNull(cifsContextWrapper);
        }
    
        @Test
        void testGetSmbResource() throws CIFSException, MalformedURLException {
            // Test get(String url) method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Change name
            generator.setName("new-name");
            assertEquals("new-name", generator.getName());
        }
    
        public void test_generate() {
            // Test generate method is called correctly
            generator = new TestThumbnailGenerator();
            File outputFile = new File("test.jpg");
    
            assertFalse(generator.isGenerateCalled());
            assertTrue(generator.generate("id123", outputFile));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

     */
    class NtlmChallengeTest {
    
        @Nested
        @DisplayName("Constructor and Field Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Constructor sets fields correctly")
            void testConstructorSetsFields() {
                byte[] challenge = new byte[] { 1, 2, 3 };
                UniAddress dc = mock(UniAddress.class);
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacSidAttributesTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
            // Test the getAttributes method
            assertEquals(attributes, pacSidAttributes.getAttributes(), "getAttributes should return the correct attributes.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor initializes all fields correctly
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            assertNotNull(trans2FindNext2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    
    class AvSingleHostTest {
    
        /**
         * Test constructor AvSingleHost(byte[] raw).
         * Should correctly parse the raw bytes.
         */
        @Test
        void testAvSingleHostRawConstructor() {
            byte[] rawData = new byte[48]; // 8 (size/zero) + 8 (customData) + 32 (machineId)
            // Simulate some data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top