Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 88 for isFalse (0.09 sec)

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

          try {
            assertThat(UnsignedLong.valueOf(value).longValue()).isEqualTo(value);
            assertThat(expectSuccess).isTrue();
          } catch (IllegalArgumentException e) {
            assertThat(expectSuccess).isFalse();
          }
        }
      }
    
    
      public void testValueOfBigInteger() {
        BigInteger min = BigInteger.ZERO;
        BigInteger max = UnsignedLong.MAX_VALUE.bigIntegerValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. 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();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        e.execute(
            new Runnable() {
              @Override
              public void run() {
                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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.cache2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.File
    import java.io.IOException
    import java.util.concurrent.Callable
    import java.util.concurrent.Executors
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    @GwtCompatible(emulated = true)
    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)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
          TempFileCreator.testMakingUserPermissionsFromScratch();
          assertThat(isJava8()).isFalse();
        } catch (IOException expectedIfJava8) {
          assertThat(isJava8()).isTrue();
        } finally {
          System.setProperty("user.name", save);
        }
      }
    
      private static boolean isAndroid() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.isBetween
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isLessThan
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import java.io.EOFException
    import java.io.IOException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/InterceptorTest.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isSameInstanceAs
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.net.SocketTimeoutException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

          }
        }
      }
    
      public void testContains() {
        assertThat(Floats.contains(EMPTY, (float) 1)).isFalse();
        assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse();
        assertThat(Floats.contains(ARRAY234, (float) 1)).isFalse();
        assertThat(Floats.contains(new float[] {(float) -1}, (float) -1)).isTrue();
        assertThat(Floats.contains(ARRAY234, (float) 2)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top