- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 4,771 for Same (0.08 seconds)
-
docs/en/docs/advanced/testing-websockets.md
# Testing WebSockets { #testing-websockets } You can use the same `TestClient` to test WebSockets. For this, you use the `TestClient` in a `with` statement, connecting to the WebSocket: {* ../../docs_src/app_testing/tutorial002_py39.py hl[27:31] *} /// note For more details, check Starlette's documentation for <a href="https://www.starlette.dev/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testing WebSockets</a>.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 459 bytes - Click Count (0) -
internal/bucket/lifecycle/delmarker-expiration.go
"time" ) var errInvalidDaysDelMarkerExpiration = Errorf("Days must be a positive integer with DelMarkerExpiration") // DelMarkerExpiration used to xml encode/decode ILM action by the same name type DelMarkerExpiration struct { XMLName xml.Name `xml:"DelMarkerExpiration"` Days int `xml:"Days,omitempty"` } // Empty returns if a DelMarkerExpiration XML element is empty.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 2.3K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
private final String name; private int processCount = 0; public TestResponseProcessor(String name) { this.name = name; } @Override public void process(ResponseData responseData) { processCount++; } public String getName() { return name; }Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Sep 03 14:42:53 GMT 2025 - 22.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Given - Use same key for both encryption and decryption in test // In production, client would use clientEncKey/serverDecKey and server would use serverEncKey/clientDecKey Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, testEncryptionKey, testEncryptionKey); // Use same key for testCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
assertSame(info, result, "Should return same list instance"); verify(info, times(1)).clear(); assertTrue(result.isEmpty(), "List should be cleared"); } // Parameterized test to exercise SMB2 with different recursive and filter values @ParameterizedTest(name = "SMB2 param: recursive={0}, filter={1}") @CsvSource({ "true, 0", "false, -1" })Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
tests/test_dependency_contextvars.py
def test_dependency_contextvars(): """ Check that custom middlewares don't affect the contextvar context for dependencies. The code before yield and the code after yield should be run in the same contextvar context, so that request_state_context_var.reset(contextvar_token). If they are run in a different context, that raises an error. """ response = client.get("/user")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertFalse(completed); thread.start(); thread.join(); assertTrue(completed); // Creating a new thread from the same ThreadFactory will have the same // pool ID but a thread ID of 2. Thread thread2 = threadFactory.newThread(monitoredRunnable); checkThreadPoolName(thread2, 2); assertEquals(Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 7.6K bytes - Click Count (0) -
guava-gwt/test/com/google/common/collect/testing/Testing.gwt.xml
--> <super-source path="super"/> <inherits name="com.google.common.annotations.Annotations" /> <inherits name="com.google.common.base.Base" /> <inherits name="com.google.common.collect.Collect" /> <inherits name="com.google.common.primitives.Primitives" /> <inherits name="com.google.common.testing.Testing" /> <inherits name="com.google.gwt.core.Core" /> <inherits name="com.google.gwt.junit.JUnit" />
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 19 16:02:36 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Chars.java
* Calling this method is as thread-safe as calling that method. * * @param collection a collection of {@code Character} objects * @return an array containing the same values as {@code collection}, in the same order, converted * to primitives * @throws NullPointerException if {@code collection} or any of its elements is null */ public static char[] toArray(Collection<Character> collection) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.2K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* Calling this method is as thread-safe as calling that method. * * @param collection a collection of {@code Number} instances * @return an array containing the same values as {@code collection}, in the same order, converted * to primitives * @throws NullPointerException if {@code collection} or any of its elements is null * @since 1.0 (parameter was {@code Collection<Short>} before 12.0) */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0)