- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 178 for chaining (0.14 sec)
-
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
assertNotNull(exception); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_exceptionChaining() { // Test exception chaining Throwable rootCause = new IllegalArgumentException("Invalid argument"); Throwable intermediateCause = new RuntimeException("Processing failed", rootCause); String message = "Plugin operation failed";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType()); try { Object actualReturnValue = method.invoke(wrapper, passedArgs); // If we think this might be a 'chaining' call then we allow the return value to either // be the wrapper or the returnValue. if (!isPossibleChainingCall || wrapper != actualReturnValue) { assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
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 public void test_query_withNull() { updateLabelJob.query(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
foundTestMethod = true; break; } } assertTrue(foundTestMethod); } @Test @DisplayName("Should handle exception chaining") void testExceptionChaining() { // Given Exception rootCause = new RuntimeException("Root cause"); SmbException intermediateCause = new SmbException("Intermediate", rootCause);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
* For BoolQueryBuilder, adds as a should clause. * For DisMaxQueryBuilder, adds as a query. * * @param innerQueryBuilder the query builder to add * @return this instance for method chaining */ public DefaultQueryBuilder add(final QueryBuilder innerQueryBuilder) { switch (queryType) { case BOOL: ((BoolQueryBuilder) queryBuilder).should(innerQueryBuilder);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* Examples of frameworks include: * * <ul> * <li><a href="https://dagger.dev/producers.html">Dagger Producers</a> * </ul> * * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will * rarely use it directly, in part because it does not provide direct access to the {@code Future} * result. (If you want such access, you may prefer {@link Futures#addCallback
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
} /** * This is an intermediate stage in the construction process. It is returned by {@link * LinearTransformation#mapping}. You almost certainly don't want to keep instances around, but * instead use method chaining. This represents a single point mapping, i.e. a mapping between one * {@code x} and {@code y} value pair. * * @since 20.0 */ public static final class LinearTransformationBuilder {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test @DisplayName("Should support exception chaining") void testExceptionChaining() { // Given Exception rootCause = new IllegalStateException("Root error");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
assertNull(exception3.getComponentName()); } public void test_exceptionChaining() { // Test exception chaining with multiple levels Exception rootCause = new Exception("Root cause"); RuntimeException middleCause = new RuntimeException("Middle cause", rootCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// When boolean allowChain = request.allowChain(nextRequest); // Then assertFalse(allowChain, "Cancel requests should not allow chaining"); } @Test @DisplayName("Test split returns null") void testSplit() { // Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0)