Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 3,060 for _shouldn (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

            // The method should write parameter words
            assertTrue(result >= 0, "writeParameterWordsWireFormat should return non-negative value");
        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
            int result = response.readParameterWordsWireFormat(buffer, 0);
    
            // The method should read parameter words
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Assert - verify inheritance chain
                assertTrue(msg instanceof samr.SamrConnect2, "Should extend SamrConnect2");
                assertTrue(msg instanceof DcerpcMessage, "Should extend DcerpcMessage");
                assertTrue(msg instanceof NdrObject, "Should extend NdrObject");
            }
    
            @Test
            @DisplayName("should inherit getOpnum method")
            void testGetOpnumMethod() {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    	}
    
    	// RelationModel3 should be existed
    	_, err = findColumnType(&RelationModel3{}, "id")
    	AssertEqual(t, nil, err)
    
    	// RelationModel1 should not be existed
    	_, err = findColumnType(&RelationModel1{}, "id")
    	if err == nil {
    		t.Errorf("RelationModel1 should not be migrated")
    	}
    
    	// RelationModel2 should not be existed
    	_, err = findColumnType(&RelationModel2{}, "id")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/ByteEncodableTest.java

            int encodedLen = encodable.encode(dest, 0);
    
            // Verify encoded length
            assertEquals(3, encodedLen, "Encoded length should be equal to the specified length");
    
            // Verify content
            assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset");
        }
    
        @Test
        void testEncodeWithOffset() {
            // Test encoding with a destination offset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        @Test
        public void testGetAttributes() {
            // Initially, attributes should be 0.
            assertEquals(0, response.getAttributes());
        }
    
        /**
         * Test of getCreateTime method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testGetCreateTime() {
            // Initially, lastWriteTime is 0, so createTime should be just the offset.
            assertEquals(serverTimeZoneOffset, response.getCreateTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

         * @param objs the log objects
         */
        protected void processDefault(final Object... objs) {
        }
    
        /**
         * Processes system error log events.
         *
         * @param objs the log objects (should contain a Throwable)
         */
        protected void processSystemError(final Object... objs) {
            final Throwable t = (Throwable) objs[0];
            if (logger.isErrorEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            }
    
            assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN");
    
            // Try to execute - should be blocked with CIFSException
            CIFSException exception = assertThrows(CIFSException.class, () -> {
                circuitBreaker.executeWithCircuitBreaker(() -> "should not execute");
            }, "Circuit breaker should throw CIFSException when open");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            NdrShort ns = new NdrShort(original);
            buf.reset();
            ns.encode(buf); // should not throw
    
            // After encoding, check how many bytes were used
            int bytesUsed = buf.getIndex();
            // Should be 2 bytes for the short value (alignment may add padding)
            assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short");
    
            // Reset index to read back
            buf.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            assertEquals(2, emptyUnicodeStringTrue.length, "Length should be 2 for empty string with zterm");
            assertEquals(2, emptyUnicodeStringTrue.maximum_length, "Maximum length should be 2 for empty string with zterm");
            assertNotNull(emptyUnicodeStringTrue.buffer, "Buffer should not be null for empty string with zterm");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            assertFalse(message.getFlag(0b0001), "Flag 0b0001 should not be set.");
    
            message.setFlags(0); // No flags set
            assertFalse(message.getFlag(0b1000), "No flags should be set.");
        }
    
        @Test
        void testSetFlag() {
            // Test setting a flag
            message.setFlags(0);
            message.setFlag(0b0001, true);
            assertEquals(0b0001, message.getFlags(), "Flag 0b0001 should be set.");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top