Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 838 for useEmpty (0.17 sec)

  1. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(EmptyTest.class))).isEmpty();
        assertThat(findClassesToTest(ImmutableList.of(EmptyTests.class))).isEmpty();
        assertThat(findClassesToTest(ImmutableList.of(EmptyTestCase.class))).isEmpty();
        assertThat(findClassesToTest(ImmutableList.of(EmptyTestSuite.class))).isEmpty();
      }
    
      public void testFindClassesToTest_noCorrespondingTestClass() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        entryIterator.next();
        entryIterator.remove();
        assertFalse(underlying.containsKey("g"));
    
        assertTrue(underlying.isEmpty());
        assertTrue(map.isEmpty());
        assertTrue(keys.isEmpty());
        assertTrue(values.isEmpty());
        assertTrue(entries.isEmpty());
      }
    
      public void testTransformEquals() {
        Map<String, Integer> underlying = ImmutableMap.of("a", 0, "b", 1, "c", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/FilteredEntryMultimap.java

          Entry<K, Collection<V>> entry = entryIterator.next();
          K key = entry.getKey();
          Collection<V> collection = filterCollection(entry.getValue(), new ValuePredicate(key));
          if (!collection.isEmpty()
              && predicate.apply(Maps.<K, Collection<V>>immutableEntry(key, collection))) {
            if (collection.size() == entry.getValue().size()) {
              entryIterator.remove();
            } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertEquals(OPEN, range.lowerBoundType());
        assertTrue(range.hasUpperBound());
        assertEquals(8, (int) range.upperEndpoint());
        assertEquals(OPEN, range.upperBoundType());
        assertFalse(range.isEmpty());
        assertEquals("(4..8)", range.toString());
        reserializeAndAssert(range);
      }
    
      public void testOpen_invalid() {
        assertThrows(IllegalArgumentException.class, () -> Range.open(4, 3));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        redQueue.execute("task", 100.µs) {
          log += "run@${taskFaker.nanoTime}"
        }
    
        taskFaker.advanceUntil(0.µs)
        assertThat(log).isEmpty()
    
        redQueue.cancelAll()
    
        taskFaker.advanceUntil(99.µs)
        assertThat(log).isEmpty()
    
        taskFaker.assertNoMoreTasks()
    
        assertThat(testLogHandler.takeAll()).containsExactly(
          "FINE: Q10000 scheduled after 100 µs: task",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        val errors: List<ReportMessage>,
        val warnings: List<ReportMessage>,
        val information: List<ReportMessage>,
        val accepted: List<ReportMessage>
    ) {
    
        val isEmpty: Boolean
            get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty()
    
        fun toText() =
            StringBuilder("Binary compatibility\n").apply {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSourceTester.java

        if (expectedLines.isEmpty()) {
          assertNull(source.readFirstLine());
        } else {
          assertEquals(expectedLines.get(0), source.readFirstLine());
        }
      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          MutableNetwork<Integer, Object> network =
              networkBuilder.allowsParallelEdges(true).allowsSelfLoops(true).build();
    
          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty();
          AbstractNetworkTest.validateNetwork(network);
    
          while (network.nodes().size() < NUM_NODES) {
            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/GraphMutationTest.java

        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build();
    
          assertThat(graph.nodes()).isEmpty();
          assertThat(graph.edges()).isEmpty();
          AbstractGraphTest.validateGraph(graph);
    
          while (graph.nodes().size() < NUM_NODES) {
            graph.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        public static String decodePath(final String id) {
            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getPath()) && StringUtil.isEmpty(pi.getName())) {
                return StringUtil.EMPTY;
            }
            if (StringUtil.isEmpty(pi.getPath())) {
                return pi.getName();
            }
            return pi.getPath() + "/" + pi.getName();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top