Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 228 for Edge (0.01 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            assertSame(tz1, tz2);
            assertSame(FessUserTimeZoneProcessProvider.centralTimeZone, tz1);
        }
    
        // Test with null RequestManager (edge case)
        public void test_getRequestedTimeZone_withNullRequestManager() {
            // Execute with null request manager
            TimeZone result = provider.getRequestedTimeZone(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CredentialsInternalTest.java

            SSPContext ctx1 = creds.createContext(mockContext, null, "", null, false);
            assertNotNull(ctx1);
        }
    
        @Nested
        @DisplayName("getSubject edge cases")
        class SubjectTests {
            @Test
            @DisplayName("returns provided subject")
            void subject_non_null() {
                Subject s = new Subject();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Service accessors
            assertEquals("cifs", auth.getService());
            auth.setService("");
            assertEquals("", auth.getService());
    
            // Lifetime accessors (edge: zero/negative)
            auth.setUserLifeTime(0);
            assertEquals(0, auth.getUserLifeTime());
            auth.setUserLifeTime(-1);
            assertEquals(-1, auth.getUserLifeTime());
    
            auth.setLifeTime(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

                assertEquals("smb://server/share/path/filetxt", loc.getCanonicalURL());
                assertFalse(loc.isRoot());
            }
        }
    
        @Nested
        @DisplayName("Invalid inputs and edge cases")
        class Invalid {
            @Test
            void nullUrlThrows() {
                assertThrows(IllegalArgumentException.class, () -> new DummySmbResourceLocator(null));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            // Third invocation
            curtainFinallyHook.hook(assistantDirector);
    
            // All invocations should complete successfully
            assertTrue(true);
        }
    
        // Test with null assistant director (edge case)
        public void test_hook_withNullAssistantDirector() {
            // Hook should handle null parameter gracefully
            curtainFinallyHook.hook(null);
    
            // Verify no NullPointerException is thrown
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            assertEquals(0L, response.getOffset(), "Offset should be initialized to 0");
        }
    
        /* ------------------------------------------------------------------ */
        /* 2. Parameter word reading - happy path & edge cases                */
        /* ------------------------------------------------------------------ */
    
        /**
         * Provides test cases for {@link SmbComSeekResponse#readParameterWordsWireFormat(byte[], int)}.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            auth.handle(new Callback[] { pc });
            assertEquals("secret", new String(pc.getPassword()));
        }
    
        @Test
        @DisplayName("handle: empty user/domain edge yields '@' and null password")
        void testHandleWithEmptyUserAndDomainEdge() throws Exception {
            // Default constructor results in empty strings for user and domain, null for password
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/GraphBuilder.java

     * @since 20.0
     */
    @Beta
    @DoNotMock
    public final class GraphBuilder<N> extends AbstractGraphBuilder<N> {
    
      /** Creates a new instance with the specified edge directionality. */
      private GraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link GraphBuilder} for building directed graphs. */
      public static GraphBuilder<Object> directed() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ACETest.java

                assertFalse((writeOnly & ACE.FILE_READ_DATA) != 0, "Write should not include FILE_READ_DATA");
            }
        }
    
        @Nested
        @DisplayName("Boundary Conditions and Edge Cases")
        class BoundaryConditionsTests {
    
            @Test
            @DisplayName("Should handle signed/unsigned integer boundaries")
            void shouldHandleSignedUnsignedBoundaries() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

    /**
     * Tests for StaticJAASConfiguration.
     *
     * Coverage goals:
     * - Happy path with default and custom options.
     * - Null/empty/ignored name parameter handling.
     * - Null options edge case.
     * - Repeated calls equivalence and instance separation.
     * - Interaction check that passed options are not mutated.
     */
    @ExtendWith(MockitoExtension.class)
    class StaticJAASConfigurationTest {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top