Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 523 for isTrue (0.07 sec)

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

        assertThat(Bytes.contains(ARRAY234, (byte) 1)).isFalse();
        assertThat(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)).isTrue();
        assertThat(Bytes.contains(ARRAY234, (byte) 2)).isTrue();
        assertThat(Bytes.contains(ARRAY234, (byte) 3)).isTrue();
        assertThat(Bytes.contains(ARRAY234, (byte) 4)).isTrue();
      }
    
      public void testIndexOf() {
        assertThat(Bytes.indexOf(EMPTY, (byte) 1)).isEqualTo(-1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

                .createTestSuite());
        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

            toClose.add(it)
          }
        set("a", "a", "a")
        assertThat(filesystem.exists(dir / "a.0")).isTrue()
        assertThat(filesystem.exists(dir / "a.1")).isTrue()
        assertThat(filesystem.exists(dir / "journal")).isTrue()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun fileDeletedExternally(parameters: Pair<FileSystem, Boolean>) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConscryptTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isTrue
    import okhttp3.TestUtil.assumeNetwork
    import okhttp3.internal.platform.ConscryptPlatform
    import okhttp3.internal.platform.Platform
    import okhttp3.testing.PlatformRule
    import org.conscrypt.Conscrypt
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

     */
    package okhttp3.internal.concurrent
    
    import assertk.assertThat
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isTrue
    import java.lang.Thread.UncaughtExceptionHandler
    import java.util.concurrent.LinkedBlockingDeque
    import java.util.concurrent.ThreadFactory
    import java.util.concurrent.TimeUnit
    import org.junit.jupiter.api.AfterEach
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
        assertThat(firstCallable.called).isTrue();
        assertThat(secondCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isTrue();
      }
    
      public void testCancellationDoesNotViolateSerialization() {
        @SuppressWarnings({"unused", "nullness"})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.contains(ARRAY234, (byte) 1)).isFalse();
        assertThat(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)).isTrue();
        assertThat(Bytes.contains(ARRAY234, (byte) 2)).isTrue();
        assertThat(Bytes.contains(ARRAY234, (byte) 3)).isTrue();
        assertThat(Bytes.contains(ARRAY234, (byte) 4)).isTrue();
      }
    
      public void testIndexOf() {
        assertThat(Bytes.indexOf(EMPTY, (byte) 1)).isEqualTo(-1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.contains(ARRAY234, (char) 1)).isFalse();
        assertThat(Chars.contains(new char[] {(char) -1}, (char) -1)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 2)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 3)).isTrue();
        assertThat(Chars.contains(ARRAY234, (char) 4)).isTrue();
      }
    
      public void testIndexOf() {
        assertThat(Chars.indexOf(EMPTY, (char) 1)).isEqualTo(-1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        }
      }
    
      public void testAllocArraysDefault() {
        CompactLinkedHashMap<Integer, String> map = CompactLinkedHashMap.create();
        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
        assertThat(map.values).isNull();
        assertThat(map.links).isNull();
    
        map.put(1, Integer.toString(1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThat(iia.contains(1)).isTrue();
        assertThat(iia.contains(8)).isTrue();
        assertThat(iia.contains(4)).isFalse();
        assertThat(ImmutableIntArray.of(13).contains(13)).isTrue();
        assertThat(ImmutableIntArray.of().contains(21)).isFalse();
        assertThat(iia.subArray(1, 5).contains(1)).isTrue();
      }
    
      public void testForEach() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top