Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,567 for methods (0.04 sec)

  1. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        for (int i = 0; i < methods.length; i++) {
          try {
            methods[i] = type.getMethod(methods[i].getName(), methods[i].getParameterTypes());
          } catch (Exception e) {
            throwIfUnchecked(e);
            throw new RuntimeException(e);
          }
        }
        return methods;
      }
    
      private static <T> void testSuccessfulForwarding(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/NetbiosNameTest.java

    @DisplayName("NetbiosName Tests")
    class NetbiosNameTest extends BaseTest {
    
        @Mock
        private NetbiosName mockNetbiosName;
    
        @Test
        @DisplayName("Should define interface methods")
        void testNetbiosNameInterface() {
            // Verify interface methods exist
            try {
                assertNotNull(NetbiosName.class.getMethod("getName"));
                assertNotNull(NetbiosName.class.getMethod("getScope"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            // 2. All public methods should be static
            java.lang.reflect.Method[] methods = ThreadDumpUtil.class.getDeclaredMethods();
            for (java.lang.reflect.Method method : methods) {
                if (java.lang.reflect.Modifier.isPublic(method.getModifiers()) && !method.isSynthetic()) {
                    assertTrue("Public method " + method.getName() + " should be static",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. cmd/api-router.go

    		api:     "website",
    		methods: []string{http.MethodPut},
    		queries: []string{"website", ""},
    	},
    	{
    		api:     "logging",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"logging", ""},
    	},
    	{
    		api:     "accelerate",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"accelerate", ""},
    	},
    	{
    		api:     "requestPayment",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	return signature, nil
    }
    
    // Returns new HTTP request object.
    func newTestStreamingRequest(method, urlStr string, dataLength, chunkSize int64, body io.ReadSeeker) (*http.Request, error) {
    	if method == "" {
    		method = http.MethodPost
    	}
    
    	req, err := http.NewRequest(method, urlStr, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	if body == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        }
    
        @Test
        @DisplayName("Interface declares no methods or fields")
        void testNoMembers() {
            // Assert
            assertEquals(0, SessionSetupHandler.class.getDeclaredMethods().length, "No methods expected");
            assertEquals(0, SessionSetupHandler.class.getDeclaredFields().length, "No fields expected");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/cors.md

    * Specific HTTP methods (`POST`, `PUT`) or all of them with the wildcard `"*"`.
    * Specific HTTP headers or all of them with the wildcard `"*"`.
    
    {* ../../docs_src/cors/tutorial001.py hl[2,6:11,13:19] *}
    
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        }
    
        @Test
        @DisplayName("Test Response interface methods - received")
        void testReceived() {
            // Given
            doNothing().when(response).received();
    
            // When
            response.received();
    
            // Then
            verify(response).received();
        }
    
        @Test
        @DisplayName("Test Response interface methods - clearReceived")
        void testClearReceived() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeImplTest.java

            });
        }
    
        // Test case for acquire and release methods
        @Test
        void testAcquireAndRelease() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            tree.acquire();
            tree.release();
        }
    
        // Test case for isConnected method
        @Test
        void testIsConnected() throws CIFSException, IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. README.md

    }
    ```
    
    ## 🏗️ Architecture & Design Patterns
    
    ### Core Design Principles
    CoreLib follows a **utility-class pattern** where most functionality is exposed through static methods:
    
    - **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()`
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top