- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 375 for subclass (0.06 seconds)
-
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
assertEquals(cause, exception.getCause(), "Cause should match the provided throwable"); } @Test void testIsInstanceOfTransportException() { // Verify that RequestTimeoutException is a subclass of TransportException RequestTimeoutException exception = new RequestTimeoutException(); assertTrue(exception instanceof TransportException, "RequestTimeoutException should be an instance of TransportException");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
import org.jspecify.annotations.Nullable; /** * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide * target iterators on demand. It also requires three additional constructor parameters: {@code * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/service/FessAppServiceTest.java
} @Test public void test_wrapQuery_multipleInternalWildcards() { assertEquals("*test*query*search*", service.callWrapQuery("test*query*search")); } // Test subclass to access protected method private static class TestFessAppService extends FessAppService { public String callWrapQuery(final String query) { return wrapQuery(query); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.jspecify.annotations.NullUnmarked; /** * Tester for typical subclass of {@link ForwardingObject} by using Mockito. * * @author Ben Yu */ @NullUnmarked @GwtIncompatible @J2ktIncompatible final class ForwardingObjectTester { private static final Method DELEGATE_METHOD;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.jspecify.annotations.NullUnmarked; /** * Tester for typical subclass of {@link ForwardingObject} by using Mockito. * * @author Ben Yu */ @NullUnmarked @GwtIncompatible @J2ktIncompatible final class ForwardingObjectTester { private static final Method DELEGATE_METHOD;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
transactionMock = mock(SmbComTransactionResponse.class); } @Test void testSmbComQueryInformationResponseGetters() throws Exception { // The constructor is package‑private; use an anonymous subclass SmbComQueryInformationResponse resp = new SmbComQueryInformationResponse(1000L) { }; java.lang.reflect.Field fileAttr = SmbComQueryInformationResponse.class.getDeclaredField("fileAttributes");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
* * <h3>Extension</h3> * * This class is package-private. If you want a class like {@code FluentFuture} but with extra * methods, we recommend declaring your own subclass of {@link ListenableFuture}, complete with a * method like {@link #from} to adapt an existing {@code ListenableFuture}, implemented atop a * {@link ForwardingListenableFuture} that forwards to that future and adds the desired methods.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
assert (str.endsWith("]")); } } // We need to add a helper method to TransTransactNamedPipeResponse to make the test more precise // Or create a visible subclass for testing. // For now, let's assume we can modify the original class slightly for testability, // or we accept the less precise testToStringFormat test.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/test/TestClasspathUtils.java
} private static void generateJdkJarHellCheck(File projectRoot, Implementation mainImplementation) { DynamicType.Unloaded<?> dynamicType = new ByteBuddy() .subclass(Object.class) .name("org.elasticsearch.jdk.JdkJarHellCheck") .defineMethod("main", void.class, Visibility.PUBLIC, Ownership.STATIC) .withParameters(String[].class)Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jun 07 15:14:44 GMT 2021 - 2.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractValueGraph.java
* more efficient implementation. * * @author James Sexton * @param <N> Node parameter type * @param <V> Value parameter type * @since 20.0 */ public abstract class AbstractValueGraph<N, V> extends AbstractBaseGraph<N> implements ValueGraph<N, V> { /** Constructor for use by subclasses. */ public AbstractValueGraph() {} @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4K bytes - Click Count (0)