Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1601 - 1610 of 4,221 for Avoid (0.37 sec)

  1. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    @GwtIncompatible
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class FinalizableReferenceQueueTest {
    
      private @Nullable FinalizableReferenceQueue frq;
    
      @After
      public void tearDown() throws Exception {
        frq = null;
      }
    
      @Test
      public void testFinalizeReferentCalled() {
        MockReference reference = new MockReference(frq = new FinalizableReferenceQueue());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

     */
    @NullUnmarked
    public class Crc32cHashFunctionTest extends TestCase {
      public void testEmpty() {
        assertCrc(0, new byte[0]);
      }
    
      public void testZeros() {
        // Test 32 byte array of 0x00.
        byte[] zeros = new byte[32];
        assertCrc(0x8a9136aa, zeros);
      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

      public void testPeekingIteratorBehavesLikeIteratorOnThreeElementIterable() {
        actsLikeIteratorHelper(Lists.newArrayList("A", "B", "C"));
      }
    
      @GwtIncompatible // works but takes 5 minutes to run
      public void testPeekingIteratorAcceptsNullElements() {
        actsLikeIteratorHelper(Lists.<@Nullable String>newArrayList(null, "A", null));
      }
    
      public void testPeekOnEmptyList() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

    /**
     * @author shinsuke
     *
     */
    public class UrlFilterImplTest extends PlainTestCase {
        public UrlFilterImpl urlFilter;
    
        public MemoryDataHelper dataHelper;
    
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            StandardCrawlerContainer container = new StandardCrawlerContainer().singleton("dataHelper", MemoryDataHelper.class)//
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/Collections2Test.java

            .createTestSuite();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Collections2.class);
      }
    
      public void testOrderedPermutationSetEmpty() {
        List<Integer> list = new ArrayList<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

        }
      }
    
      public void testMergeNullFunction() {
        try {
          getMap().merge(k0(), v3(), null);
          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testMergeUnsupported() {
        assertThrows(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsPathMapping.java

            return convertEmptyToNull(createdBy);
        }
    
        public void setCreatedBy(String value) {
            registerModifiedProperty("createdBy");
            this.createdBy = value;
        }
    
        public Long getCreatedTime() {
            checkSpecifiedProperty("createdTime");
            return createdTime;
        }
    
        public void setCreatedTime(Long value) {
            registerModifiedProperty("createdTime");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/FileEntryTest.java

        void mock_noInteractions() {
            // Arrange/Act: do nothing
            // Assert: verify no interactions
            verifyNoInteractions(mockEntry);
        }
    
        // --- Fake implementation tests (happy path and edge cases) ---
    
        @Test
        @DisplayName("Fake implementation returns provided values (happy path)")
        void fakeImplementation_happyPath() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

        private Configuration config;
    
        @Mock
        private Address address;
    
        @Mock
        private Smb2NegotiateResponse negotiateResponse;
    
        private SmbTransportImpl transport;
    
        @BeforeEach
        void setUp() throws Exception {
            when(context.getConfig()).thenReturn(config);
            when(config.isSigningEnforced()).thenReturn(false);
            when(config.getSessionTimeout()).thenReturn(30_000);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

            void shouldSaveModificationsToDisk() {
                assertTrue(applyGoal.shouldSaveModifications(), "Apply goal should save modifications to disk");
            }
        }
    
        @Nested
        @DisplayName("Execution")
        class ExecutionTests {
    
            @Test
            @DisplayName("should log appropriate header message")
            void shouldLogAppropriateHeaderMessage() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 10:39:17 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top