Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 2,321 for methods (0.04 sec)

  1. src/test/java/jcifs/util/transport/RequestTest.java

            // Test case for getCreditCost method
            int expectedCreditCost = 10;
            when(mockRequest.getCreditCost()).thenReturn(expectedCreditCost);
    
            int actualCreditCost = mockRequest.getCreditCost();
    
            assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value.");
            verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        }
    
        @Test
        @DisplayName("Test setFlags method")
        void testSetFlags() {
            setupMockConfig();
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
    
            request.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
    
            assertNotNull(request);
        }
    
        @Test
        @DisplayName("Test setMaxInputResponse method")
        void testSetMaxInputResponse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers_test.go

    	testCases := []struct {
    		method     string
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// Sent body
    		body []byte
    		// Expected response
    		expectedRespStatus int
    		lifecycleResponse  []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// GET empty credentials
    		{
    			method: http.MethodGet, bucketName: bucketName,
    			accessKey:          "",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

        return new OpenJdk6QueueTests().allTests();
      }
    
      private static final List<Method> PQ_SUPPRESS = asList(getCreateWithNullUnsupportedMethod());
    
      @Override
      protected Collection<Method> suppressForPriorityBlockingQueue() {
        return PQ_SUPPRESS;
      }
    
      @Override
      protected Collection<Method> suppressForPriorityQueue() {
        return PQ_SUPPRESS;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java

        /**
         * Test method for
         * {@link org.codelibs.core.collection.EmptyIterator#EmptyIterator()}.
         */
        @Test
        public void testEmptyIterator() {
            final EmptyIterator<String> emptyIterator = new EmptyIterator<String>();
            assertThat(emptyIterator, is(notNullValue()));
        }
    
        /**
         * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/GenericsUtil.java

        /**
         * Returns the generic type of the specified method for the given index.
         *
         * @param method the method to analyze
         * @param index the index of the generic type
         * @return the generic type class, or null if not found
         */
        public static Type getGenericParameter(final java.lang.reflect.Method method, final int index) {
            return getGenericParameter(method.getGenericReturnType(), index);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getListIteratorFullyModifiableMethod() {
        return getMethod(ListListIteratorTester.class, "testListIterator_fullyModifiable");
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testListIterator_unmodifiable()} so that it can
       * be suppressed in GWT tests.
       */
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForTreeSetNatural() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForTreeSetWithComparator() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForCopyOnWriteArraySet() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForUnmodifiableSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

        }
    
        // Test query() method
        public void test_query() {
            QueryBuilder queryBuilder = QueryBuilders.matchAllQuery();
            UpdateLabelJob returnedJob = updateLabelJob.query(queryBuilder);
    
            assertSame(updateLabelJob, returnedJob); // Method chaining
            assertEquals(queryBuilder, updateLabelJob.queryBuilder);
        }
    
        // Test query() method with null
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.10.md

    ### Auth
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 341.8K bytes
    - Viewed (0)
Back to top