- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for superclasses (0.08 sec)
-
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} /** * Returns an object responsible for performing sanity tests against the return values of all * public static methods declared by {@code cls}, excluding superclasses. */ public FactoryMethodReturnValueTester forAllPublicStaticMethods(Class<?> cls) { ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder(); for (Method method : cls.getDeclaredMethods()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} /** * Returns an object responsible for performing sanity tests against the return values of all * public static methods declared by {@code cls}, excluding superclasses. */ public FactoryMethodReturnValueTester forAllPublicStaticMethods(Class<?> cls) { ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder(); for (Method method : cls.getDeclaredMethods()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
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) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
guava/src/com/google/common/reflect/TypeResolver.java
if (mappings.containsKey(var)) { // Mapping already established // This is possible when following both superClass -> enclosingClass // and enclosingclass -> superClass paths. // Since we follow the path of superclass first, enclosing second, // superclass mapping should take precedence. return; } // First, check whether var -> arg forms a cycle
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0)