Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for TEST1 (0.02 sec)

  1. tests/test_annotated.py

    def test_multiple_path():
        app = FastAPI()
    
        @app.get("/test1")
        @app.get("/test2")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
        client = TestClient(app)
        response = client.get("/test1")
        assert response.status_code == 200
        assert response.json() == {"foo": "bar"}
    
        response = client.get("/test1", params={"var": "baz"})
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/xml/DomUtilTest.java

            final DocumentBuilder builder = DocumentBuilderFactoryUtil.newDocumentBuilder();
            final Document doc = DocumentBuilderUtil.parse(builder, ResourceUtil.getResourceAsStream("org/codelibs/core/xml/test1.xml"));
            final Element root = doc.getDocumentElement();
            final String contents = DomUtil.toString(root);
            System.out.println(contents);
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. cmd/site-replication_test.go

    // TestGetMissingSiteNames
    func TestGetMissingSiteNames(t *testing.T) {
    	testCases := []struct {
    		currSites []madmin.PeerInfo
    		oldDepIDs set.StringSet
    		newDepIDs set.StringSet
    		expNames  []string
    	}{
    		// Test1: missing some sites in replicated setup
    		{
    			[]madmin.PeerInfo{
    				{Endpoint: "minio1:9000", Name: "minio1", DeploymentID: "dep1"},
    				{Endpoint: "minio2:9000", Name: "minio2", DeploymentID: "dep2"},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/resources-project-builder/baseuri-interpolation/pom.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.its.mng3760</groupId>
      <artifactId>test1</artifactId>
      <version>1.0-SNAPSHOT</version>
    
      <name>Maven Integration Test :: MNG-3760</name>
      <description>
        Test interpolation of ${project.baseUri}
      </description>
    
      <properties>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.its.mng3822</groupId>
      <artifactId>test1</artifactId>
      <version>1.0-SNAPSHOT</version>
    
      <name>Maven Integration Test :: MNG-3822</name>
      <description>
        Verify that POM interpolation uses basedir-aligned build directories.
      </description>
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/resources-project-builder/boolean-interpolation/pom.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.its.mng1995</groupId>
      <artifactId>test1</artifactId>
      <version>1.0</version>
    
      <name>Maven Integration Test :: MNG-1995</name>
      <description>
        Verify that POM fields that are of type boolean can be interpolated with expressions.
      </description>
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    		// Valid bucket names, but they do not exist (Test number 5-7).
    		{"volatile-bucket-1", "test1", "", 0, 0, ListPartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-1"}, false},
    		{"volatile-bucket-2", "test1", "", 0, 0, ListPartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-2"}, false},
    		{"volatile-bucket-3", "test1", "", 0, 0, ListPartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-3"}, false},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    # Case 4: Extra whitespace
    User-agent:    ExtraSpaceBot
    Disallow:     /spaced/
       Allow:   /also-spaced/
    
    # Case 5: Mixed case directives (should still work)
    UsEr-AgEnT: MixedCaseBot
    DiSaLlOw: /test1/
    AlLoW: /test2/
    CrAwL-dElAy: 2
    SiTeMaP: http://example.com/sitemap.xml
    
    # Case 6: Comments in various positions
    User-agent: CommentBot # inline comment
    Disallow: /path1/ # another comment
    # Full line comment
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/resources-project-builder/basedir-interpolation/pom-with-unusual-name.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.its.mng3944</groupId>
      <artifactId>test1</artifactId>
      <version>1.0-SNAPSHOT</version>
    
      <name>Maven Integration Test :: MNG-3944</name>
      <description>
        Test that interpolation of ${basedir} works for a POM that is not named "pom.xml"
      </description>
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. cmd/batch-handlers_test.go

    	}
    	type PrefixTemp struct {
    		Prefix BatchJobPrefix `yaml:"prefix"`
    	}
    	tests := []struct {
    		name    string
    		b       PrefixTemp
    		args    args
    		want    []string
    		wantErr bool
    	}{
    		{
    			name: "test1",
    			b:    PrefixTemp{},
    			args: args{
    				yamlStr: `
    prefix: "foo"
    `,
    			},
    			want:    []string{"foo"},
    			wantErr: false,
    		},
    		{
    			name: "test2",
    			b:    PrefixTemp{},
    			args: args{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top