- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for Chaining (0.05 seconds)
-
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
@Test public void test_expiry_validValue() { long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry); // Test method chaining assertSame(purgeThumbnailJob, result); // Test value was set assertEquals(newExpiry, purgeThumbnailJob.getExpiry()); } // Test expiry setter with zero value (should not change)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
* @return this instance for method chaining */ public IndexExportJob query(final QueryBuilder queryBuilder) { this.queryBuilder = queryBuilder; return this; } /** * Sets the export format. * * @param format the format name (e.g. "html", "json") * @return this instance for method chaining */ public IndexExportJob format(final String format) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
fail("Should have caught as FessSystemException"); } } @Test public void test_exceptionChaining() { // Test that the exception can be used in exception chaining String username = "testuser"; FessUserNotFoundException originalException = new FessUserNotFoundException(username); try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
* @return this builder for method chaining */ public SearchConditionBuilder query(final String query) { this.query = query; return this; } /** * Sets the search request type. * * @param searchRequestType the search request type * @return this builder for method chaining */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 138.6K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
QueryBuilder queryBuilder = QueryBuilders.matchAllQuery(); UpdateLabelJob returnedJob = updateLabelJob.query(queryBuilder); assertSame(updateLabelJob, returnedJob); // Method chaining assertEquals(queryBuilder, updateLabelJob.queryBuilder); } // Test query() method with null @Test public void test_query_withNull() { updateLabelJob.query(null);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
.testForwarding(Equals.class, NoDelegateToEquals::new); } catch (AssertionFailedError expected) { return; } fail("Should have failed"); } /** An interface for the 2 ways that a chaining call might be defined. */ private interface ChainingCalls { // A method that is defined to 'return this' @CanIgnoreReturnValue ChainingCalls chainingCall();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
assertEquals(Boolean.TRUE, boolOpt.get()); assertNotNull(dateOpt.get()); } @Test public void test_ofNullable_chainedOperations() { // Test chaining operations on the returned OptionalEntity String testValue = "HELLO WORLD"; OptionalEntity<String> result = OptionalUtil.ofNullable(testValue); assertTrue(result.isPresent());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
.testForwarding(Equals.class, NoDelegateToEquals::new); } catch (AssertionFailedError expected) { return; } fail("Should have failed"); } /** An interface for the 2 ways that a chaining call might be defined. */ private interface ChainingCalls { // A method that is defined to 'return this' @CanIgnoreReturnValue ChainingCalls chainingCall();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
generics.go
CreateInterface[T] } type CreateInterface[T any] interface { ExecInterface[T] // chain methods available at start; Select/Omit keep CreateInterface to allow Create chaining Scopes(scopes ...func(db *Statement)) ChainInterface[T] Where(query interface{}, args ...interface{}) ChainInterface[T] Not(query interface{}, args ...interface{}) ChainInterface[T]
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
fail("Should throw JobProcessingException"); } catch (JobProcessingException e) { assertEquals("Specific job error", e.getMessage()); } } // Test method chaining @Test public void test_methodChaining() { CrawlJob result = crawlJob.namespace("test") .documentExpires(10) .webConfigIds(new String[] { "web1" })
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25K bytes - Click Count (0)