- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 2,350 for 2test (1.82 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
class ConstructorTests { @Test @DisplayName("Should create response with configuration") void testConstructor() { Smb2WriteResponse writeResponse = new Smb2WriteResponse(mockConfig); assertNotNull(writeResponse); // Note: getConfig() is protected, cannot test directly } @Test @DisplayName("Should initialize count to zero")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
import static com.google.common.truth.Truth.assertThat; import org.jspecify.annotations.NullUnmarked; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** Tests for {@link ImmutableValueGraph} . */ @RunWith(JUnit4.class) @NullUnmarked public class ImmutableValueGraphTest { @Test public void immutableValueGraph() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertEquals(0, cleaned); assertNotNull(leaseManager.getLease(key)); } @Test @DisplayName("Should detect lease capabilities") void testLeaseCapabilities() { String path = "/share/file.txt"; // Test full lease Smb2LeaseKey fullKey = leaseManager.requestLease(path + "1", Smb2LeaseState.SMB2_LEASE_FULL);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Test the default artifact collector. * */ @PlexusTest @Deprecated
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 42.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java
} public void test_get_withBlankFiletype() { fileTypeHelper.add("test/blank", ""); assertEquals("others", fileTypeHelper.get("test/blank")); fileTypeHelper.add("test/null", null); assertEquals("others", fileTypeHelper.get("test/null")); } public void test_getDefaultValue() { assertEquals("others", fileTypeHelper.getDefaultValue());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
} public void test_constructor() { // Test that constructor creates an instance ScriptExecutor executor = new ScriptExecutor(); assertNotNull(executor); assertTrue(executor instanceof JobExecutor); } public void test_execute_withValidScriptType() { // Setup test script engine scriptEngineFactory.add("test", testScriptEngine); // Execute script
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
import java.util.concurrent.atomic.AtomicInteger; import org.junit.jupiter.api.Test; /** * Security-focused test cases for BufferCache to verify buffer overflow protection. */ public class BufferCacheSecurityTest { /** * Test that buffer allocation validates size to prevent overflow. */ @Test public void testBufferSizeValidation() { // When - Get a buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertDoesNotThrow(() -> InputValidator.validateBufferSize(0, 1000, "test")); assertDoesNotThrow(() -> InputValidator.validateBufferSize(1000, 1000, "test")); } @Test @DisplayName("Test invalid buffer size validation") void testInvalidBufferSize() { assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/BaseApiManagerTest.java
super.tearDown(); } // Basic test to verify test framework is working public void test_basicAssertion() { assertTrue(true); assertFalse(false); assertNotNull("test"); assertEquals(1, 1); } // Test placeholder for future implementation public void test_placeholder() { // This test verifies the test class can be instantiated and run
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/processor/FessResponseProcessorTest.java
super.tearDown(); } // Basic test to verify test framework is working public void test_basicAssertion() { assertTrue(true); assertFalse(false); assertNotNull("test"); assertEquals(1, 1); } // Test placeholder for future implementation public void test_placeholder() { // This test verifies the test class can be instantiated and run
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.7K bytes - Viewed (0)