Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 2,321 for methods (0.04 sec)

  1. guava/src/com/google/common/collect/AbstractSetMultimap.java

       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return (Set<V>) super.get(key);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

        public void test_expiry_validValue() {
            long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days
            PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry);
    
            // Test method chaining
            assertSame(purgeThumbnailJob, result);
            // Test value was set
            assertEquals(newExpiry, purgeThumbnailJob.getExpiry());
        }
    
        // Test expiry setter with zero value (should not change)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

          @Require(absent = FOO)
          public void test() {}
        }
    
        Method method = Tester.class.getMethod("test");
        ConflictingRequirementsException e =
            assertThrows(ConflictingRequirementsException.class, () -> buildTesterRequirements(method));
        assertThat(e.getConflicts()).containsExactly(FOO);
        assertThat(e.getSource()).isEqualTo(method);
      }
    
      public void testBuildDeclaredTesterRequirements() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. cmd/utils_test.go

    	jsonReq := dumpRequest(req)
    	type jsonResult struct {
    		Method     string      `json:"method"`
    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}
    	res := jsonResult{}
    	if err = json.Unmarshal([]byte(strings.ReplaceAll(jsonReq, "%%", "%")), &res); err != nil {
    		t.Fatal(err)
    	}
    
    	// Look for expected method.
    	if res.Method != http.MethodGet {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertEquals(timestamp, avTimestamp.getTimestamp()); // Verify encoding and decoding
        }
    
        /**
         * Test getTimestamp method with a positive timestamp.
         */
        @Test
        public void testGetTimestampPositive() {
            long expectedTimestamp = 123456789012345L;
            byte[] rawBytes = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        // idx = 2 -> :method: GET
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.headerCount).isEqualTo(0)
        assertThat(hpackReader!!.dynamicTableByteCount).isEqualTo(0)
        assertThat(hpackReader!!.dynamicTable[readerHeaderTableLength() - 1]).isNull()
        assertThat(hpackReader!!.getAndResetHeaderList()).isEqualTo(
          headerEntries(":method", "GET"),
        )
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DfsReferralTest.java

        }
    
        /**
         * Test the toString method.
         */
        @Test
        void testToString() {
            // Create a mock DfsReferralData object
            DfsReferralData mockData = mock(DfsReferralData.class);
            String expectedToString = "Mock DfsReferralData";
    
            // Define the behavior of the mock's toString() method
            when(mockData.toString()).thenReturn(expectedToString);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

        }
    
        /**
         * Test valueOf method with valid values
         */
        public void test_valueOf_valid() {
            assertEquals(CrawlerStatus.INITIALIZING, CrawlerStatus.valueOf("INITIALIZING"));
            assertEquals(CrawlerStatus.RUNNING, CrawlerStatus.valueOf("RUNNING"));
            assertEquals(CrawlerStatus.DONE, CrawlerStatus.valueOf("DONE"));
        }
    
        /**
         * Test valueOf method with invalid values
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

    import java.lang.reflect.Field;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for SmbComWrite command - SMB write operations
     */
    public class SmbComWriteTest {
    
        /**
         * Helper method to get private field value using reflection
         */
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = SmbComWrite.class.getDeclaredField(fieldName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

        /**
         * Returns the unique name of this path type, including the module to patch if any.
         * For example, if this type is {@link JavaPathType#MODULES}, then this method returns {@code "MODULES"}.
         * But if this type was created by {@code JavaPathType.patchModule("foo.bar")}, then this method returns
         * {@code "PATCH_MODULE:foo.bar"}.
         *
         * @return the programmatic name together with the module name on which it applies
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Jan 07 12:02:00 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top