- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 216 for scenarios (0.73 sec)
-
src/test/java/jcifs/SmbSessionTest.java
verify(mockSession, times(1)).unwrap(SmbSession.class); verify(mockSession, times(1)).close(); } @Test @DisplayName("Should support partial mocking scenarios") void shouldSupportPartialMockingScenarios() { SmbSession mockSession = mock(SmbSession.class); Configuration mockConfig = mock(Configuration.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* * - If the stack overflowed after set()/setValue() stored its result, then a call to * setException() will be a no-op because the Future is already done. * * Both scenarios are bad: The output Future might never complete, or, if it does complete, it * might not run some of its listeners. The likely result is that the app will hang. (And ofRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Security-focused test cases for Smb2NegotiateResponse input validation. * Tests various malformed input scenarios to ensure proper validation and * protection against buffer overflow, integer overflow, and other attacks. */ public class Smb2NegotiateResponseInputValidationTest { private Configuration mockConfig;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
assertEquals("2.0.0", gav.version()); } @ParameterizedTest @MethodSource("provideInvalidGAVScenarios") @DisplayName("should return null for invalid Artifact scenarios") void shouldReturnNullForInvalidGAVScenarios( String groupId, String artifactId, String version, String description) throws Exception { String pomXml = PomBuilder.create()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params.md
Donc, l'URL pour ce fichier pourrait être : `/files/home/johndoe/myfile.txt`. ### Support d'OpenAPI OpenAPI ne supporte pas de manière de déclarer un paramètre de chemin contenant un *chemin*, cela pouvant causer des scénarios difficiles à tester et définir. Néanmoins, cela reste faisable dans **FastAPI**, via les outils internes de Starlette.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
assertTrue(actual.contains("10.0.0.5"), "toString should contain the second NbtAddress string representation"); } /** * Helper method to set common superclass fields for successful parsing scenarios. */ private void setSuperclassFieldsForSuccessfulParsing() throws NoSuchFieldException, IllegalAccessException { Field resultCodeField = NameServicePacket.class.getDeclaredField("resultCode");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* example is when a server has just booted, and it is mostly busy with getting itself up to * speed). * * To deal with such scenarios, we add an extra dimension, that of "past underutilization", * modeled by "storedPermits" variable. This variable is zero when there is no underutilization,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// When & Then assertEquals(free, allocInfo.getFree()); } @Test @DisplayName("Should handle overflow scenarios") void shouldHandleOverflowScenarios() { // Given - capacity at max, free space at max TestAllocInfo allocInfo = new TestAllocInfo(Long.MAX_VALUE, Long.MAX_VALUE); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
assertEquals((byte) 0xFF, dst[1]); assertEquals((byte) 0xFF, dst[2]); assertEquals((byte) 0xFF, dst[3]); } @Test @DisplayName("Test writeUTime with DST scenarios") void testWriteUTimeWithDST() { when(mockConfig.getLocalTimezone()).thenReturn(mockTimeZone); byte[] dst = new byte[4]; long testTime = System.currentTimeMillis();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)