Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 3,508 for should (0.06 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

            getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0)));
      }
    
      public void testFind_no() {
        assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedButSupported() {
        assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            assertNotNull("CrawlingConfigHelper should be registered", ComponentUtil.getComponent("crawlingConfigHelper"));
            assertNotNull("SystemHelper should be registered", ComponentUtil.getSystemHelper());
            assertNotNull("FessConfig should be set", ComponentUtil.getFessConfig());
            assertTrue("Component integration test should be fast", true);
        }
    
        public void test_basic_functionality() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exception/DataStoreCrawlingException.java

     * and whether the crawling process should be aborted.
     */
    public class DataStoreCrawlingException extends CrawlingAccessException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The URL where the crawling error occurred.
         */
        private final String url;
    
        /**
         * Flag indicating whether the crawling process should be aborted.
         */
        private final boolean abort;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        @Test
        @DisplayName("Construct with a valid configuration - should not throw")
        void testConstructionWithValidConfiguration() {
            assertDoesNotThrow(() -> new SmbComSeekResponse(mockConfig));
        }
    
        @Test
        @DisplayName("getOffset before any read - should return zero")
        void testOffsetInitiallyZero() {
            assertEquals(0L, response.getOffset(), "Offset should be initialized to 0");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertEquals(1, stats.getRdmaReads(), "Should have 1 read operation");
            assertEquals(1, stats.getRdmaWrites(), "Should have 1 write operation");
            assertEquals(1, stats.getRdmaSends(), "Should have 1 send operation");
            assertEquals(1, stats.getRdmaReceives(), "Should have 1 receive operation");
            assertEquals(5120, stats.getBytesTransferred(), "Should have transferred 5KB total");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertNotNull(appType);
            // appType should be either empty string or the actual env value
            assertTrue(appType.isEmpty() || appType.length() > 0);
        }
    
        public void test_getOverrideConfPath() {
            // Test when app type is not docker
            OptionalEntity<String> confPath = ResourceUtil.getOverrideConfPath();
            assertNotNull(confPath);
            // Should be empty when not docker app type
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            // Should pass without exception
        }
    
        @Test
        public void testValidPath() throws Exception {
            validator.validatePath("\\share\\folder\\file.txt");
            validator.validatePath("C:\\Windows\\System32");
            validator.validatePath(null); // Null should be allowed
            validator.validatePath(""); // Empty should be allowed
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                assertEquals(expectedFlags, message.getFlags(), "Default flags should be set correctly");
                assertNull(message.getChallenge(), "Challenge should initially be null");
                assertNull(message.getTarget(), "Target should initially be null");
                assertNull(message.getTargetInformation(), "Target information should be null when no target is set");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbFileHandleTest.java

            assertEquals(smbTreeHandle, result, "getTree should return the mocked SmbTreeHandle.");
            verify(smbFileHandle, times(1)).getTree();
        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
            when(smbFileHandle.isValid()).thenReturn(true);
            assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // 2. Should have exactly one private constructor
            Constructor<?>[] constructors = WebApiUtil.class.getDeclaredConstructors();
            assertEquals("Should have exactly one constructor", 1, constructors.length);
            assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers()));
    
            // 3. All public methods should be static
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top