Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1251 - 1260 of 3,220 for test5 (0.03 seconds)

  1. guava-tests/test/com/google/common/math/PackageSanityTests.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.AbstractPackageSanityTests;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    @NullUnmarked
    @J2ktIncompatible
    @GwtIncompatible
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java

    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Runnables}.
     *
     * @author Olivier Pernet
     */
    @GwtCompatible
    @NullUnmarked
    public class RunnablesTest extends TestCase {
      public void testDoNothingRunnableIsSingleton() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

          return super.toString();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /*
       * This is somewhat of a weak test; we verify that all of the methods are
       * correct, but not that they're actually forwarding correctly. We also rely
       * on the other tests (e.g., SynchronizedSetTest) to verify that the
       * collection views are synchronized correctly.
       */
    
      public void testSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.IOException;
    import java.nio.CharBuffer;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link CharSequenceReader}.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class CharSequenceReaderTest extends TestCase {
    
      public void testReadEmptyString() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. cmd/metacache_test.go

    		lastHandout:  metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour),
    		dataVersion:  metacacheStreamVersion,
    	},
    }
    
    func Test_baseDirFromPrefix(t *testing.T) {
    	tests := []struct {
    		name   string
    		prefix string
    		want   string
    	}{
    		{
    			name:   "root",
    			prefix: "object.ext",
    			want:   "",
    		},
    		{
    			name:   "rootdotslash",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 08 18:06:45 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_body/test_tutorial001.py

                }
            ]
        }
    
    
    def test_other_exceptions(client: TestClient):
        with patch("json.loads", side_effect=Exception):
            response = client.post("/items/", json={"test": "test2"})
            assert response.status_code == 400, response.text
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/PackageSanityTests.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.AbstractPackageSanityTests;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Basic sanity tests for classes in {@code common.base}. */
    
    @J2ktIncompatible
    @GwtIncompatible
    @NullUnmarked
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

    import com.google.common.testing.RelationshipTester.Item;
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class RelationshipTesterTest extends TestCase {
      public void testNulls() {
        new ClassSanityTester()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

    /**
     * Tester for navigation of SortedMultisets.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetNavigationTester<E> extends AbstractMultisetTester<E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 20:14:36 GMT 2024
    - 26K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Utility class for creating test fixtures and reducing code duplication in tests.
     */
    public final class TestUtils {
    
        private TestUtils() {
            // Utility class
        }
    
        /**
         * Creates a mock UpgradeContext with default settings.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top