Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 161 for cunit (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as
     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    import java.lang.ref.WeakReference;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.util.Arrays;
    import java.util.Collections;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        private final long timeout;
        private final TimeUnit unit;
        private Exception exception;
        private volatile long startTime;
        private long timeSpentBlocked;
    
        TimedWaiterThread(AbstractFuture<?> future, long timeout, TimeUnit unit) {
          this.future = future;
          this.timeout = timeout;
          this.unit = unit;
        }
    
        @Override
        public void run() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. subprojects/core/build.gradle.kts

        runtimeOnly(libs.groovyDoc)
        runtimeOnly(libs.groovyNio)
        runtimeOnly(libs.groovySql)
        runtimeOnly(libs.groovyTest)
    
        // The bump to SSHD 2.10.0 causes a global exclusion for `groovy-ant` -> `ant-junit`, so forcing it back in here
        // TODO investigate why we depend on SSHD as a platform for internal-integ-testing
        runtimeOnly(libs.antJunit)
    
        testImplementation(project(":platform-jvm"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

    import org.hamcrest.CoreMatchers.containsString
    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.CoreMatchers.sameInstance
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.assertThrows
    import org.junit.Test
    import java.io.ByteArrayInputStream
    import java.io.ByteArrayOutputStream
    import java.io.Externalizable
    import java.io.ObjectInput
    import java.io.ObjectInputStream
    import java.io.ObjectOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        private final long timeout;
        private final TimeUnit unit;
        private Exception exception;
        private volatile long startTime;
        private long timeSpentBlocked;
    
        TimedWaiterThread(AbstractFuture<?> future, long timeout, TimeUnit unit) {
          this.future = future;
          this.timeout = timeout;
          this.unit = unit;
        }
    
        @Override
        public void run() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

                ScaleUnit unit = ScaleUnit.getScaleUnit(size);
                format(builder, progressedSize, unit, true);
                builder.append("/");
                format(builder, size, unit, false);
            } else {
                ScaleUnit unit = ScaleUnit.getScaleUnit(progressedSize);
    
                format(builder, progressedSize, unit, false);
            }
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl
    
    import org.junit.Assert.assertEquals
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertThrows
    import org.junit.Assert.assertTrue
    import org.junit.Test
    import java.util.Collections
    import java.util.concurrent.CountDownLatch
    import kotlin.concurrent.thread
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for IteratorTester.
     *
     * @author Mick Killianey
     */
    @GwtCompatible
    @SuppressWarnings("serial") // No serialization is used in this test
    public class IteratorTesterTest extends TestCase {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      private static Thread acquireFor(final Lock lock, final long duration, final TimeUnit unit) {
        final CountDownLatch latch = new CountDownLatch(1);
        Thread thread =
            new Thread() {
              @Override
              public void run() {
                lock.lock();
                latch.countDown();
                try {
                  Thread.sleep(unit.toMillis(duration));
                } catch (InterruptedException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top