Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 2,020 for testng (0.11 sec)

  1. guava-tests/test/com/google/common/io/TestByteSource.java

    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A byte source for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public final class TestByteSource extends ByteSource implements TestStreamSupplier {
    
      private final byte[] bytes;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/SloppyTearDown.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Simple utility for when you want to create a {@link TearDown} that may throw an exception but
     * should not fail a test when it does. (The behavior of a {@code TearDown} that throws an exception
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/AndroidIncompatible.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with MediumTest or LargeTest.
     *
     * <p>For more discussion, see {@linkplain com.google.common.base.AndroidIncompatible the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

        }
    
        // ----------------------------------------------------------------------
        // The local repository for this category of tests
        // ----------------------------------------------------------------------
    
        protected File getLocalRepositoryPath() {
            return getTestFile("target/test-classes/inheritance-repo/" + getTestSeries());
        }
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Feb 08 16:25:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    import static java.util.Collections.frequency;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Joiner;
    import com.google.common.collect.testing.SortedMapInterfaceTest;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullUnmarked;
    
    @GwtCompatible
    @NullUnmarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/TestingWeighers.java

     * the License.
     */
    
    package com.google.common.cache;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utility {@link Weigher} implementations intended for use in testing.
     *
     * @author Charles Fry
     */
    @NullUnmarked
    public final class TestingWeighers {
    
      /** Returns a {@link Weigher} that returns the given {@code constant} for every request. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

    import assertk.assertions.isIn
    import java.net.Socket
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Call
    import okhttp3.Connection
    import okhttp3.EventListener
    import okhttp3.Headers
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.testing.PlatformRule
    import okio.IOException
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

    @J2ktIncompatible // MapMaker
    @NullUnmarked
    public class MapMakerTest extends TestCase {
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new MapMaker());
      }
    
      @GwtIncompatible // threads
      static final class DelayingIdentityLoader<T> implements Function<T, T> {
        private final CountDownLatch delayLatch;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/VerifyTest.java

        checkMessage(expected);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        // Don't bother testing: Verify is like Preconditions. See the discussion on that class.
      }
    
      private static final Object IGNORE_ME =
          new Object() {
            @Override
            public String toString() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top