Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for getDeclaredMethod (0.14 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Method method = PrivateMethodClass.class.getDeclaredMethod("privateMethod");
            Secured secured = method.getAnnotation(Secured.class);
            assertNotNull(secured);
            assertEquals("PRIVATE_ROLE", secured.value()[0]);
        }
    
        public void test_protectedMethodAnnotation() throws NoSuchMethodException {
            Method method = PrivateMethodClass.class.getDeclaredMethod("protectedMethod");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                // Given
                CIFSContext mockContext = createMockContext();
    
                // When/Then
                try {
                    java.lang.reflect.Method method = Type2Message.class.getDeclaredMethod("makeTargetInfo", CIFSContext.class, String.class);
                    method.setAccessible(true);
                    byte[] targetInfo = (byte[]) method.invoke(null, mockContext, TEST_DOMAIN);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            }
        }
    
        // Test getValueFromMap private method via reflection
        public void test_getValueFromMap() throws Exception {
            Method method = Crawler.class.getDeclaredMethod("getValueFromMap", Map.class, String.class, String.class);
            method.setAccessible(true);
    
            Map<String, String> dataMap = new HashMap<>();
            dataMap.put("key1", "value1");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top