- Sort Score
- Num 10 results
- Language All
Results 2791 - 2800 of 5,742 for text (0.29 seconds)
-
src/test/java/jcifs/smb/PreauthIntegrityTest.java
calcMethod.setAccessible(true); byte[] input = "test data".getBytes(); byte[] oldHash = new byte[64]; assertThrows(Exception.class, () -> { calcMethod.invoke(transport, input, 0, input.length, oldHash); }); } /** * Test concurrent access to getPreauthIntegrityHash */ @Test @DisplayName("Concurrent getPreauthIntegrityHash should be safe")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
import junit.framework.Test; import junit.framework.TestSuite; /** * Generates a test suite covering the {@link Queue} implementations in the {@link java.util} * package. Can be subclassed to specify tests that should be suppressed. * * @author Jared Levy */ @GwtIncompatible public class TestsForQueuesInJavaUtil { public static Test suite() { return new TestsForQueuesInJavaUtil().allTests();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/FileEntryAdapterIterator.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* Records an exception so that it can be rethrown later in the test harness thread, triggering a * test case failure. Only the first failure is recorded; subsequent calls to this method from * within the same test have no effect. */ final void threadRecordFailure(Throwable t) { threadFailure.compareAndSet(null, t); } /** * Extra checks that get done for all test cases. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
} @Test @DisplayName("Should read file ID correctly with various patterns") void testReadFileIdPatterns() throws Exception { // Test with all zeros byte[] zeroFileId = new byte[16]; testFileIdReading(zeroFileId); // Test with all ones byte[] onesFileId = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.smb.SmbException; /** * Test cases for AuthenticationRateLimiter */ public class AuthenticationRateLimiterTest { private AuthenticationRateLimiter rateLimiter; @BeforeEach public void setUp() { // Create rate limiter with test-friendly settingsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
/** * Edge case – constructor using the winerr flag. */ @Test @DisplayName("Winerr code 123 – message equals 123") void testConstructorWithWinerr() { SmbException ex = new SmbException(123, true); assertEquals("123", ex.getMessage()); assertEquals(123, ex.getNtStatus()); } /** * Parameterised test covering many error codes. * - Error code 0 returns 0 (NT_STATUS_SUCCESS)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /** * */ class RequirementMatcherFactoryTest { /** * Test of createExactMatcher method, of class RequirementMatcherFactory. */ @Test void testCreateExactMatcher() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 2.3K bytes - Click Count (0)