- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 4,122 for _shouldn (0.06 seconds)
-
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// Pattern with single backslash (14 chars): should match String singleBackslash = "image/svg" + "\\" + "+xml"; assertEquals("Single backslash pattern should be 14 chars", 14, singleBackslash.length()); assertTrue(svgMimetype.matches(singleBackslash)); // Pattern with double backslash (15 chars): should NOT match String doubleBackslash = "image/svg" + "\\\\" + "+xml";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
@Test @DisplayName("Should create request with configuration only") void testConstructorWithConfig() { TestServerMessageBlock2Request request = new TestServerMessageBlock2Request(mockConfig); assertNotNull(request); assertEquals(mockConfig, request.getConfig()); } @Test @DisplayName("Should create request with configuration and command")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
assertNotNull(pacString, "The PacUnicodeString object should not be null."); // Verify that the getters return the correct values assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor."); assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor.");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
SessionServicePacket.writeInt2(0xABCD, dst, 4); assertEquals((byte) 0xFF, dst[2]); // Should be unchanged assertEquals((byte) 0xFF, dst[3]); // Should be unchanged assertEquals((byte) 0xAB, dst[4]); assertEquals((byte) 0xCD, dst[5]); } @Test @DisplayName("writeInt4 should correctly write 32-bit integer") void testWriteInt4() { byte[] dst = new byte[8];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
src/test/java/jcifs/https/HandlerTest.java
class ConstructorTests { @Test @DisplayName("Should create handler with null context") void testConstructorWithNullContext() { // When Handler testHandler = new Handler(null); // Then assertNotNull(testHandler); } @Test @DisplayName("Should extend jcifs.http.Handler") void testInheritance() { // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
assertEquals("testdomain", config.getDefaultDomain()); } @Test @DisplayName("Should handle null properties gracefully") void testNullProperties() throws CIFSException { // PropertyConfiguration doesn't handle null properties // It should throw NullPointerException assertThrows(NullPointerException.class, () -> { new PropertyConfiguration(null); });
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
} @Test @DisplayName("Should create correct response") void testCreateResponse() { // When Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request); // Then assertNotNull(response); assertTrue(response instanceof Smb2ChangeNotifyResponse); } @Test @DisplayName("Should calculate correct size") void testSize() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
class ConstructorTests { @Test @DisplayName("Should throw DcerpcException for invalid URL format") void testConstructor_InvalidUrl() { String invalidUrl = "invalid:server"; assertThrows(DcerpcException.class, () -> new DcerpcPipeHandle(invalidUrl, mockContext, false), "Should throw DcerpcException for invalid protocol"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
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");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.3K bytes - Click Count (0)