Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 171 for isPresent (0.24 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

       * exceptions thrown from the test do not cause this check to fail.
       */
      @RegisterExtension
      val noDataLeftBehind =
        AfterEachCallback { context: ExtensionContext ->
          if (context.executionException.isPresent) return@AfterEachCallback
          assertThat(data.readByteString().hex(), "Data not empty")
            .isEqualTo("")
        }
    
      // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

            jvmArgumentProviders.add(srcDistributionZip)
        }
    
        override fun executeTests() {
            cachesCleaner.get().cleanUpCaches()
    
            if (tracker.isPresent) {
                val daemonTrackerService = tracker.get()
                val testListener = daemonTrackerService.javaClass.getMethod("newDaemonListener").invoke(daemonTrackerService) as TestListener
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jul 01 22:53:59 GMT 2022
    - 8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

        //                                                                           =========
        protected boolean isLoginRequired() {
            if (fessConfig.isLoginRequired() && !fessLoginAssist.getSavedUserBean().isPresent()) {
                return true;
            }
            return false;
        }
    
        protected void buildFormParams(final SearchForm form) {
    
            final HttpSession session = request.getSession(false);
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

        assertEquals(expected.length, source.size());
      }
    
      public void testSizeIfKnown() throws IOException {
        Optional<Long> sizeIfKnown = source.sizeIfKnown();
        if (sizeIfKnown.isPresent()) {
          assertEquals(expected.length, (long) sizeIfKnown.get());
        }
      }
    
      public void testContentEquals() throws IOException {
        assertTrue(
            source.contentEquals(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                        entity.getCrawlingInfo().ifPresent(crawlingInfo -> {
                            addToList(list, crawlingInfo.getSessionId());
                            addToList(list, crawlingInfo.getCreatedTime());
                        });
                        // TODO
                        if (!entity.getCrawlingInfo().isPresent()) {
                            addToList(list, "");
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

                copyOp.excludeNull();
            });
            return body;
        }
    
        protected Boolean isValidFileConfigId(final String fileconfigId) {
            return fileConfigService.getFileConfig(fileconfigId).isPresent();
        }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

                copyOp.excludeNull();
            });
            return body;
        }
    
        protected Boolean isValidWebConfigId(final String webconfigId) {
            return webConfigService.getWebConfig(webconfigId).isPresent();
        }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            assertNotNull(resolved);
            assertNotNull(resolved.getKey());
            assertNotNull(resolved.getValue());
            Optional<Path> op = session.getArtifactPath(resolved.getKey());
            assertTrue(op.isPresent());
            assertEquals(resolved.getValue(), op.get());
        }
    
        @Test
        void testBuildProject() {
            Artifact artifact = session.createArtifact("org.codehaus.plexus", "plexus-utils", "1.4.5", "pom");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  9. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

                if (!fessConfig.isAdminUser(username)) {
                    final OptionalEntity<FessUser> ldapUser = ComponentUtil.getLdapManager().login(username, password);
                    if (ldapUser.isPresent()) {
                        return ldapUser;
                    }
                }
                return doFindLoginUser(username, encryptPassword(password));
            });
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSourceTester.java

        assertEquals(expected.length, source.size());
      }
    
      public void testSizeIfKnown() throws IOException {
        Optional<Long> sizeIfKnown = source.sizeIfKnown();
        if (sizeIfKnown.isPresent()) {
          assertEquals(expected.length, (long) sizeIfKnown.get());
        }
      }
    
      public void testContentEquals() throws IOException {
        assertTrue(
            source.contentEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
Back to top