- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 176 for Scenarios (0.06 sec)
-
docs/pt/docs/advanced/testing-dependencies.md
# Testando Dependências com Sobreposição (Overrides) ## Sobrepondo dependências durante os testes Existem alguns cenários onde você deseje sobrepor uma dependência durante os testes. Você não quer que a dependência original execute (e nenhuma das subdependências que você possa ter).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
Nesse cenário, se você precisa manipular essa exceção de modo global com o FastAPI, você pode adicionar um manipulador de exceção customizada com `@app.exception_handler()`. {* ../../docs_src/handling_errors/tutorial003.py hl[5:7,13:18,24] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
} /** * Test watch() method returning empty list when buffer overflow */ @Test void testWatchBufferOverflow() throws CIFSException { // Setup mock behavior for buffer overflow scenario when(watchHandle.watch()).thenReturn(Collections.emptyList()); // Execute List<FileNotifyInformation> result = watchHandle.watch(); // Verify assertNotNull(result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
docs/resiliency/resiliency-verify-failure-script.sh
ALIAS_NAME=myminio BUCKET="test-bucket" DEST_DIR="/tmp/dest" OUT=$(./mc cp --quiet --recursive "${ALIAS_NAME}"/"${BUCKET}"/initial-data/ "${DEST_DIR}"/) RET=${?} if [ ${RET} -ne 0 ]; then # It is a success scenario as get objects should fail echo "GET objects failed as expected" echo "script passed" >resiliency-verify-failure.log exit 0 else echo "GET objects expected to fail, but succeeded: ${OUT}"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 509 bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.24.md
- An inefficient lock in EndpointSlice controller metrics cache has been reworked. Network programming latency may be significantly reduced in certain scenarios, especially in clusters with a large number of Services. ([#107091](https://github.com/kubernetes/kubernetes/pull/107091), [@robscott](https://github.com/robscott))
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu Aug 24 00:02:43 UTC 2023 - 473.4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/es/docs/tutorial/encoder.md
/// note | Nota `jsonable_encoder` es utilizado internamente por **FastAPI** para convertir datos. Pero es útil en muchos otros escenarios.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
void testCapacityEdgeValues(long capacity) { when(mockAllocInfo.getCapacity()).thenReturn(capacity); assertEquals(capacity, mockAllocInfo.getCapacity()); } /** * Null pointer scenario – calls on a null reference should raise * {@link NullPointerException}. This test is defensive; in real code it * would likely be handled elsewhere. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
} public void test_exceptionInComplexScenario() { // Test exception in a more complex scenario InvalidAccessTokenException exception = null; String expectedType = "Bearer"; String expectedMessage = "Token has expired"; // Simulate a token validation scenario boolean tokenValid = false; if (!tokenValid) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
@Test @DisplayName("send with explicit null varargs propagates exception from implementation") void send_nullVarargsArray_throws() throws Exception { // Arrange: passing explicit null vararg array is edge scenario when(tree.send(eq(request), isNull())).thenThrow(new CIFSException("null params")); // Act + Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)