Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 185 for issubclass (0.3 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/spnego/SpnegoTokenTest.java

    import java.io.IOException;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SpnegoToken.
     * Uses a minimal concrete subclass to exercise abstract methods.
     */
    class SpnegoTokenTest {
    
        /**
         * Minimal concrete implementation for testing.
         * - parse: sets mechanismToken, throws on null
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/AbstractValueGraph.java

     * this class rather than implement {@link ValueGraph} directly.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4K bytes
    - Click Count (0)
  7. 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)
  8. guava/src/com/google/common/collect/ForwardingSortedMap.java

       * ForwardingSortedMap}. In many cases, you may wish to override {@link
       * ForwardingSortedMap#keySet} to forward to this implementation or a subclass thereof.
       *
       * @since 15.0
       */
      protected class StandardKeySet extends Maps.SortedKeySet<K, V> {
        /** Constructor for use by subclasses. */
        public StandardKeySet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                // The actual logic is tested in AbstractUpgradeGoalTest
                // Here we just verify that Apply is properly configured as a subclass
                assertInstanceOf(AbstractUpgradeGoal.class, applyGoal, "Apply should extend AbstractUpgradeGoal");
                assertTrue(applyGoal.shouldSaveModifications(), "Apply should save modifications unlike Check goal");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                // The actual logic is tested in AbstractUpgradeGoalTest
                // Here we just verify that Check is properly configured as a subclass
                assertTrue(checkGoal instanceof AbstractUpgradeGoal, "Check should extend AbstractUpgradeGoal");
                assertFalse(checkGoal.shouldSaveModifications(), "Check should not save modifications unlike Apply goal");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top