Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for superclass (0.06 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/mdo/maven.mdo

          <key>package</key>
          <value>org.apache.maven.model</value>
        </default>
      </defaults>
      <classes>
        <class rootElement="true" xml.tagName="project">
          <name>Model</name>
          <superClass>ModelBase</superClass>
          <description>
            The {@code &lt;project>} element is the root of the descriptor.
            The following table lists all of the possible child elements.
          </description>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        return method.getGenericParameterTypes()[0];
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static Type getSupertype(Type type, Class<?> superclass) {
        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
      private static Type getSubtype(Type type, Class<?> subclass) {
        return TypeToken.of(type).getSubtype(subclass).getType();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/GenericsUtil.java

                map.put(typeParameter, getActualClass(typeParameter.getBounds()[0], map));
            }
    
            final Class<?> superClass = clazz.getSuperclass();
            final Type superClassType = clazz.getGenericSuperclass();
            if (superClass != null) {
                gatherTypeVariables(superClass, superClassType, map);
            }
    
            final Class<?>[] interfaces = clazz.getInterfaces();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java

            // Create an instance of MsrpcLsarClose with the mock handle
            MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle);
    
            // Verify that the handle passed to the constructor is correctly set in the superclass
            assertEquals(mockHandle, lsarClose.handle, "The handle should be initialized correctly.");
    
            // Verify that the ptype is set to 0
            assertEquals(0, lsarClose.getPtype(), "The ptype should be set to 0.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top