- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 224 for Scenarios (0.05 seconds)
-
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); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
* Due to the iterator's constructor calling advance() immediately, which requires * the adapt() method to be functional, we test the behavior using simple mock * scenarios that don't require complex filter setups. */ @ExtendWith(MockitoExtension.class) class DirFileEntryAdapterIteratorTest { @Mock private SmbResource mockParent; @Mock
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
cmd/metacache-walk.go
} diskHealthCheckOK(ctx, err) if err != nil { // It is totally possible that xl.meta was overwritten // while being concurrently listed at the same time in // such scenarios the 'xl.meta' might get truncated if !IsErrIgnored(err, io.EOF, io.ErrUnexpectedEOF) { internalLogOnceIf(ctx, err, "metacache-walk-read-metadata") } continue }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 26 07:06:43 GMT 2025 - 12.6K bytes - Click Count (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()
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
// But queries would be added again to FacetInfo (distinct handles duplicates) assertTrue(testFacetInfo.getAddedQueries().size() >= firstQueriesCount); } // Test complex scenarios @Test public void test_init_withMixedQueries() { testFileTypeHelper.setTypes(new String[] { "pdf", "doc", "xls" }); facetQueryView.addQuery("label1", "filetype:html");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 17.9K bytes - Click Count (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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
Using these ideas, JWT can be used for way more sophisticated scenarios. In those cases, several of those entities could have the same ID, let's say `foo` (a user `foo`, a car `foo`, and a blog post `foo`).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
assertEquals(TEST_CAPABILITIES, SMBUtil.readInt4(buffer, offset + 4)); // Capabilities } @Test @DisplayName("Should handle session binding scenarios") void testSessionBindingScenarios() throws Exception { // Test both true and false session binding boolean[] bindingValues = { true, false }; for (boolean binding : bindingValues) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0)