- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 610 for test_ws (0.12 seconds)
-
CHANGELOG.md
This release stabilizes many APIs for the imminent OkHttp 5.0.0 release. * New: `TrailersSource`, a public API for HTTP trailers. Production callers shouldn't need this as the API to read response trailers is unchanged. Testers may use this new stable API to supply trailers for a `Response`. * New: `Path.asRequestBody()` is now a non-experimental API. * New: `FileDescriptor.toRequestBody()` is now a non-experimental API.
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 05 16:02:59 GMT 2025 - 36.2K bytes - Click Count (2) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
import static com.google.common.collect.testing.features.CollectionFeature.NON_STANDARD_TOSTRING; import static com.google.common.collect.testing.features.CollectionFeature.RESTRICTS_ELEMENTS; import static com.google.common.collect.testing.testers.NavigableSetNavigationTester.getHoleMethods; import static com.google.common.testing.SerializableTester.reserialize; import static com.google.common.testing.SerializableTester.reserializeAndAssert;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 19.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
@Mock private Smb2WriteResponse mockWriteResponse; private SmbFileOutputStream outputStream; @BeforeEach void setUp() { // Common setup for most tests lenient().when(mockFileHandle.getTree()).thenReturn(mockTreeHandle); lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
} @Test public void testInvalidUncPath() throws Exception { // Due to normalization removing duplicate backslashes, true UNC validation doesn't work // These tests validate current behavior where problematic paths are caught by other checks // Test invalid server name with dots - caught by directory traversal check assertThrows(SmbException.class, () -> {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closer.java
private @Nullable Throwable thrown; @VisibleForTesting Closer(Suppressor suppressor) { this.suppressor = checkNotNull(suppressor); // checkNotNull to satisfy null tests } /** * Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain * #close closed}. * * @return the given {@code closeable} */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 10.3K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
} public boolean isWitnessServiceDiscovery() { return getBooleanProperty(WITNESS_SERVICE_DISCOVERY, true); } ``` ## 7. Testing Strategy ### 7.1 Unit Tests ```java @Test public void testWitnessRegistration() { WitnessRegistration registration = new WitnessRegistration( "\\\\server\\share", InetAddress.getByName("192.168.1.100"),
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
import java.util.Objects; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link Collections2}. * * @author Chris Povirk * @author Jared Levy */ @GwtCompatible @NullMarked public class Collections2Test extends TestCase { @J2ktIncompatible @GwtIncompatible // suiteCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
inputList.clear(); assertEquals(2, notifications.size()); // Try to modify returned list - behavior depends on implementation // This tests that the implementation properly handles list modifications try { notifications.clear(); // If this succeeds, the implementation allows modification
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
private NetServerEnum2 netServerEnum2; private Configuration realConfig; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Use real configuration for most tests realConfig = new BaseConfiguration(false); // Mock configuration setup when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.7K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Unit tests on <code>MavenProperties</code>. */ @Deprecated public class MavenPropertiesTest { private static final String LINE_SEPARATOR = System.getProperty("line.separator");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 16.4K bytes - Click Count (0)