- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 2,899 for test$ (0.43 sec)
-
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
// Test with no file path mappings assertEquals("test/path", emptyGenerator.expandPath("test/path")); assertNull(emptyGenerator.expandPath(null)); // Test with file path mappings emptyGenerator.filePathMap.put("${path}/test", "/usr/bin/test"); assertEquals("/usr/bin/test", emptyGenerator.expandPath("${path}/test"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
} @Test void testGetInformationLevel() { // Test getInformationLevel method response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.FS_SIZE_INFO); assertEquals(FileSystemInformation.FS_SIZE_INFO, response.getInformationLevel()); } @Test void testGetInfo() { // Test getInfo method when info is null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Comprehensive test suite for BufferCache interface. * Tests the contract and behavior of BufferCache implementations. */ @DisplayName("BufferCache Interface Tests") class BufferCacheTest extends BaseTest { @Mock private BufferCache mockBufferCache;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.IOException; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Tests for SpnegoToken. * Uses a minimal concrete subclass to exercise abstract methods. */ class SpnegoTokenTest { /** * Minimal concrete implementation for testing.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
} @Nested @DisplayName("Interface Implementation Tests") class InterfaceImplementationTests { @Test @DisplayName("Should implement AllocInfo interface") void shouldImplementAllocInfo() { assertTrue(AllocInfo.class.isAssignableFrom(FileFsFullSizeInformation.class)); } @Test @DisplayName("Should implement FileSystemInformation interface")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
pom.xml
<version>2.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.11.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <version>1.21.3</version> <scope>test</scope> </dependency> <dependency>
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; /** * Unit tests for witness protocol enumerations. */ public class WitnessEnumTest { @Test void testWitnessServiceTypes() { assertEquals(4, WitnessServiceType.values().length); // Verify all expected types are present
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for Smb3KeyDerivation. * Tests the SMB3 SP800-108 Counter Mode Key Derivation implementation. */ @DisplayName("Smb3KeyDerivation Tests") class Smb3KeyDerivationTest { private byte[] sessionKey;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbFilenameFilter interface behaviors via simple implementations. * Each test creates a concrete filter to validate expected contract semantics * including normal operation, null handling, edge cases, and exception flow. */ @ExtendWith(MockitoExtension.class) class SmbFilenameFilterTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** * Tests for {@link SmbFilenameFilter}. Since the interface only defines * a single method, the tests simply ensure that the lambda expression * correctly implements the method and that any exception is propagated. */ class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0)