Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of 5,228 for avoid (0.02 seconds)

  1. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

        }
    
        @Test
        public void test_constructor_withNullCause() {
            // Test constructor with null cause
            final JobProcessingException exception = new JobProcessingException((Throwable) null);
    
            assertNotNull(exception);
            assertNull(exception.getCause());
            assertNull(exception.getMessage());
        }
    
        @Test
        public void test_constructor_withNullMessageAndCause() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(toString).contains("valueD");
      }
    
      @Test
      public void incidentEdgeOrder_unordered() {
        graph = ValueGraphBuilder.directed().incidentEdgeOrder(ElementOrder.unordered()).build();
        assertThat(graph.incidentEdgeOrder()).isEqualTo(ElementOrder.unordered());
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 20.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

        @Test
        public void test_webFileRulePattern_xhtmlXml() {
            // Test that application/xhtml+xml is correctly matched
            Pattern pattern = Pattern.compile(WEB_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("application/xhtml+xml").matches());
        }
    
        @Test
        public void test_webFileRulePattern_rdfXml() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        private TransCallNamedPipeResponse response;
        private byte[] outputBuffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            outputBuffer = new byte[1024];
            response = new TransCallNamedPipeResponse(mockConfig, outputBuffer);
        }
    
        @Test
        void testConstructor() {
            assertNotNull(response);
            // Verify that the outputBuffer is stored properly
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

        }
    
        @Test
        public void test_load_emptyList() {
            mockBhv.setTestData(new ArrayList<>());
    
            int count = relatedContentHelper.load();
            assertEquals(0, count);
    
            String[] results = relatedContentHelper.getRelatedContents("anyterm");
            assertEquals(0, results.length);
        }
    
        @Test
        public void test_load_simpleTerms() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

            };
        assertFailure(tester);
      }
    
      public void testUnknownOrder() {
        new IteratorTester<Integer>(
            3, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.UNKNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            return newArrayList(2, 1).iterator();
          }
        }.test();
      }
    
      public void testUnknownOrderUnrecognizedElement() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/net/InetAddressesTest.java

      }
    
      public void testCoerceToInteger() {
        assertThat(InetAddresses.coerceToInteger(InetAddresses.forString("127.0.0.1")))
            .isEqualTo(0x7f000001);
      }
    
      public void testFromInteger() {
        assertThat(InetAddresses.fromInteger(0x7f000001))
            .isEqualTo(InetAddresses.forString("127.0.0.1"));
      }
    
      public void testFromLittleEndianByteArray() throws UnknownHostException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java

        }
    
        @Test
        public void test_convertCrawlingPath_https_protocol() {
            assertEquals("https://example.com", wizardAction.convertCrawlingPath("https://example.com"));
            assertEquals("https://secure.example.com/path", wizardAction.convertCrawlingPath("https://secure.example.com/path"));
        }
    
        @Test
        public void test_convertCrawlingPath_smb_protocol() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/util/InputValidatorTest.java

        @DisplayName("Test invalid buffer size validation")
        void testInvalidBufferSize() {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test"));
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(1001, 1000, "test"));
        }
    
        @Test
        @DisplayName("Test SMB2 buffer size validation")
        void testSmb2BufferSize() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/StringsTest.java

     */
    @NullMarked
    @GwtCompatible
    public class StringsTest extends TestCase {
      public void testNullToEmpty() {
        assertThat(Strings.nullToEmpty(null)).isEqualTo("");
        assertThat(Strings.nullToEmpty("")).isEqualTo("");
        assertThat(Strings.nullToEmpty("a")).isEqualTo("a");
      }
    
      public void testEmptyToNull() {
        assertThat(Strings.emptyToNull(null)).isNull();
        assertThat(Strings.emptyToNull("")).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top