Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for getId (0.01 sec)

  1. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

            item1.id = 100L;
            item2.id = 200L;
    
            assertEquals(100L, item1.getId());
            assertEquals(200L, item2.getId());
    
            // Verify they don't affect each other
            item1.id = 300L;
            assertEquals(300L, item1.getId());
            assertEquals(200L, item2.getId());
        }
    
        public void test_constructor() {
            // Test that constructor creates a valid instance
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        public void test_getId() {
            // Test getId method from parent class
            StopwordsItem item1 = new StopwordsItem(0, "word1");
            assertEquals(0, item1.getId());
    
            StopwordsItem item2 = new StopwordsItem(999, "word2");
            assertEquals(999, item2.getId());
    
            StopwordsItem item3 = new StopwordsItem(-1, "word3");
            assertEquals(-1, item3.getId());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        public void test_getId() {
            // Test getId method inherited from DictionaryItem
            ProtwordsItem item1 = new ProtwordsItem(0, "word");
            assertEquals(0, item1.getId());
    
            ProtwordsItem item2 = new ProtwordsItem(999, "word");
            assertEquals(999, item2.getId());
    
            ProtwordsItem item3 = new ProtwordsItem(-1, "word");
            assertEquals(-1, item3.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)
  4. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            }
        }
    
        // 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
            event.setId("new-id-456");
            assertEquals("new-id-456", event.getId());
    
            // Test null ID
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            final List<ScheduledJob> scheduledJobs = new ArrayList<>();
    
            // Create test scheduled jobs
            ScheduledJob job1 = new ScheduledJob() {
                @Override
                public String getId() {
                    return "job1";
                }
    
                @Override
                public String getTarget() {
                    return "all";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            TestComponent component = factory.create();
            assertNotNull(component);
            assertEquals(1, component.getId());
    
            TestComponent component2 = factory.create();
            assertNotNull(component2);
            assertEquals(2, component2.getId());
    
            // Different instances for prototype
            assertNotSame(component, component2);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals("=>output", item.toLineString());
        }
    
        public void test_getId() {
            // Test getId method from parent class
            CharMappingItem item = new CharMappingItem(42L, new String[] { "input" }, "output");
            assertEquals(42L, item.getId());
        }
    
        public void test_getCreatedBy_getCreatedTime() {
            // Test inherited methods from DictionaryItem
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacLogonInfo.java

                    this.extraSids[i] = extraSidAtts[i].getId();
                }
    
                // Compute Resource Group IDs with Resource Domain ID to get SIDs
                this.resourceGroupSids = new SID[resourceGroups.length];
                for (int i = 0; i < resourceGroups.length; i++) {
                    this.resourceGroupSids[i] = new SID(resourceDomainId, resourceGroups[i].getId());
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacGroup.java

            this.id = id;
            this.attributes = attributes;
        }
    
        /**
         * Returns the group's Security Identifier.
         * @return the group SID
         */
        public SID getId() {
            return this.id;
        }
    
        /**
         * Returns the group membership attributes.
         * @return the attributes value
         */
        public int getAttributes() {
            return this.attributes;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

        // Test timezone information
        public void test_timezoneInformation() {
            TimeZone defaultTz = TimeZone.getDefault();
            assertNotNull(defaultTz);
            assertNotNull(defaultTz.getID());
            assertTrue(defaultTz.getID().length() > 0);
    
            // Central timezone should match default
            assertEquals(defaultTz, FessUserTimeZoneProcessProvider.centralTimeZone);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top