Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 4,771 for Same (0.03 seconds)

  1. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        // Test simple escape of '&'.
        assertEquals("foo&bar", htmlEscaper().escape("foo&bar"));
    
        // If the string contains no escapes, it should return the arg.
        // Note: assert<b>Same</b> for this implementation.
        String s = "blah blah farhvergnugen";
        assertSame(s, htmlEscaper().escape(s));
    
        // Tests escapes at begin and end of string.
        assertEquals("&lt;p&gt;", htmlEscaper().escape("<p>"));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 22:03:28 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

                final int index = i;
                threads[i] = new Thread(() -> {
                    for (int j = 0; j < 100; j++) {
                        String name = "file" + index + "_" + j + ".txt";
                        entry.updateChild(name, j * 100L, j * 1000L, false, 0x20, j * 500L, j * 800L);
                    }
                });
                threads[i].start();
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                    scenario("Project selected with different selector resolves to same project")
                            .activeRequiredProjects(GROUP_ID + ":" + MODULE_A)
                            .inactiveRequiredProjects(MODULE_A)
                            .expectResult(MavenExecutionException.class, "empty reactor"),
                    scenario("Selected and excluded same project, but also selected another project")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                        // Not a server root -> invalid list operation
                        Arguments.of("smb://server/share/", "/share/", false));
            }
    
            @ParameterizedTest(name = "invalid path: {0}")
            @MethodSource("invalidShareEnumCases")
            void doShareEnum_invalidPath_throws(String url, String pathSuffix, boolean expectDirSlashMsg) throws Exception {
                // Arrange
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  5. internal/config/config_test.go

    	}
    }
    
    func TestValidRegion(t *testing.T) {
    	tests := []struct {
    		name    string
    		success bool
    	}{
    		{name: "us-east-1", success: true},
    		{name: "us_east", success: true},
    		{name: "helloWorld", success: true},
    		{name: "-fdslka", success: false},
    		{name: "^00[", success: false},
    		{name: "my region", success: false},
    		{name: "%%$#!", success: false},
    	}
    
    	for _, test := range tests {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // The getEntries method returns FileEntry objects. We can check their names.
            assertEquals("\\domain\share1", entries[0].getName(), "The name of the first share should be correct.");
            assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct.");
        }
    
        /**
         * Test the getEntries() method when the DfsEnumArray200 is empty.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

                fail("Should throw IllegalStateException for null component name");
            } catch (IllegalStateException e) {
                assertTrue(e.getMessage().contains("componentName"));
            } catch (Exception e) {
                fail("Expected IllegalStateException but got: " + e.getClass().getName());
            }
        }
    
        /**
         * Test creation with invalid component name throws exception
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 13:07:01 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

       * the members of the element set of {@code multiset2} that are not contained in {@code
       * multiset1}, with repeated occurrences of the same element appearing consecutively.
       *
       * <p>Results are undefined if {@code multiset1} and {@code multiset2} are based on different
       * equivalence relations (as {@code HashMultiset} and {@code TreeMultiset} are).
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/Multisets.java

       * the members of the element set of {@code multiset2} that are not contained in {@code
       * multiset1}, with repeated occurrences of the same element appearing consecutively.
       *
       * <p>Results are undefined if {@code multiset1} and {@code multiset2} are based on different
       * equivalence relations (as {@code HashMultiset} and {@code TreeMultiset} are).
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/api/di/Qualifier.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Meta-annotation that marks other annotations as qualifier annotations.
     * <p>
     * Qualifiers are used to distinguish between multiple beans of the same type,
     * allowing for more precise control over which implementation should be injected.
     * Custom qualifier annotations should be annotated with {@code @Qualifier}.
     * <p>
     * Example of creating a custom qualifier:
     * <pre>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top