Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2011 - 2020 of 7,682 for within (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

        assertTrue(
            "multiset doesn't equal a multiset with the same elements",
            getMultiset().equals(HashMultiset.create(getSampleElements())));
      }
    
      public void testEquals_differentSize() {
        Multiset<E> other = HashMultiset.create(getSampleElements());
        other.add(e0());
        assertFalse("multiset equals a multiset with a different size", getMultiset().equals(other));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

        @MethodSource("intErrorCodes")
        @DisplayName("int ctor: sets message and NT status as expected")
        void intConstructor_populatesMessageAndStatus(int errCode, int expectedStatus) {
            // Arrange & Act: create exception with error code
            SmbAuthException ex = new SmbAuthException(errCode);
    
            // Assert: type, message derived from code, status mapping, and no cause
            assertNotNull(ex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      /**
       * Creates a {@code MonitorBasedPriorityBlockingQueue} with the default initial capacity (11) that
       * orders its elements according to their {@linkplain Comparable natural ordering}.
       */
      public MonitorBasedPriorityBlockingQueue() {
        q = new PriorityQueue<E>();
      }
    
      /**
       * Creates a {@code MonitorBasedPriorityBlockingQueue} with the specified initial capacity that
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAll_unsupportedNonePresent()} so that
       * tests can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we
       * figure out what to do with <a
       * href="https://github.com/openjdk/jdk/blob/c25c4896ad9ef031e3cddec493aef66ff87c48a7/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java#L4830">{@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

        }
    
        /**
         * Test hasRule with existing rule
         */
        public void test_hasRule_existing() {
            TestRule rule = new TestRule("rule1", true);
    
            ruleManager.addRule(rule);
    
            assertTrue(ruleManager.hasRule(rule));
        }
    
        /**
         * Test hasRule with non-existing rule
         */
        public void test_hasRule_nonExisting() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

        }
    
        /**
         * Test resource cleanup behavior
         */
        @Test
        @Timeout(5)
        public void testResourceCleanup() throws Exception {
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Session starts with usage count > 0, so acquire/release cycles maintain usage
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        }
    
        @ParameterizedTest(name = "send with single param: {0}")
        @EnumSource(RequestParam.class)
        @DisplayName("send handles each RequestParam enum constant")
        void send_eachRequestParam_isAccepted(RequestParam param) throws Exception {
            // Arrange: stub per-call return to ensure interaction with the exact enum
            when(tree.send(eq(request), eq(param))).thenReturn(response);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HexdumpTest.java

            // When/Then
            assertThrows(NullPointerException.class, () -> {
                Hexdump.toHexString(null);
            });
        }
    
        @Test
        @DisplayName("Should convert byte array to hex string with offset and length")
        void testHexdumpWithOffset() {
            // Given
            byte[] data = createTestData(32);
    
            // When
            String result = Hexdump.toHexString(data, 0, data.length);
    
            // Then
    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. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/PerLookupWagon.java

     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
     *   http://www.apache.org/licenses/LICENSE-2.0
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top