Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for singletonList (0.73 sec)

  1. src/test/java/org/codelibs/fess/suggest/settings/ElevateWordSettingsTest.java

                    new ElevateWord("a", 1.0f, Collections.singletonList("a"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord2 =
                    new ElevateWord("b", 0.0f, Collections.singletonList("b"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord3 = new ElevateWord("c", 100.0f, Collections.singletonList("c"), Collections.singletonList("content"),
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

            Exclusion exclusion = new Exclusion();
            exclusion.setGroupId("org.apache.maven");
            exclusion.setArtifactId("maven-core");
            ExclusionArtifactFilter filter = new ExclusionArtifactFilter(Collections.singletonList(exclusion));
    
            assertFalse(filter.include(artifact), "Artifact should be excluded by exact match");
        }
    
        @Test
        void testExcludeNoMatch() {
            Exclusion exclusion = new Exclusion();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

            final MavenProject child = createMavenProject("maven-core-child");
            mavenProject.setCollectedProjects(Collections.singletonList(child));
            final List<MavenProject> listOfProjects = Collections.singletonList(mavenProject);
    
            final Set<MavenProject> requiredProjectsBySelectors =
                    sut.getRequiredProjectsBySelectors(mavenExecutionRequest, listOfProjects, selectors);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            // multi projects build entry point
            List<ProjectBuildingResult> results = getContainer()
                    .lookup(org.apache.maven.project.ProjectBuilder.class)
                    .build(Collections.singletonList(pomFile), false, configuration);
            assertEquals(1, results.size());
            MavenProject mavenProject = results.get(0).getProject();
            assertEquals(1, mavenProject.getArtifacts().size());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            ElevateWord elevateWord1 =
                    new ElevateWord("test1", 2.0f, Collections.singletonList("test1"), Collections.singletonList("content"), null, null);
            ElevateWord elevateWord2 =
                    new ElevateWord("test2", 3.0f, Collections.singletonList("test2"), Collections.singletonList("content"), null, null);
    
            suggester.settings().elevateWord().add(elevateWord1);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

                    .thenReturn(Collections.singletonList(mockAuthData1));
            mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(2), eq(new byte[] { 0x02 }), any(Map.class)))
                    .thenReturn(Collections.singletonList(mockAuthData2));
    
            // Construct a token with two authorization entries
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            when(mockConnection.getInstanceFollowRedirects()).thenReturn(true);
    
            Map<String, List<String>> properties = new HashMap<>();
            properties.put("Accept", Collections.singletonList("application/json"));
            when(mockConnection.getRequestProperties()).thenReturn(properties);
            // Need to mock getRequestProperty as well since it delegates to wrapped connection
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            Dependency dep = createDependency("group", "artifact", "1.0");
    
            plugin.addDependency(dep);
    
            build.addPlugin(plugin);
    
            new ProjectSorter(Collections.singletonList(project));
        }
    
        @Test
        void testShouldNotFailWhenManagedPluginDepReferencesCurrentProject() throws Exception {
            MavenProject project = createProject("group", "artifact", "1.0");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return singletonList(elements[0]);
                  }
                })
            .named("singletonList")
            .withFeatures(
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ONE)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return singletonList(elements[0]);
                  }
                })
            .named("singletonList")
            .withFeatures(
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionSize.ONE)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top