- Sort Score
- Result 10 results
- Languages All
Results 861 - 870 of 3,196 for test (0.02 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(0, result); // Test with different parameters result = netShareEnum.readParametersWireFormat(buffer, 25, 75); assertEquals(0, result); // Test with zero length result = netShareEnum.readParametersWireFormat(buffer, 0, 0); assertEquals(0, result); } @Test @DisplayName("Test readDataWireFormat returns 0")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
} @Test void testGetByNameWithNullLmHostsFile() { // Test when lmhosts file is not configured when(mockConfig.getLmHostsFileName()).thenReturn(null); NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext); assertNull(result); } @Test void testGetByNameWithNonExistentFile() { // Test with non-existent fileRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
Arrays.fill(LONG_TEST_KEY, (byte) 0xAB); } @Test void testConstructorWithNormalKey() { // Test constructor with a normal length key HMACT64 hmac = new HMACT64(TEST_KEY); assertNotNull(hmac); } @Test void testConstructorWithLongKey() { // Test constructor with a key longer than BLOCK_LENGTH (64 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; class DcerpcExceptionTest { /** * Test constructor DcerpcException(int error) with a known error code. */ @Test void testConstructorWithError_knownCode() { int errorCode = DcerpcError.DCERPC_FAULT_ACCESS_DENIED;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
super(threadName); this.lockLikeObject = checkNotNull(lockLikeObject); start(); } // Thread.stop() is okay because all threads started by a test are dying at the end of the test, // so there is no object state put at risk by stopping the threads abruptly. In some cases a test // may put a thread into an uninterruptible operation intentionally, so there is no other way to // clean up these threads. @SuppressWarnings("deprecation")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
} } // Test constructor public void test_constructor() { CorsHandler handler = new CorsHandler() { @Override public void process(String origin, ServletRequest request, ServletResponse response) { // Test implementation } }; assertNotNull(handler); } // Test process method with null originRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
import org.bouncycastle.asn1.DLSequence; import org.junit.jupiter.api.Test; /** * Tests for the {@link ASN1Util} class. */ class ASN1UtilTest { // --- as(Class, Object) --- @Test void testAs_Object_Success() throws PACDecodingException { // Test successful casting String expected = "test string"; Object obj = expected;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; /** * A test which demonstrates maven's recursive inheritance where * a distinct value is taken from each parent contributing to * the final model of the project being assembled. There is no * overriding going on amongst the models being used in this test:
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
Map<String, String> paramMap; // Test with whitespace around keys and values value = " key1 = value1 \n key2=value2\n"; paramMap = ParameterUtil.parse(value); assertEquals(2, paramMap.size()); assertEquals("value1", paramMap.get("key1")); assertEquals("value2", paramMap.get("key2")); // Test with empty lines and mixed whitespace
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 22.6K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
package org.apache.maven.building; import org.apache.maven.building.Problem.Severity; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; class DefaultProblemTest { @Test void testGetSeverity() {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0)