Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for testLeak (0.45 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ClosingFuture} leaks. */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ClosingFutureLeakTest extends TestCase {
      public void testLeak() {
        TestCloseable closeable = new TestCloseable("closeable");
        awaitClear(leakClosingFuture(closeable));
        assertThat(closeable.awaitClosed()).isTrue();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /** Tests for {@link ClosingFuture} leaks. */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ClosingFutureLeakTest extends TestCase {
      public void testLeak() {
        TestCloseable closeable = new TestCloseable("closeable");
        awaitClear(leakClosingFuture(closeable));
        assertThat(closeable.awaitClosed()).isTrue();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

        }
    
        // Test validation with valid cron expressions
        @Test
        public void test_validCronExpressions() {
            TestBean bean = new TestBean();
    
            // Test null value (should be valid)
            bean.setCronExpression(null);
            Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    
            // Test empty string (should be valid)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

        @Override
        protected Map<String, Object> getUpdateMap() {
            fail("getUpdateMap is not supported for StatsTests");
            return null;
        }
    
        @Override
        protected void testRead() {
            logger.info("[BEGIN] testRead");
    
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
    
            logger.info("Stats response: {}", response);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/LogTests.java

            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            final String response = checkMethodBase(searchBody).get(API_PATH + "/" + LIST_ENDPOINT_SUFFIX).asString();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/GeneralTests.java

            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/SystemInfoTests.java

            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
            final Map<String, Object> searchBody = new HashMap<>();
            String response = checkGetMethod(searchBody, "").asString();
            final Map<String, Object> res = JsonPath.from(response).getMap("response");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            checkGetMethod(searchBody, getListEndpointSuffix()).then().body(getJsonPath() + ".size()", equalTo(NUM));
            logger.info("[END] testCreate");
        }
    
        protected void testRead() {
            logger.info("[BEGIN] testRead");
            // Test: get settings api.
            final Map<String, Object> searchBody = createSearchBody(SEARCH_ALL_NUM);
            List<String> nameList = getPropList(searchBody, getKeyProperty());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/GroupTests.java

                assertTrue(attr.containsKey("gidNumber"));
                assertEquals(attr.get("gidNumber"), "100");
            }
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 19 07:14:01 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/DuplicateHostTests.java

            updateMap.put("duplicate_host_name", "new_duplicate_host");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 19 07:14:01 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top