Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for dummy (0.01 sec)

  1. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

            assertEquals(UserAgentType.OPERA, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_OTHER() {
            getMockRequest().addHeader("user-agent", "Dummy");
            assertEquals(UserAgentType.OTHER, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_nullUserAgent() {
            getMockRequest().addHeader("user-agent", null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            assertThat(map.remove("ONE"), is("1"));
            assertThat(map.size(), is(1));
            assertThat(map.remove("dummy"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPutAll() throws Exception {
            final Map<String, String> m = new HashMap<String, String>();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        throwFirst(nullErrors);
      }
    
      /**
       * Instantiates {@code cls} by invoking one of its non-private constructors or non-private static
       * factory methods with the parameters automatically provided using dummy values.
       *
       * @return The instantiated instance, or {@code null} if the class has no non-private constructor
       *     or factory method to be constructed.
       */
      <T> @Nullable T instantiate(Class<T> cls)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

         * This method provides a dummy implementation as Fess does not use DBFlute extensively.
         *
         * @return a new access context arranger
         */
        @Override
        protected AccessContextArranger newAccessContextArranger() { // for framework
            // fess does not use DBFlute, and this is unneeded so dummy
            return resource -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                // Simulate thumbnail generation
                try {
                    if (!outputFile.exists()) {
                        outputFile.createNewFile();
                    }
                    // Write some dummy content to simulate actual thumbnail
                    Files.write(outputFile.toPath(), ("thumbnail-" + thumbnailId).getBytes());
                    return true;
                } catch (IOException e) {
                    return false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

                this.lastQuery = query;
                this.lastParams = params;
                this.lastUserBean = userBean;
    
                // Return a dummy SearchResult
                List<Map<String, Object>> documentList = new ArrayList<>();
                Map<String, Object> doc = new HashMap<>();
                doc.put("title", "Test Document");
                documentList.add(doc);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/LruHashSet.java

        private static final long serialVersionUID = 1L;
    
        /**
         * The internal LRU hash map used to store elements.
         */
        private final LruHashMap<E, Object> map;
    
        // Dummy value to associate with an Object in the backing Map
        private static final Object PRESENT = new Object();
    
        /**
         * Creates a new {@link LruHashSet} with the specified limit size.
         *
         * @param limitSize
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

            throw Throwables.propagate(e.getCause());
          }
          assertEquals("Failed to forward to " + method, 1, called.get());
        }
    
        @Override
        public String toString() {
          return "dummy " + interfaceType.getSimpleName();
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

        public void tearDown() throws Exception {
            file1.delete();
        }
        */
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            synonymFile = new SynonymFile("1", "dummy", new Date());
            List<SynonymItem> itemList = new ArrayList<>();
            itemList.add(new SynonymItem(1, new String[] { "a1" }, new String[] { "A1" }));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

        protected void tearDown() throws Exception {
            file1.delete();
        }
        */
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            kuromojiFile = new KuromojiFile("1", "dummy", new Date());
            List<KuromojiItem> itemList = new ArrayList<>();
            itemList.add(new KuromojiItem(1, "token1", "seg1", "reading1", "pos1"));
            itemList.add(new KuromojiItem(2, "token2", "seg2", "reading2", "pos2"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top