Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2291 - 2300 of 4,609 for text (0.02 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

            boolean test = true;
            for (int i = 0; i < 999; i++) {
                boolean ok = output.containsKey("Progress (1): test-resource (" + i + "/999 B)");
                if (!ok) {
                    System.out.println("false : " + i);
                    message.append(i + ",");
                }
                test = test & ok;
            }
            assertTrue(test, message + "] are missing in " + output);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

       * part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits
       * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be
       * less than or equal to the hashtable mask.
       *
       * <pre>
       * hash  = aaaaaaaa
       * mask  = 00000fff
       * next  = 00000bbb
       * entry = aaaaabbb
       * </pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_header_params/test_tutorial001_py310.py

        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testSimpleWithWait() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        limiter.acquire(); // R0.00
        stopwatch.sleepMillis(200); // U0.20, we are ready for the next request...
        limiter.acquire(); // R0.00, ...which is granted immediately
        limiter.acquire(); // R0.20
        assertEvents("R0.00", "U0.20", "R0.00", "R0.20");
      }
    
      public void testSimpleAcquireReturnValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testSimpleWithWait() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        limiter.acquire(); // R0.00
        stopwatch.sleepMillis(200); // U0.20, we are ready for the next request...
        limiter.acquire(); // R0.00, ...which is granted immediately
        limiter.acquire(); // R0.20
        assertEvents("R0.00", "U0.20", "R0.00", "R0.20");
      }
    
      public void testSimpleAcquireReturnValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test DefaultArtifactVersion.
     *
     */
    class DefaultArtifactVersionTest {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationFile().equals(null));
    
            new ActivationFile().equals(new ActivationFile());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationFile thing = new ActivationFile();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new ActivationFile().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new Activation().equals(null));
    
            new Activation().equals(new Activation());
        }
    
        @Test
        void testEqualsIdentity() {
            Activation thing = new Activation();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Activation().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new CiManagement().equals(null));
    
            new CiManagement().equals(new CiManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            CiManagement thing = new CiManagement();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new CiManagement().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DeploymentRepository().equals(null));
    
            new DeploymentRepository().equals(new DeploymentRepository());
        }
    
        @Test
        void testEqualsIdentity() {
            DeploymentRepository thing = new DeploymentRepository();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top