Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 878 for testes (0.03 sec)

  1. guava-tests/test/com/google/common/collect/CountTest.java

    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@code Count}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
        Count holder = new Count(20);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/UnmodifiableIteratorTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link UnmodifiableIterator}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class UnmodifiableIteratorTest extends TestCase {
    
      @SuppressWarnings("DoNotCall")
      public void testRemove() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.util.Collections;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Encapsulates the constraints that a class under test must satisfy in order for a tester method to
     * be run against that class.
     *
     * @author George van den Driessche
     */
    @GwtCompatible
    public final class TesterRequirements {
      private final Set<Feature<?>> presentFeatures;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests that {@link AbstractFutureState} uses the expected {@code AtomicHelper} implementation.
     *
     * <p>We have more thorough testing of {@code AtomicHelper} implementations in {@link
     * AbstractFutureFallbackAtomicHelperTest}. The advantage to this test is that it can run under
     * Android.
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 13:08:45 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.List;
    import java.util.Queue;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create queue of strings for tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> {
      @Override
      public SampleElements<String> samples() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

    import static com.google.common.io.FileBackedOutputStreamTest.write;
    
    import com.google.common.testing.GcFinalization;
    import java.io.File;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Android-incompatible tests for {@link FileBackedOutputStream}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // Finalization probably just doesn't happen fast enough?
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ConfigurationTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for Configuration interface functionality
     */
    @DisplayName("Configuration Interface Tests")
    class ConfigurationTest extends BaseTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Test
        @DisplayName("Should define all configuration methods")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

                  "sun.misc.Unsafe",
                  AtomicReferenceFieldUpdater.class.getName()));
    
      public static TestSuite suite() {
        // we create a test suite containing a test for every AbstractFutureTest test method and we
        // set it as the name of the test.  Then in runTest we can reflectively load and invoke the
        // corresponding method on AbstractFutureTest in the correct classloader.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
      public PackageSanityTests() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

    import java.util.Collection;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for an undirected {@link StandardMutableGraph}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    @NullUnmarked
    public class StandardMutableUndirectedGraphTest extends AbstractStandardUndirectedGraphTest {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top