Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 224 for Scenarios (0.05 seconds)

  1. 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);
    
                // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            doNothing().when(response).reset();
            response.reset();
            verify(response).reset();
        }
    
        @Test
        @DisplayName("Test concrete implementation with multiple scenarios")
        void testConcreteImplementation() throws SMBProtocolDecodingException {
            // Create a concrete implementation for comprehensive testing
    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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top