Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 156 for EmptyList (0.07 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

      }
    
      @SuppressWarnings("EmptyList") // We specifically want to test emptyList()
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

      }
    
      @SuppressWarnings("EmptyList") // We specifically want to test emptyList()
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithStaticImport.java

     * limitations under the License.
     */
    
    package org.gradle.test;
    
    import static java.util.Collections.emptyList;
    
    import java.util.List;
    
    public class JavaClassWithStaticImport {
        List<String> getProperty() { return emptyList(); }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 813 bytes
    - Click Count (0)
  4. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
            Platform.get().log("Loading cookies failed for " + url.resolve("/...")!!, WARN, e)
            return emptyList()
          }
    
        var cookies: MutableList<Cookie>? = null
        for ((key, value) in cookieHeaders) {
          if (("Cookie".equals(key, ignoreCase = true) || "Cookie2".equals(key, ignoreCase = true)) &&
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

        ArrayList<Integer> list = Lists.newArrayList();
        assertEquals(emptyList(), list);
      }
    
      public void testNewArrayListWithCapacity() {
        ArrayList<Integer> list = Lists.newArrayListWithCapacity(0);
        assertEquals(emptyList(), list);
    
        ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256);
        assertEquals(emptyList(), bigger);
      }
    
      public void testNewArrayListWithCapacity_negative() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.4K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllEmptyCollectionOnAbsentKey() {
        assertFalse(multimap().putAll(k3(), Collections.emptyList()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertThrows(IllegalArgumentException.class, () -> Iterables.limit(list, -1));
      }
    
      public void testIsEmpty() {
        Iterable<String> emptyList = emptyList();
        assertTrue(Iterables.isEmpty(emptyList));
    
        Iterable<String> singletonList = singletonList("foo");
        assertFalse(Iterables.isEmpty(singletonList));
      }
    
      public void testSkip_simple() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 45.6K bytes
    - Click Count (0)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts

            gradleInstallationForTest.daemonRegistry.get().asFile
        )
        else -> emptyList()
    }
    
    fun Task.attachedReportLocations() = when (this) {
        is JapicmpTask -> listOf(richReport.get().destinationDir.get().asFile.resolve(richReport.get().reportName.get()))
        is PerformanceTest -> listOf(reportDir.parentFile)
        else -> emptyList()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java

      }
    
      @SuppressWarnings("EmptyList") // ImmutableList doesn't support nullable element types
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesWithEmpty() {
        int size = multimap().size();
        List<V> oldValues = new ArrayList<>(multimap().get(k0()));
        List<V> values = emptyList();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        val specificBuilds: List<SpecificBuild> = emptyList(),
        val functionalTests: List<TestCoverage> = emptyList(),
        val docsTests: List<DocsTestCoverage> = emptyList(),
        val performanceTests: List<PerformanceTestCoverage> = emptyList(),
        val performanceTestPartialTriggers: List<PerformanceTestPartialTrigger> = emptyList(),
        val flameGraphs: List<FlameGraphGeneration> = emptyList(),
        val trigger: Trigger = Trigger.NEVER,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 13:00:26 GMT 2025
    - 27.5K bytes
    - Click Count (0)
Back to Top