- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 3,353 for TEST (0.77 sec)
-
src/test/java/jcifs/smb1/util/MimeMapTest.java
assertEquals(expectedMimeType, mimeMap.getMimeType(extension)); } @Test @DisplayName("Should handle extensions with special characters") void testSpecialCharacterExtensions() throws IOException { // Test extensions that are definitely not in the map assertEquals("application/octet-stream", mimeMap.getMimeType("file.ext"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
verify(handle, times(1)).release(); verifyNoMoreInteractions(handle); } @Test @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds") void ensureDFSResolved_success() throws Exception { // Arrange: default mock does nothing // Act: call method under test handle.ensureDFSResolved(); // Assert: interaction happened and did not throw
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; /** * Test for EnhancedCompositeBeanHelper to ensure it works correctly and provides performance benefits.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 8.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
assertEquals("test", artifact.getScope(), "Check scope"); artifact = getArtifact(project, "maven-test-test", "scope-runtime"); assertEquals("test", artifact.getScope(), "Check scope"); // check all transitive deps of a provided dependency are provided scope, except for test checkGroupIdScope(project, "provided", "maven-test-provided");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.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; import jcifs.BaseTest; /** * Test class for Crypto utility functionality */ @DisplayName("Crypto Utility Tests") class CryptoTest extends BaseTest { @Test @DisplayName("Should calculate MD4 hash correctly")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
} @Test void testReadModifiedPoms(@TempDir Path tempDir) throws Exception { // TODO a similar test should be created to test the dependency management (basically all usages // of DefaultModelBuilder.getCache() are affected by MNG-6530 FileUtils.copyDirectoryStructure(new File("src/test/resources/projects/grandchild-check"), tempDir.toFile());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.CIFSException; /** * Test class for TransportException */ public class TransportExceptionTest { @Test @DisplayName("Test default constructor creates exception with null message") public void testDefaultConstructor() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
} catch (Exception e) { throw new RuntimeException("Failed to access field " + fieldName, e); } } /** * Test that the constructor initializes all fields correctly */ @Test public void testConstructor() { // Arrange int fid = 0x1234; int offset = 100; int remaining = 50; byte[] buffer = new byte[100];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosAddressTest.java
@Test void testConstantValues() { // Test that constants are properly defined assertEquals("*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", NbtAddress.ANY_HOSTS_NAME); assertEquals("\u0001\u0002__MSBROWSE__\u0002", NbtAddress.MASTER_BROWSER_NAME); assertEquals("*SMBSERVER ", NbtAddress.SMBSERVER_NAME); // Test node type constantsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
import org.codelibs.fess.crawler.processor.ResponseProcessor; import org.dbflute.utflute.core.PlainTestCase; /** * Test class for RuleManager interface. * Tests the contract and behavior of RuleManager implementations. */ public class RuleManagerTest extends PlainTestCase { /** * Test implementation of RuleManager for testing purposes */ public static class TestRuleManager implements RuleManager {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0)