- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 3,771 for test (0.03 sec)
-
src/test/java/jcifs/util/ResourceManagerTest.java
assertDoesNotThrow(managed::close); } @Test @DisplayName("Test null resource registration throws exception") void testNullResourceRegistration() { assertThrows(IllegalArgumentException.class, () -> resourceManager.registerResource(null)); } @Test @DisplayName("Test configuration updates") void testConfigurationUpdates() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
} @Test fun emptyName() { assertThat(parse(url, "=b")).isNull() assertThat(parse(url, " =b")).isNull() assertThat(parse(url, "\r\t \n=b")).isNull() } @Test fun spaceInName() { assertThat(parse(url, "a b=cd")!!.name).isEqualTo("a b") } @Test fun spaceInValue() { assertThat(parse(url, "ab=c d")!!.value).isEqualTo("c d") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} @Nested @DisplayName("Payload Tests") class PayloadTests { @Test @DisplayName("Should retain payload when requested") void testRetainPayload() { assertFalse(testMessage.isRetainPayload()); testMessage.retainPayload(); assertTrue(testMessage.isRetainPayload()); } @Test @DisplayName("Should get and set raw payload")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for Smb2Constants * Tests all SMB2 protocol constants and their expected values */ @DisplayName("Smb2Constants Test Suite") class Smb2ConstantsTest { @Test @DisplayName("Should have private constructor to prevent instantiation")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
assertTrue(result.contains(pipeName), "toString should contain pipe name"); } @Test public void testMultiplePipeNames() { // Test with various pipe names String[] pipeNames = { "\\\\pipe\\test", "\\\\pipe\\PIPE\\sql\\query", "\\\\pipe\\spoolss", "\\\\pipe\\winreg" }; for (String pipeName : pipeNames) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp-osgi-tests/build.gradle.kts
testImplementation(libs.junit) testImplementation(libs.kotlin.test.common) testImplementation(libs.kotlin.test.junit) testImplementation(libs.assertk) testImplementation(libs.aqute.resolve) } normalization { runtimeClasspath { /* - The below two ignored files are generated during test execution by the test: okhttp/src/test/java/okhttp3/osgi/OsgiTest.java
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Aug 01 08:17:18 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
tester.init(subjectGenerator, name, setUp, tearDown); } } return suite; } private TestSuite filterSuite(TestSuite suite) { TestSuite filtered = new TestSuite(suite.getName()); Enumeration<?> tests = suite.tests(); while (tests.hasMoreElements()) { Test test = (Test) tests.nextElement(); if (matches(test)) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
import org.junit.jupiter.api.Test; import jcifs.SmbConstants; /** * Basic unit tests for {@link SmbConstants}. The interface only * provides {@code static final} constants, so the test suite focuses on * value correctness, bit‑mask logic, and some derived properties. * * <p>Mockito is exercised in a dummy scenario to satisfy the * request for an interaction test. The mock represents aRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java
public void test_usingPredefinedConstants() { // Test using predefined constants ExtractData data = new ExtractData(); data.putValue(ExtractData.RESOURCE_NAME_KEY, "test.pdf"); data.putValue(ExtractData.URL, "https://example.com/test.pdf"); data.putValues(ExtractData.FILE_PASSWORDS, new String[] { "pass1", "pass2" }); assertEquals("test.pdf", data.getValues(ExtractData.RESOURCE_NAME_KEY)[0]);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
} /** * Test contains method with null list */ @Test @DisplayName("Contains should return false for null list") void testContainsNullList() { assertFalse(AvPairs.contains(null, AvPair.MsvAvFlags), "Should return false for null list"); } /** * Test contains method with empty list */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)