- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 164 for setUid (0.06 seconds)
-
src/test/java/jcifs/internal/TreeConnectResponseTest.java
void testGetTid() { // Given when(mockResponse.getTid()).thenReturn(12345); // When int tid = mockResponse.getTid(); // Then assertEquals(12345, tid, "Should return the configured tree ID"); verify(mockResponse).getTid(); } @Test @DisplayName("Should return service type")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
} @Test @DisplayName("Test setTid with positive value") void testSetTidWithPositiveValue() { // Given int tid = 12345; doNothing().when(request).setTid(tid); // When request.setTid(tid); // Then verify(request, times(1)).setTid(tid); } @Test @DisplayName("Test setTid with zero value") void testSetTidWithZero() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
} @Test public void test_equals_comprehensive() { PrunedTag tag1 = new PrunedTag("div"); tag1.setId("test"); tag1.setCss("highlight"); tag1.setAttr("data-value", "123"); PrunedTag tag2 = new PrunedTag("div"); tag2.setId("test"); tag2.setCss("highlight"); tag2.setAttr("data-value", "123"); assertTrue(tag1.equals(tag2));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
assertEquals("01T", crawlingConfigHelper.getDefaultConfig(ConfigType.WEB).get().getId()); assertEquals("11T", crawlingConfigHelper.getDefaultConfig(ConfigType.FILE).get().getId()); assertEquals("21T", crawlingConfigHelper.getDefaultConfig(ConfigType.DATA).get().getId()); } @Test public void test_getId() { // Test getId method through reflection since it's protected try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 35.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java
final CrawlingInfo info = new CrawlingInfo(); info.setId("test-id"); info.setSessionId("test-session"); final String str = info.toString(); assertNotNull(str); } @Test public void test_crawlingInfoParam_toString() { final CrawlingInfoParam param = new CrawlingInfoParam(); param.setId("param-id"); param.setKey("test-key");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 6.1K bytes - Click Count (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
Profile profile = new Profile(); profile.setId("pro"); settings.addProfile(profile); Repository repo1 = new Repository(); repo1.setUrl("http://apache.org/"); repo1.setId("test"); profile.addRepository(repo1); Repository repo2 = new Repository(); repo2.setUrl("http://apache.org/"); repo2.setId("test"); profile.addRepository(repo2);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
// Expected } } @Test public void test_getBoostedDocumentList_noBoostList() { KeyMatch keyMatch = new KeyMatch(); keyMatch.setId("nonexistent"); keyMatch.setTerm("nonexistent"); keyMatch.setVirtualHost(""); try { List<Map<String, Object>> result = keyMatchHelper.getBoostedDocumentList(keyMatch);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
Profile notActivated = new Profile(); notActivated.setId("notActivated"); Activation nonActivation = new Activation(); nonActivation.setJdk("19.2"); notActivated.setActivation(nonActivation); Profile defaultActivated = new Profile(); defaultActivated.setId("defaultActivated"); Activation defaultActivation = new Activation();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/JobLogTest.java
final JobLog jobLog = new JobLog(); jobLog.setId("pre-generated-id-123"); assertEquals("pre-generated-id-123", jobLog.getId()); } @Test public void test_setId_overwriteExisting() { final JobLog jobLog = new JobLog(); jobLog.setId("first-id"); assertEquals("first-id", jobLog.getId()); jobLog.setId("second-id"); assertEquals("second-id", jobLog.getId());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java
assertEquals("python", job.getScriptType()); } @Test public void test_idGetterSetter() { final ScheduledJob job = new ScheduledJob(); job.setId("test-id-123"); assertEquals("test-id-123", job.getId()); } // =================================================================================== // start(Map) Tests
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 15.8K bytes - Click Count (0)