Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 309 for mytest (0.15 seconds)

  1. mockwebserver-junit5/README.md

    To use, first add this library as a test dependency:
    
    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit5:5.3.0")
    ```
    
    Annotate fields in test classes with `@StartStop`. The server will be started and shut down
    automatically.
    
    ```
    class MyTest {
    
      @StartStop
      public final MockWebServer server = new MockWebServer();
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Requirements
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 665 bytes
    - Click Count (0)
  2. internal/bucket/replication/replication_test.go

    		{ObjectOpts{Name: "c1test"}, cfgs[0], true},                   // 2. valid ObjectOpts passing empty Filter
    		{ObjectOpts{Name: "c1test", VersionID: "vid"}, cfgs[0], true}, // 3. valid ObjectOpts passing empty Filter
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

        @Test
        public void test_escapeValue_nullChar() {
            assertEquals("admin\\00test", LdapUtil.escapeValue("admin\0test"));
            assertEquals("\\00", LdapUtil.escapeValue("\0"));
        }
    
        @Test
        public void test_escapeValue_mixedSpecialChars() {
            // Test LDAP injection attempt: admin*
            assertEquals("admin\\2a", LdapUtil.escapeValue("admin*"));
    
            // Test LDAP injection attempt: )(cn=*
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  4. scripts/test.sh

    #!/usr/bin/env bash
    
    set -e
    set -x
    
    export PYTHONPATH=./docs_src
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 124 bytes
    - Click Count (0)
  5. .github/workflows/test.yml

          matrix:
            os: [ windows-latest, macos-latest ]
            python-version: [ "3.14" ]
            uv-resolution:
              - highest
            starlette-src:
              - starlette-pypi
              - starlette-git
            include:
              - os: macos-latest
                python-version: "3.10"
                coverage: coverage
                uv-resolution: lowest-direct
              - os: windows-latest
                python-version: "3.12"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            byte[] buffer1 = new byte[8];
            byte[] buffer2 = new byte[8];
    
            int bytes1 = info.encode(buffer1, 0);
            int bytes2 = info.encode(buffer2, 0);
    
            assertEquals(8, bytes1);
            assertEquals(8, bytes2);
            assertArrayEquals(buffer1, buffer2);
        }
    
        @Test
        @DisplayName("Test multiple decode operations")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. internal/bucket/replication/rule_test.go

    			opts:           ObjectOpts{Name: "c2test", DeleteMarker: false, OpType: MetadataReplicationType, Replica: true}, // 1. Replica mod sync enabled;  a replica
    			expectedResult: true,
    		},
    	}
    
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test_%d", i+1), func(t *testing.T) {
    			cfg, err := ParseConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        // These will have the same first 4 bytes (all 0).
        byte[] bytesA = new byte[5];
        byte[] bytesB = new byte[5];
    
        // Change only the last (5th) byte
        bytesA[4] = (byte) 0xbe;
        bytesB[4] = (byte) 0xef;
    
        HashCode hashCodeA = HashCode.fromBytes(bytesA);
        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  9. .github/workflows/test-redistribute.yml

    name: Test Redistribute
    
    on:
      push:
        branches:
          - master
      pull_request:
        types:
          - opened
          - synchronize
    
    jobs:
      test-redistribute:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 12:33:49 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  10. tests/test_request_params/test_cookie/test_optional_str.py

                    "in": "cookie",
                }
            ]
        )
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_missing(path: str):
        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 200
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.6K bytes
    - Click Count (0)
Back to Top