Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,990 for Shouldn (0.05 sec)

  1. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertTrue(messageBytes.length >= 12);
            // Message type should be 3 (little endian)
            assertEquals(3, messageBytes[8] & 0xFF);
            assertEquals(0, messageBytes[9] & 0xFF);
            assertEquals(0, messageBytes[10] & 0xFF);
            assertEquals(0, messageBytes[11] & 0xFF);
        }
    
        @Test
        @DisplayName("Should generate LM and NTLM responses")
        void testLMAndNTLMResponses() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     */
    
    public class SmbNamedPipe extends SmbFile {
    
        /**
         * The pipe should be opened read-only.
         */
    
        public static final int PIPE_TYPE_RDONLY = O_RDONLY;
    
        /**
         * The pipe should be opened only for writing.
         */
    
        public static final int PIPE_TYPE_WRONLY = O_WRONLY;
    
        /**
         * The pipe should be opened for both reading and writing.
         */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            // Execute for primary transaction
            int primaryBytes = transaction.writeParameterWordsWireFormat(dst, 0);
    
            // The return value should be the number of bytes written
            // For primary NT transaction: should be at least 38 bytes
            assertTrue(primaryBytes >= 38);
    
            // Execute for secondary transaction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

                    if (field.getType().equals(HtmlNext.class)) {
                        Object value = field.get(null);
                        assertNotNull("Field " + field.getName() + " should not be null", value);
                        assertTrue("Field " + field.getName() + " should be HtmlNext instance", value instanceof HtmlNext);
                    }
                }
            }
        }
    
        public void test_pathValues() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

            byte[] buf = new byte[offset + 8]; // extra space for safety
    
            // Act
            int written = req.writeBytesWireFormat(buf, offset);
    
            // Assert: should write exactly 4 bytes
            assertEquals(4, written, "Should report 4 bytes written");
            // StructureSize (2 bytes, LE) == 4
            assertEquals(4, SMBUtil.readInt2(buf, offset));
            // Reserved (2 bytes, LE) == 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            try {
                SearchEngineUtil.class.getDeclaredConstructor().newInstance();
                fail("Should not be able to instantiate utility class");
            } catch (Exception e) {
                // Expected - utility classes should have private constructors
                assertTrue(e instanceof IllegalAccessException || e.getCause() instanceof IllegalAccessException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("  Avg release time: %.2f ns%n", avgReleaseTimeNs);
    
            // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead)
            assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)");
            assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)");
            assertEquals(threadCount * operationsPerThread, allocations.get());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

            }
        }
    
        public void test_classStructure() {
            // Verify the class is generic
            final java.lang.reflect.TypeVariable<?>[] typeParameters = FessActionValidator.class.getTypeParameters();
            assertEquals("Should have one type parameter", 1, typeParameters.length);
            assertEquals("Type parameter should be MESSAGES", "MESSAGES", typeParameters[0].getName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java

            List<KerberosAuthData> result = KerberosAuthData.parse(unknownAuthType, emptyToken, mockKeys);
    
            // THEN the result should be an empty list
            assertNotNull(result, "The result should not be null.");
            assertTrue(result.isEmpty(), "The result should be empty for unknown auth types.");
        }
    
        /**
         * Test parsing of {@link KerberosConstants#AUTH_DATA_PAC} with an invalid token.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTransportTest.java

            // Act
            CIFSContext result = smbTransport.getContext();
    
            // Assert
            assertNotNull(result, "Context should not be null");
            assertEquals(cifsContext, result, "Returned context should be the mocked context");
            verify(smbTransport).getContext(); // Verify that the method was called
        }
    
        @Test
        void testUnwrap() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top