Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 3,933 for avoid (0.12 sec)

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

      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutIfAbsent_supportedAbsent() {
        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

        @Test
        @DisplayName("constructor accepts null andx")
        void constructorWithNullAndx() {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            assertNotNull(msg, "Message must not be null after construction");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 5, -1, 10 })
        @DisplayName("writeParameterWordsWireFormat always returns 0")
        void writeParameterWordsWireFormatReturnsZero(int index) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

        }
    
        public void test_load_emptyList() {
            mockBhv.setTestData(new ArrayList<>());
    
            int count = relatedQueryHelper.load();
            assertEquals(0, count);
    
            String[] results = relatedQueryHelper.getRelatedQueries("anyterm");
            assertEquals(0, results.length);
        }
    
        public void test_load_singleTerm() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureKeyManagerTest.java

        private byte[] testKey;
    
        @BeforeEach
        public void setUp() {
            keyManager = new SecureKeyManager();
            testKey = new byte[16];
            new SecureRandom().nextBytes(testKey);
        }
    
        @AfterEach
        public void tearDown() {
            if (keyManager != null) {
                keyManager.close();
            }
        }
    
        @Test
        public void testStoreAndRetrieveKey() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_maximumWeightRepeated() {
        assertThrows(IllegalArgumentException.class, () -> parse("maximumWeight=10, maximumWeight=20"));
      }
    
      public void testParse_maximumSizeAndMaximumWeight() {
        assertThrows(IllegalArgumentException.class, () -> parse("maximumSize=10, maximumWeight=20"));
      }
    
      public void testParse_concurrencyLevel() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      // maximum size, size of initial contents, default capacity...
    
      private static void checkNatural(MinMaxPriorityQueue<Integer> queue) {
        assertSame(Ordering.natural(), queue.comparator());
      }
    
      private static void checkUnbounded(MinMaxPriorityQueue<Integer> queue) {
        assertEquals(Integer.MAX_VALUE, queue.maximumSize);
      }
    
      public void testHeapIntact() {
        Random random = new Random(0);
        int heapSize = 99;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            mockConfig = new BaseConfiguration(false);
            response = new NetShareEnumResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration")
        void testConstructor() {
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      @After
      public void validateUndirectedEdges() {
        for (Integer node : graph.nodes()) {
          new EqualsTester()
              .addEqualityGroup(
                  graph.predecessors(node), graph.successors(node), graph.adjacentNodes(node))
              .testEquals();
        }
      }
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

    import jcifs.internal.smb2.persistent.Smb2HandleCapabilities;
    
    /**
     * Test class for durable handle create context implementations
     */
    public class DurableHandleContextTest {
    
        @Test
        public void testDurableHandleRequest() {
            DurableHandleRequest request = new DurableHandleRequest();
    
            assertEquals("DHnQ", new String(request.getName()));
            assertTrue(request.size() > 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/bs/BsFailureUrlCB.java

            public void columnId() {
                doColumn("_id");
            }
    
            public void columnConfigId() {
                doColumn("configId");
            }
    
            public void columnErrorCount() {
                doColumn("errorCount");
            }
    
            public void columnErrorLog() {
                doColumn("errorLog");
            }
    
            public void columnErrorName() {
                doColumn("errorName");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top