- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for getSuperclass (0.11 sec)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
info502.security_descriptor = securityDescriptorBytes; info502.sd_size = securityDescriptorBytes.length; // Replace info field Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareGetInfo, info502); // Test getSecurity - with no DACL, it should return null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// Verify values through reflection Field totalParamField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalParameterCount"); totalParamField.setAccessible(true); assertEquals(1000, totalParamField.get(response)); Field totalDataField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalDataCount"); totalDataField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K 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/trans/nt/NtTransQuerySecurityDescResponseTest.java
assertEquals(4, result); // Access private field to verify length was set Field lengthField = response.getClass().getSuperclass().getSuperclass().getSuperclass().getDeclaredField("length"); lengthField.setAccessible(true); int actualLength = (int) lengthField.get(response); assertEquals(expectedLength, actualLength); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename); // Set path field (inherited from parent) Field pathField = trans2GetDfsReferral.getClass().getSuperclass().getSuperclass().getDeclaredField("path"); pathField.setAccessible(true); pathField.set(trans2GetDfsReferral, filename); // When String result = trans2GetDfsReferral.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
Field f = clazz.getDeclaredField(fieldName); f.setAccessible(true); return f.get(target); } catch (NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchFieldException(fieldName); } private static void setPrivateField(Object target, String fieldName, Object value) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Assert assertNotNull(queryPolicy); assertEquals(lsarpc.LsarQueryInformationPolicy.class, queryPolicy.getClass().getSuperclass()); }
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/main/java/org/codelibs/core/lang/ClassIterator.java
} @Override public Class<?> next() { if (!hasNext()) { throw new NoSuchElementException(); } final Class<?> result = clazz; clazz = clazz.getSuperclass(); return result; } @Override public void remove() { throw new ClUnsupportedOperationException("remove"); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K 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/smb1/smb1/SmbComTransactionResponseTest.java
try { field = clazz.getDeclaredField(fieldName); } catch (NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } if (field == null) { throw new NoSuchFieldException(fieldName); } field.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)