Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for test_get (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

       * https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/util/Collections.html#synchronizedCollection(java.util.Collection)
       *
       * Similarly, we avoid having those methods *implemented* in terms of *other* TestSet methods
       * that will perform holdsLock assertions:
       *
       * - For iterator(), we can accomplish that by not overriding iterator() at all. That way, we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertTrue(table.containsValue('b'));
        assertTrue(table.containsValue('c'));
        assertFalse(table.containsValue('x'));
        assertFalse(table.containsValue(null));
      }
    
      public void testGet() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals((Character) 'a', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

                }
            };
            MockletHttpServletRequest request = getMockRequest();
    
            userInfoHelper.deleteUserCodeFromCookie(request);
        }
    
        public void test_getId() {
            UserInfoHelper userInfoHelper = new UserInfoHelper();
            String id1 = userInfoHelper.getId();
            String id2 = userInfoHelper.getId();
    
            assertNotNull(id1);
            assertNotNull(id2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

       * https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/util/Collections.html#synchronizedCollection(java.util.Collection)
       *
       * Similarly, we avoid having those methods *implemented* in terms of *other* TestSet methods
       * that will perform holdsLock assertions:
       *
       * - For iterator(), we can accomplish that by not overriding iterator() at all. That way, we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java

            final SetOnce<Map<String, Object>> initParamMapSet = new SetOnce<>();
            WebConfig webConfig = new WebConfig();
            final String userAgent = "TestAgent";
            webConfig.setUserAgent(userAgent);
            webConfig.setConfigParameter("""
                    client.robotsTxtEnabled=false
                    """);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

                return new HashMap<>();
            }
    
            @Override
            public String getEventType() {
                return "";
            }
        }
    
        // Test getId method
        public void test_getId() {
            // Test normal ID
            TestSearchLogEvent event = new TestSearchLogEvent("test-id-123", 1L, "search");
            assertEquals("test-id-123", event.getId());
    
            // Test ID change
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListSetTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
      @CollectionSize.Require(absent = ZERO)
      public void testSet() {
        doTestSet(e3());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_null() {
        doTestSet(null);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.indexOf(null), is(0));
            assertThat(map.indexOf("test3"), is(-1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("1"), is("test"));
            assertThat(map.get(null), is(nullValue()));
            assertThat(map.get("test3"), is(nullValue()));
            assertThat(map.getAt(0), is(nullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

        @Override
        protected void tearDown() throws Exception {
            if (sambaServer != null) {
                sambaServer.stop();
            }
            super.tearDown();
        }
    
        public void test_doGet() throws Exception {
            try (final ResponseData responseData = smbClient.doGet(baseUrl + "file1.txt")) {
                assertEquals(0, responseData.getStatus());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            item.setNewInput("tempword");
            assertEquals("tempword", item.toLineString());
    
            item.setNewInput(null);
            assertEquals("originalword", item.toLineString());
        }
    
        public void test_getId() {
            // Test getId method inherited from DictionaryItem
            ProtwordsItem item1 = new ProtwordsItem(0, "word");
            assertEquals(0, item1.getId());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top