Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,345 for methods (0.07 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. guava/src/com/google/common/collect/ForwardingMapEntry.java

    /**
     * A map entry which forwards all its method calls to another map entry. Subclasses should override
     * one or more methods to modify the behavior of the backing map entry as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
      private static void addTests(TestSuite suite, Method method) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top