Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for superclasses (0.05 sec)

  1. src/test/java/jcifs/netbios/NameQueryResponseTest.java

        }
    
        @Test
        void constructor_shouldInitializeRecordName() throws NoSuchFieldException, IllegalAccessException {
            // Verify that the 'recordName' field in the superclass (NameServicePacket) is initialized
            Field recordNameField = NameServicePacket.class.getDeclaredField("recordName");
            recordNameField.setAccessible(true); // Allow access to protected field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
            // We can't directly assert these values on the superclass fields without reflection or a testable superclass.
            // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

    public class AbstractNotAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> {
      abstract static class SuperClass {
        public abstract void overriddenInSubclassNowhereAnnotated(Object o);
    
        public abstract void overriddenAndAnnotatedInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenInSubclassNowhereAnnotatedEvents = new ArrayList<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/https/HandlerTest.java

            void testInheritanceHierarchy() {
                // When
                Class<?> superclass = Handler.class.getSuperclass();
    
                // Then
                assertEquals(jcifs.smb1.http.Handler.class, superclass);
                assertEquals(URLStreamHandler.class, superclass.getSuperclass());
            }
    
            @Test
            @DisplayName("Should verify class is final or non-final appropriately")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

    public class AbstractNotAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> {
      abstract static class SuperClass {
        public abstract void overriddenInSubclassNowhereAnnotated(Object o);
    
        public abstract void overriddenAndAnnotatedInSubclass(Object o);
      }
    
      static class SubClass extends SuperClass {
        final List<Object> overriddenInSubclassNowhereAnnotatedEvents = new ArrayList<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/https/HandlerTest.java

            void testInheritanceHierarchy() {
                // When
                Class<?> superclass = Handler.class.getSuperclass();
    
                // Then
                assertEquals(jcifs.http.Handler.class, superclass);
                assertEquals(URLStreamHandler.class, superclass.getSuperclass());
            }
    
            @Test
            @DisplayName("Should verify class is final or non-final appropriately")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RegularImmutableAsList.java

        return (UnmodifiableListIterator<E>) delegateList.listIterator(index);
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      public void forEach(Consumer<? super E> action) {
        delegateList.forEach(action);
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        return delegateList.copyIntoArray(dst, offset);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

        }
    
        @Test
        @DisplayName("toString contains class name and delegates to superclass")
        void toStringMatches() {
            String s = response.toString();
            assertNotNull(s);
            assertTrue(s.startsWith("SmbComSetInformationResponse["));
            assertTrue(s.endsWith("]"));
            // Verify it contains superclass toString content
            assertTrue(s.length() > "SmbComSetInformationResponse[]".length());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            NameQueryRequest request = spy(new NameQueryRequest(mockConfig, mockName));
            byte[] dst = new byte[100];
            int dstIndex = 0;
    
            // Mock the superclass method to control its behavior
            doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt());
    
            int result = request.writeBodyWireFormat(dst, dstIndex);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

          while (possibleClass != null && possibleClass.simpleName != "OpenSSLSocketImpl") {
            possibleClass = possibleClass.superclass
    
            if (possibleClass == null) {
              throw AssertionError(
                "No OpenSSLSocketImpl superclass of socket of type $actualSSLSocketClass",
              )
            }
          }
    
          return AndroidSocketAdapter(possibleClass!!)
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top