Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,456 for Void (0.03 seconds)

  1. android/guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testOf() {
        assertThat(Optional.of("training").get()).isEqualTo("training");
      }
    
      public void testOf_null() {
        assertThrows(NullPointerException.class, () -> Optional.of(null));
      }
    
      public void testFromNullable() {
        Optional<String> optionalName = Optional.fromNullable("bob");
        assertThat(optionalName.get()).isEqualTo("bob");
      }
    
      public void testFromNullable_null() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/FluentIterableTest.java

      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(FluentIterable.class);
      }
    
      public void testFromArrayAndAppend() {
        FluentIterable<TimeUnit> unused = FluentIterable.from(TimeUnit.values()).append(SECONDS);
      }
    
      public void testFromArrayAndIteratorRemove() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

          fail();
        }
      }
    
      private static class RunFailingService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
          notifyFailed(EXCEPTION);
        }
    
        @Override
        protected void doStop() {
          fail();
        }
      }
    
      private static class StopFailingService extends AbstractService {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

          fail();
        }
      }
    
      private static class RunFailingService extends AbstractService {
        @Override
        protected void doStart() {
          notifyStarted();
          notifyFailed(EXCEPTION);
        }
    
        @Override
        protected void doStop() {
          fail();
        }
      }
    
      private static class StopFailingService extends AbstractService {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      private static void skipHelper(long n, int expect, InputStream in) throws IOException {
        ByteStreams.skipFully(in, n);
        assertEquals(expect, in.read());
        in.close();
      }
    
      private static final byte[] bytes = new byte[] {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
    
      public void testNewDataInput_empty() {
        byte[] b = new byte[0];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/chat/ChatPhaseCallbackTest.java

                }
    
                @Override
                public void onPhaseComplete(String phase) {
                    events.add("complete:" + phase);
                }
    
                @Override
                public void onChunk(String content, boolean done) {
                    events.add("chunk:" + content + ":" + done);
                }
    
                @Override
                public void onError(String phase, String errorMessage) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

        }
    
        @Test
        public void test_determineAccessType_customString() {
            assertEquals("my-custom-llm", searchLogHelper.determineAccessType("my-custom-llm"));
        }
    
        @Test
        public void test_determineAccessType_blankDefaultsToWeb() {
            assertEquals(Constants.SEARCH_LOG_ACCESS_TYPE_WEB, searchLogHelper.determineAccessType(""));
        }
    
        @Test
        public void test_determineAccessType_nullDefaultsToWeb() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

        private FacetInfo facetInfo;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            facetInfo = new FacetInfo();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        // Test default constructor
        @Test
        public void test_constructor() {
            FacetInfo info = new FacetInfo();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

        // Test available() method
        @Test
        public void test_available_withNoneSsoType() {
            currentSsoType = Constants.NONE;
            assertFalse(ssoManager.available());
        }
    
        @Test
        public void test_available_withValidSsoType() {
            currentSsoType = "saml";
            assertTrue(ssoManager.available());
        }
    
        @Test
        public void test_available_withEmptySsoType() {
            currentSsoType = "";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        }
    
        @Override
        protected void doStart() {
          new Thread() {
            @Override
            public void run() {
              Uninterruptibles.sleepUninterruptibly(delay, MILLISECONDS);
              notifyStarted();
            }
          }.start();
        }
    
        @Override
        protected void doStop() {
          new Thread() {
            @Override
            public void run() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 25.6K bytes
    - Click Count (0)
Back to Top