Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 124 for 1L (0.15 seconds)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            CharMappingItem item = new CharMappingItem(1L, inputs, "line1\nline2");
    
            assertEquals("line1 line2", item.getOutput());
        }
    
        @Test
        public void test_constructor_withNullOutput() {
            // Test with null output
            String[] inputs = { "input" };
            CharMappingItem item = new CharMappingItem(1L, inputs, null);
    
            assertNull(item.getOutput());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

        }
    
        @Test
        public void test_getVirtualHostPath() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public Tuple3<String, String, String>[] getVirtualHosts() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 3))
            .setExpectation(twoToThe54, DOWN, FLOOR)
            .setExpectation(nextUp(twoToThe54), CEILING, UP, HALF_DOWN, HALF_UP, HALF_EVEN)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_twoToThe54PlusFour() {
        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 4))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

        public void test_getTimeAdjustTimeMillisAsLong_values() {
            Long[] testValues = { 0L, 1L, -1L, 1000L, -1000L, 60000L, -60000L, 3600000L, -3600000L, Long.MAX_VALUE, Long.MIN_VALUE };
    
            for (Long value : testValues) {
                FessConfig testConfig = new FessConfig.SimpleImpl() {
                    private static final long serialVersionUID = 1L;
    
                    @Override
                    public String getTimeAdjustTimeMillis() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            originalFessConfig = ComponentUtil.getFessConfig();
    
            // Set up test configuration
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getMailFromName() {
                    return "Test Admin";
                }
    
                @Override
                public String getMailFromAddress() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.constrainToRange(1L, 0L, 5L)).isEqualTo(1L);
        assertThat(Longs.constrainToRange(1L, 1L, 5L)).isEqualTo(1L);
        assertThat(Longs.constrainToRange(1L, 3L, 5L)).isEqualTo(3L);
        assertThat(Longs.constrainToRange(0L, -5L, -1L)).isEqualTo(-1L);
        assertThat(Longs.constrainToRange(5L, 2L, 2L)).isEqualTo(2L);
        assertThrows(IllegalArgumentException.class, () -> Longs.constrainToRange(1L, 3L, 2L));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 3))
            .setExpectation(twoToThe54, DOWN, FLOOR)
            .setExpectation(nextUp(twoToThe54), CEILING, UP, HALF_DOWN, HALF_UP, HALF_EVEN)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_twoToThe54PlusFour() {
        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 4))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            assertEquals("id-with-special-!@#$%^&*()", event1.getId());
    
            // Test unicode in event type
            TestSearchLogEvent event2 = new TestSearchLogEvent("id", 1L, "タイプ日本語");
            assertEquals("タイプ日本語", event2.getEventType());
    
            // Test empty strings
            TestSearchLogEvent event3 = new TestSearchLogEvent("", 1L, "");
            assertEquals("", event3.getId());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/LongMath.java

      static final long[] factorials = {
        1L,
        1L,
        1L * 2,
        1L * 2 * 3,
        1L * 2 * 3 * 4,
        1L * 2 * 3 * 4 * 5,
        1L * 2 * 3 * 4 * 5 * 6,
        1L * 2 * 3 * 4 * 5 * 6 * 7,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11,
        1L * 2 * 3 * 4 * 5 * 6 * 7 * 8 * 9 * 10 * 11 * 12,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            super.setUp(testInfo);
            dataIndexHelper = new DataIndexHelper();
            setupMockComponents();
            // Reduce default interval to minimize test execution time
            dataIndexHelper.setCrawlingExecutionInterval(1L); // 1ms instead of 5000ms
        }
    
        private void setupMockComponents() {
            // Lightweight mock CrawlingConfigHelper
            ComponentUtil.register(new CrawlingConfigHelper() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
Back to Top