Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1481 - 1490 of 5,228 for avoid (0.02 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

        private TransWaitNamedPipeResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new TransWaitNamedPipeResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize TransWaitNamedPipeResponse")
        void testConstructor() {
            // Assert
            assertNotNull(response);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        return ImmutableSet.copyOf(elements);
      }
    
      public void testCreation_allDuplicates() {
        ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a"));
        assertTrue(set instanceof SingletonImmutableSet);
        assertEquals(Lists.newArrayList("a"), new ArrayList<>(set));
      }
    
      public void testCreation_oneDuplicate() {
        // now we'll get the varargs overload
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        @Test
        public void test_add_withNullMimetype() {
            fileTypeHelper.add(null, "test");
            assertEquals("test", fileTypeHelper.get(null));
        }
    
        @Test
        public void test_add_withEmptyMimetype() {
            fileTypeHelper.add("", "empty");
            assertEquals("empty", fileTypeHelper.get(""));
        }
    
        @Test
        public void test_add_withNullFiletype() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/ResourcesTest.java

        suite.addTestSuite(ResourcesTest.class);
        return suite;
      }
    
      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toString(resource, UTF_8)).isEqualTo(I18N);
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

      private static final Object OBJECT = new Object();
    
      public void testNewReference() throws Exception {
        assertThat(Atomics.newReference().get()).isNull();
      }
    
      public void testNewReference_withInitialValue() throws Exception {
        assertThat(Atomics.newReference(null).get()).isNull();
        assertEquals(OBJECT, Atomics.newReference(OBJECT).get());
      }
    
      public void testNewReferenceArray_withLength() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/SetViewTest.java

      public void testSymmetricDifference_isView() {
        Set<Integer> set1 = newHashSet(1, 2);
        Set<Integer> set2 = newHashSet(2, 3);
        Set<Integer> difference = symmetricDifference(set1, set2);
        assertThat(difference).containsExactly(1, 3);
        set1.add(0);
        assertThat(difference).containsExactly(0, 1, 3);
        set2.remove(2);
        assertThat(difference).containsExactly(0, 1, 2, 3);
      }
    
      public void testImmutableCopy_empty() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                    Duration.ofMinutes(1) // cleanup interval
            );
        }
    
        @AfterEach
        public void tearDown() {
            if (rateLimiter != null) {
                rateLimiter.close();
            }
        }
    
        @Test
        public void testNormalAuthentication() throws Exception {
            // Normal authentication should be allowed
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

      private static final String E21 = "2-1";
      private static final String E13 = "1-3";
      private static final String E44 = "4-4";
    
      // Test for EndpointPair class
    
      @Test
      public void testOrderedEndpointPair() {
        EndpointPair<String> ordered = EndpointPair.ordered("source", "target");
        assertThat(ordered.isOrdered()).isTrue();
        assertThat(ordered).containsExactly("source", "target").inOrder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/graph/EndpointPairTest.java

      private static final String E21 = "2-1";
      private static final String E13 = "1-3";
      private static final String E44 = "4-4";
    
      // Test for EndpointPair class
    
      @Test
      public void testOrderedEndpointPair() {
        EndpointPair<String> ordered = EndpointPair.ordered("source", "target");
        assertThat(ordered.isOrdered()).isTrue();
        assertThat(ordered).containsExactly("source", "target").inOrder();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class SmbTreeTest {
    
        @Mock
        private SmbSession session;
    
        @Mock
        private SmbTransport transport;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Setup transport fields that are accessed directly
            transport.tconHostName = "testHost";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top