Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for testDelete (0.09 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

            assertEquals(value2, settings.badword().get(false)[1]);
            assertEquals(value3, settings.badword().get(false)[2]);
        }
    
        @Test
        public void test_delete() {
            String value1 = "a";
            String value2 = "b";
            String value3 = "c";
            settings.badword().add(value1);
            settings.badword().add(value2);
            settings.badword().add(value3);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

            assertEquals(elevateWord3.getRoles().get(0), settings.elevateWord().get()[2].getRoles().get(0));
        }
    
        @Test
        public void test_delete() {
            ElevateWord elevateWord1 =
                    new ElevateWord("a", 1.0f, Collections.singletonList("a"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord2 =
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java

            assertEquals("READING3", kuromojiItem4.getReading());
            assertEquals("POS3", kuromojiItem4.getPos());
            assertFalse(kuromojiItem4.isUpdated());
        }
    
        public void test_delete() throws Exception {
            final KuromojiFile kuromojiFile = new KuromojiFile(file1);
            final PagingList<KuromojiItem> itemList1 = kuromojiFile.selectList(0,
                    20);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. tests/test_extra_routes.py

    
    def test_get_api_route_not_decorated():
        response = client.get("/items-not-decorated/foo")
        assert response.status_code == 200, response.text
        assert response.json() == {"item_id": "foo"}
    
    
    def test_delete():
        response = client.request("DELETE", "/items/foo", json={"name": "Foo"})
        assert response.status_code == 200, response.text
        assert response.json() == {"item_id": "foo", "item": {"name": "Foo", "price": None}}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java

            assertEquals(value1, settings.array().get(key)[0]);
            assertEquals(value2, settings.array().get(key)[1]);
            assertEquals(value3, settings.array().get(key)[2]);
        }
    
        @Test
        public void test_delete() {
            String key = "key";
            String value1 = "a";
            String value2 = "b";
            String value3 = "c";
            settings.array().add(key, value1);
            settings.array().add(key, value2);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

             assertEquals("c1", synonymItem4.getOutputs()[0]);
             assertEquals("c2", synonymItem4.getOutputs()[1]);
             assertFalse(synonymItem2.isUpdated());
         }
    
         public void test_delete() throws Exception {
             final SynonymFile synonymFile = new SynonymFile(file1);
             final PagingList<SynonymItem> itemList1 = synonymFile.selectList(0, 20);
             assertEquals(5, itemList1.size());
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            SuggestResponse response2 = suggester.suggest().setSuggestDetail(true).execute().getResponse();
            assertEquals(2, response2.getNum());
        }
    
        @Test
        public void test_delete() throws Exception {
            SuggestItem[] items = getItemSet1();
            suggester.indexer().index(items);
            suggester.refresh();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top