Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,317 for method (0.04 sec)

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

        for (Method method : getInstanceMethodsToTest(instance.getClass(), minimalVisibility)) {
          testMethod(instance, method);
        }
      }
    
      ImmutableList<Method> getInstanceMethodsToTest(Class<?> c, Visibility minimalVisibility) {
        ImmutableList.Builder<Method> builder = ImmutableList.builder();
        for (Method method : minimalVisibility.getInstanceMethods(c)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

         * Test of writeBytesWireFormat method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testWriteBytesWireFormat() {
            byte[] dst = new byte[10];
            int dstIndex = 0;
            // This method does nothing and should return 0.
            assertEquals(0, response.writeBytesWireFormat(dst, dstIndex));
        }
    
        /**
         * Test of readParameterWordsWireFormat method, of class SmbComQueryInformationResponse.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java

    import java.lang.reflect.Method;
    
    /**
     * Signals that a method could not be made accessible.
     */
    public class BeanMethodSetAccessibleFailureException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The target class.
         */
        protected final Class<?> targetClass;
    
        /**
         * The target method.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

            ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}.
         * Verifies that the method returns the name of the principal.
         */
        @Test
        void testGetRemoteUser() {
            // Arrange: Define the expected user name from the principal
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}, no test is performed.
       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CurlHelper.java

            return request(Method.DELETE, path).header("Content-Type", "application/json");
        }
    
        /**
         * Creates a request with the specified HTTP method and path.
         * @param method the HTTP method
         * @param path the request path
         * @return the configured CurlRequest
         */
        public CurlRequest request(final Method method, final String path) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/NetbiosNameTest.java

            } catch (NoSuchMethodException e) {
                fail("Method not found: " + e.getMessage());
            }
        }
    
        @Test
        @DisplayName("Should handle getName() method")
        void testGetName() {
            // Given
            String testName = "TESTSERVER";
            when(mockNetbiosName.getName()).thenReturn(testName);
    
            // When
            String name = mockNetbiosName.getName();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/lang/MethodUtil.java

            assertArgumentNotNull("method", method);
    
            return method != null && method.getName().equals("hashCode") && method.getReturnType() == int.class
                    && method.getParameterTypes().length == 0;
        }
    
        /**
         * Returns whether the method is the {@literal toString()} method.
         *
         * @param method
         *            The method. Cannot be {@literal null}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

            // When
            ndrObject.encode(mockBuffer);
    
            // Then
            // Verify that our mock buffer had the expected method called.
            verify(mockBuffer).enc_ndr_long(123);
        }
    
        /**
         * Test case for the decode method.
         * Verifies that the decode method of a concrete implementation is called
         * and interacts with the NdrBuffer as expected.
         * @throws NdrException if decoding fails.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top