Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 129 for is_false (0.23 seconds)

  1. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    @GwtCompatible
    @NullUnmarked
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
        assertThat(Primitives.isWrapperType(void.class)).isFalse();
      }
    
      public void testWrap() {
        assertThat(Primitives.wrap(int.class)).isEqualTo(Integer.class);
        assertThat(Primitives.wrap(Integer.class)).isEqualTo(Integer.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        ListenableFuture<?> statusFuture = closingFuture.statusFuture();
        waiter.awaitStarted();
        assertThat(statusFuture.isDone()).isFalse();
        waiter.awaitReturned();
        assertThat(getUninterruptibly(statusFuture)).isNull();
      }
    
      public void testStatusFuture_failure() throws Exception {
        ClosingFuture<String> closingFuture =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          }
        }.start();
    
        computationStarted.await();
        cache.invalidate(getKey);
        cache.invalidate(refreshKey);
        assertThat(map.containsKey(getKey)).isFalse();
        assertThat(map.containsKey(refreshKey)).isFalse();
    
        // let computation complete
        letGetFinishSignal.countDown();
        getFinishedSignal.await();
        checkNothingLogged();
    
        // results should be visible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThat(ImmutableIntArray.of().isEmpty()).isTrue();
        assertThat(ImmutableIntArray.of(0).isEmpty()).isFalse();
        assertThat(ImmutableIntArray.of(0, 1, 3).isEmpty()).isFalse();
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue();
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse();
      }
    
      public void testGet_good() {
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        fakePool.execute(() -> Thread.currentThread().interrupt());
        // Run a task that expects that it is not interrupted while it is running.
        e.execute(() -> assertThat(Thread.currentThread().isInterrupted()).isFalse());
    
        // Run these together.
        fakePool.runAll();
    
        // Check that this thread has been marked as interrupted again now that the thread has been
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        assertWithMessage("%s is subtype of %s", paramType, returnType)
            .that(TypeToken.of(paramType).isSubtypeOf(returnType))
            .isFalse();
        assertWithMessage("%s is supertype of %s", returnType, paramType)
            .that(TypeToken.of(returnType).isSupertypeOf(paramType))
            .isFalse();
        if (!spec.suppressGetSubtype()) {
          try {
            assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType()))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_background_tasks/test_tutorial002.py

        client = TestClient(mod.app)
        return client
    
    
    @workdir_lock
    def test(client: TestClient):
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***?q=some-query")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 968 bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertThat(MoreFiles.equal(fooPath, barPath)).isFalse();
          assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue();
          assertThat(MoreFiles.asByteSource(fooPath).contentEquals(MoreFiles.asByteSource(fooPath)))
              .isTrue();
    
          Path fooCopy = Files.copy(fooPath, fs.getPath("fooCopy"));
          assertThat(Files.isSameFile(fooPath, fooCopy)).isFalse();
          assertThat(MoreFiles.equal(fooPath, fooCopy)).isTrue();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/CharsTest.java

          }
        }
      }
    
      public void testContains() {
        assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();
        assertThat(Chars.contains(ARRAY1, (char) 2)).isFalse();
        assertThat(Chars.contains(ARRAY234, (char) 1)).isFalse();
        assertThat(Chars.contains(new char[] {(char) -1}, (char) -1)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 2)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/CharsTest.java

          }
        }
      }
    
      public void testContains() {
        assertThat(Chars.contains(EMPTY, (char) 1)).isFalse();
        assertThat(Chars.contains(ARRAY1, (char) 2)).isFalse();
        assertThat(Chars.contains(ARRAY234, (char) 1)).isFalse();
        assertThat(Chars.contains(new char[] {(char) -1}, (char) -1)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 2)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
Back to Top