- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for getSuperclass (0.05 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/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/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) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
} finally { field.setAccessible(isAccessible); } } } traverseObjectWithParents(cls.getSuperclass(), target); } } private boolean isQualifiedForInterpolation(Class<?> cls) { return !cls.getPackage().getName().startsWith("java")
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
method.setAccessible(true); return method; } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchMethodException("readString method not found"); } private Field getSuperclassField(Class<?> clazz, String fieldName) throws NoSuchFieldException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
while (clazz != null) { try { return clazz.getDeclaredField(fieldName); } catch (NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } return null; } private Method findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) { while (clazz != null) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
method.setAccessible(true); return method; } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchMethodException("readString method not found"); } private Field getSuperclassField(Class<?> clazz, String fieldName) throws NoSuchFieldException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
* Reflectively get the chained next request from a SMB2 request. */ private static Object getNextOf(Object req) throws Exception { Class<?> cls = req.getClass().getSuperclass(); // ServerMessageBlock2Request Field f = cls.getSuperclass().getDeclaredField("next"); // ServerMessageBlock2.next f.setAccessible(true); return f.get(req); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0)