Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for getDeclaredMethod (0.6 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // When
                Method writeParams = SmbComNtCancel.class.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class);
                writeParams.setAccessible(true);
                writeParams.invoke(cancel, dst, 0);
    
                Method writeBytes = SmbComNtCancel.class.getDeclaredMethod("writeBytesWireFormat", byte[].class, int.class);
                writeBytes.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            options.numOfThreads = 1;
            options.cleanup = false;
    
            // Setup mock components
            setupMockComponents();
    
            Method processMethod = ThumbnailGenerator.class.getDeclaredMethod("process", ThumbnailGenerator.Options.class);
            processMethod.setAccessible(true);
    
            try {
                Integer result = (Integer) processMethod.invoke(null, options);
                assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

            // Use reflection to access private method for testing
            Exception exception = assertThrows(Exception.class, () -> {
                java.lang.reflect.Method method =
                        MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class);
                method.setAccessible(true);
                method.invoke(multiChannelManager, null, null);
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            Method setReceivedMethod = ServerMessageBlock2Response.class.getDeclaredMethod("received");
            setReceivedMethod.setAccessible(true);
            setReceivedMethod.invoke(response);
    
            // Set tree ID
            Method setTreeIdMethod = ServerMessageBlock2.class.getDeclaredMethod("setTreeId", int.class);
            setTreeIdMethod.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            void testMakePipeUrl_NoOptions() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
                Method makePipeUrlMethod = DcerpcPipeHandle.class.getDeclaredMethod("makePipeUrl");
                makePipeUrlMethod.setAccessible(true);
                String result = (String) makePipeUrlMethod.invoke(handle);
    
                assertEquals("smb://server/IPC$/test", result);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            Method writeParameterWords = clazz.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class);
            assertNotNull(writeParameterWords);
    
            Method writeBytes = clazz.getDeclaredMethod("writeBytesWireFormat", byte[].class, int.class);
            assertNotNull(writeBytes);
    
            Method readParameterWords = clazz.getDeclaredMethod("readParameterWordsWireFormat", byte[].class, int.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        assertFalse(
            Visibility.PUBLIC.isVisible(VisibilityMethods.class.getDeclaredMethod("privateMethod")));
        assertFalse(
            Visibility.PUBLIC.isVisible(
                VisibilityMethods.class.getDeclaredMethod("packagePrivateMethod")));
        assertFalse(
            Visibility.PUBLIC.isVisible(VisibilityMethods.class.getDeclaredMethod("protectedMethod")));
        assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/https/HandlerTest.java

            void testProtectedMethodAccess() throws Exception {
                // Given
                Handler testHandler = new Handler(null);
    
                // When
                Method method = Handler.class.getDeclaredMethod("getDefaultPort");
    
                // Then
                assertTrue(Modifier.isProtected(method.getModifiers()));
                method.setAccessible(true); // Required to invoke protected method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

        private ClassificationMeta invokeMethod(Object obj, String methodName, String param) {
            try {
                java.lang.reflect.Method method = obj.getClass().getDeclaredMethod(methodName, String.class);
                method.setAccessible(true);
                return (ClassificationMeta) method.invoke(obj, param);
            } catch (Exception e) {
                throw new RuntimeException(e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

                options.propertiesPath = tempPropFile.getAbsolutePath();
    
                // Setup minimal mock components
                setupMockComponents();
    
                Method processMethod = SuggestCreator.class.getDeclaredMethod("process", SuggestCreator.Options.class);
                processMethod.setAccessible(true);
    
                try {
                    Integer result = (Integer) processMethod.invoke(null, options);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top