Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 1,590 for EXAMPLE (0.16 seconds)

  1. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt

            .writeUtf8("square.com\n")
            .readByteString()
    
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("example.com"))
          .isEqualTo("example.com")
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("foo.example.com"))
          .isEqualTo("example.com")
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("foo.bar.square.com"))
          .isEqualTo("bar.square.com")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java

        @Test
        public void test_convertCrawlingPath_http_protocol() {
            assertEquals("http://example.com", wizardAction.convertCrawlingPath("http://example.com"));
            assertEquals("http://example.com/path", wizardAction.convertCrawlingPath("http://example.com/path"));
            assertEquals("http://localhost:8080/app", wizardAction.convertCrawlingPath("http://localhost:8080/app"));
        }
    
        @Test
    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)
  3. src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java

            host1.setRegularName("www.example.com");
            host1.setDuplicateHostName("example.com");
            helper.duplicateHostList.add(host1);
    
            DuplicateHost host2 = new DuplicateHost();
            host2.setRegularName("secure.example.com");
            host2.setDuplicateHostName("www.example.com");
            helper.duplicateHostList.add(host2);
    
            String url = "http://example.com/test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/TreeMultiset.java

       * {@code ClassCastException} for any elements {@code e1} and {@code e2} in the multiset. If the
       * user attempts to add an element to the multiset that violates this constraint (for example, the
       * user attempts to add a string element to a set whose elements are integers), the {@code
       * add(Object)} call will throw a {@code ClassCastException}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

        }
    
        // Test with different origin formats
        @Test
        public void test_doFilter_differentOrigins() throws Exception {
            String[] origins = { "http://localhost:8080", "https://example.com", "http://subdomain.example.com", "https://example.com:3000" };
    
            for (String origin : origins) {
                resetMocks(); // Reset for each test
                mockRequest.setHeader("Origin", origin);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * semantics of builder can be arbitrarily complex. Still, a factory class can be created in the
       * test to facilitate equality testing. For example:
       *
       * <pre>
       * public class FooTest {
       *
       *   private static final class FooFactoryForTest {
       *     public static Foo create(String a, String b, int c, boolean d) {
       *       return Foo.builder()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                referralData.fixupDomain("example.com");
    
                assertEquals("SERVER.example.com", referralData.getServer());
            }
    
            @Test
            @DisplayName("Should not fixup domain for qualified name")
            void testFixupDomainWithQualifiedName() {
                setupReferralWithServer("server.example.com");
    
                referralData.fixupDomain("otherdomain.com");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  8. docs_src/metadata/tutorial001_1_py310.py

        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
        terms_of_service="http://example.com/terms/",
        contact={
            "name": "Deadpoolio the Amazing",
            "url": "http://x-force.example.com/contact/",
            "email": "dp@x-force.example.com",
        },
        license_info={
            "name": "Apache 2.0",
            "identifier": "Apache-2.0",
        },
    )
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 774 bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            }
        }
    
        // Test with different from addresses
        @Test
        public void test_differentFromAddresses() {
            String[] fromAddresses = { "noreply@example.com", "******@****.***", "******@****.***", "test.user@subdomain.example.com" };
    
            for (String from : fromAddresses) {
                ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

                svgDocMap.put("thumbnail", "http://example.com/image.svg");
                svgDocMap.put("mimetype", "image/svg+xml");
                assertTrue("SVG MIME type should be target", generator.isTarget(svgDocMap));
    
                // Test case 2: Different MIME type should not match
                Map<String, Object> pngDocMap = new HashMap<>();
                pngDocMap.put("thumbnail", "http://example.com/image.png");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
Back to Top