Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,990 for SHOULD (0.23 sec)

  1. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertTrue(config.isUseMultiChannel(), "Multi-channel should be enabled by default");
            assertEquals(4, config.getMaxChannels(), "Default max channels should be 4");
            assertEquals(1, config.getChannelBindingPolicy(), "Default binding policy should be preferred");
            assertEquals("adaptive", config.getLoadBalancingStrategy(), "Default strategy should be adaptive");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

            assertNotNull(region, "Memory region should not be null");
            assertEquals(buffer, region.getBuffer(), "Buffer should match");
            assertEquals(1024, region.getSize(), "Size should match buffer size");
            assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access");
            assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should create instance with null ciphers")
            void testConstructorWithNullCiphers() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null);
    
                assertNotNull(context);
                assertNull(context.getCiphers());
            }
    
            @Test
            @DisplayName("Should create instance with empty ciphers array")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            }
    
            @Test
            @DisplayName("Should initialize DfsReferralResponseBuffer")
            void testDfsResponseBufferInitialization() {
                assertNotNull(response.getDfsResponse());
                assertTrue(response.getDfsResponse() instanceof DfsReferralResponseBuffer);
            }
    
            @Test
            @DisplayName("Should throw NullPointerException with null configuration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

            @Test
            @DisplayName("Should initialize remaining to zero")
            void testInitialRemainingValue() {
                assertEquals(0, response.getRemaining());
            }
        }
    
        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should get count value")
            void testGetCount() {
                // Initial value should be 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertTrue(pool.contains(transport), "Transport should be in pool initially");
    
            // When: Remove the transport
            pool.removeTransport(transport);
    
            // Then: Transport should no longer be in pool
            assertFalse(pool.contains(transport), "Transport should be removed from pool");
        }
    
        @Test
        @DisplayName("Should close all connections and return in-use status")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // When
            int size = request.size();
    
            // Then - should include context sizes
            assertTrue(size > 112); // Bigger than without contexts
            assertEquals(0, size % 8); // Should be 8-byte aligned
        }
    
        @Test
        @DisplayName("Should write bytes to wire format correctly")
        void testWriteBytesWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top