Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 4,822 for Void (0.07 seconds)

  1. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

            });
      }
    
      public void test() throws Exception {
        assertTrue(handler.getStoredLogRecords().isEmpty());
        ExampleClassUnderTest.foo();
        LogRecord record = handler.getStoredLogRecords().get(0);
        assertEquals(Level.INFO, record.getLevel());
        assertThat(record.getMessage()).isEqualTo("message");
        assertThat(record.getThrown()).isEqualTo(EXCEPTION);
      }
    
      public void testConcurrentModification() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        @DisplayName("Constructor: invalid mode throws IllegalArgumentException")
        void constructor_invalidMode_throws() {
            SmbFile file = mock(SmbFile.class);
            assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode"));
        }
    
        @Test
        @DisplayName("open(): acquires and releases handle (no I/O)")
        void open_acquiresAndReleasesHandle() throws Exception {
    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)
  3. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

        }
    
        @Test
        public void test_available_withSystemHelper() {
            ComponentUtil.register(new Object(), "systemHelper");
    
            assertFalse(ComponentUtil.available());
        }
    
        @Test
        public void test_available_withoutSystemHelper() {
            assertFalse(ComponentUtil.available());
        }
    
        @Test
        public void test_hasComponent_existsInMap() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionBean.java

        }
    
        @Override
        public void ignoreNullOrEmptyQuery() {
        }
    
        @Override
        public void checkNullOrEmptyQuery() {
        }
    
        @Override
        public void enableEmptyStringQuery(ModeQuery noArgInLambda) {
            // do nothing
        }
    
        @Override
        public void disableEmptyStringQuery() {
        }
    
        @Override
        public void enableOverridingQuery(ModeQuery noArgInLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionBean.java

        }
    
        @Override
        public void ignoreNullOrEmptyQuery() {
        }
    
        @Override
        public void checkNullOrEmptyQuery() {
        }
    
        @Override
        public void enableEmptyStringQuery(ModeQuery noArgInLambda) {
            // do nothing
        }
    
        @Override
        public void disableEmptyStringQuery() {
        }
    
        @Override
        public void enableOverridingQuery(ModeQuery noArgInLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      @CollectionSize.Require(SEVERAL)
      public void testRemovePresentConcurrentWithIteration() {
        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.remove(e0()));
              iterator.next();
            });
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_notPresent() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 21:04:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNullKeySupported() {
        initMapWithNullKey();
        expectContents(createArrayWithNullKey());
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNullKeyUnsupported() {
        assertThrows(NullPointerException.class, () -> initMapWithNullKey());
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

    public class MultimapEntriesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testEntries() {
        assertEqualIgnoringOrder(getSampleElements(), multimap().entries());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testContainsEntryWithNullKeyPresent() {
        initMultimapWithNullKey();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 21:10:54 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

        }
    
        /**
         * Set the environment map.
         * @param envMap The environment map.
         */
        public void setEnvMap(final Map<String, String> envMap) {
            this.envMap = envMap;
        }
    
        /**
         * Log the login activity.
         * @param user The user.
         */
        public void login(final OptionalThing<FessUserBean> user) {
            final Map<String, String> valueMap = new LinkedHashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

    public class SuggestAnalyzerTest {
    
        private SuggestAnalyzer analyzer;
        private TestSuggestAnalyzer testAnalyzer;
    
        @Before
        public void setUp() {
            testAnalyzer = new TestSuggestAnalyzer();
            analyzer = testAnalyzer;
        }
    
        @Test
        public void testAnalyzeWithValidInput() {
            // Test normal analyze with valid input
            String text = "test text";
            String field = "content";
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 15.7K bytes
    - Click Count (0)
Back to Top