- Sort Score
- Result 10 results
- Languages All
Results 2111 - 2120 of 4,151 for text (0.06 sec)
-
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
assertEquals(value, msg.getFlags(), "getFlags should return the value set"); } @Test @DisplayName("setFlag true sets the bit") void testSetFlagTrue() { msg.setFlag(0x4, true); assertTrue(msg.getFlag(0x4), "Bit should be set after setFlag(true)"); } @Test @DisplayName("setFlag false clears the bit") void testSetFlagFalse() { msg.setFlag(0x4, true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K 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) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verifyNoInteractions; import java.lang.reflect.Field; import org.junit.jupiter.api.DisplayName; 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.NullSource; import org.junit.jupiter.params.provider.ValueSource;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
import org.junit.Before; import org.junit.Test; /** * @author taedium */ public class ResourceTraversalTest { private static int count = 0; /** * @throws Exception */ @Before public void setUp() throws Exception { count = 0; } /** * @throws Exception */ @Test public void testForEachFile() throws Exception {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code retainAll} operations on a collection. Can't be invoked * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 10.7K 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) -
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) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
* * @param <C> the type of the container * @param <E> the type of the container's contents * @author George van den Driessche */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
testData.add(createRelatedQuery("test", new String[] { "initial" }, "")); mockBhv.setTestData(testData); relatedQueryHelper.load(); String[] results = relatedQueryHelper.getRelatedQueries("test"); assertEquals("initial", results[0]); // Update test data testData.clear(); testData.add(createRelatedQuery("test", new String[] { "updated" }, ""));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (0)