Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,358 for test1 (0.07 seconds)

  1. cmd/object-api-options_test.go

    				xhttp.AmzObjectAttributes: []string{"test1,test2"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {},
    			},
    		},
    		{
    			name: "multiple header lines with some duplicates",
    			headers: http.Header{
    				xhttp.AmzObjectAttributes: []string{"test1,test2", "test3,test4", "test4,test3"},
    			},
    			wantObjectAttrs: map[string]struct{}{
    				"test1": {}, "test2": {}, "test3": {}, "test4": {},
    			},
    		},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. cmd/site-replication_test.go

    			[]string{},
    		},
    		// Test3: not currently under site replication.
    		{
    			[]madmin.PeerInfo{},
    			set.CreateStringSet(),
    			set.CreateStringSet("dep1", "dep2", "dep3", "dep4"),
    			[]string{},
    		},
    	}
    
    	for i, tc := range testCases {
    		names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites)
    		if len(names) != len(tc.expNames) {
    			t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertContainsExactlyInAnyOrder(activation.getRequiredInactiveProfileIds(), "test1", "test2");
            assertContainsExactlyInAnyOrder(activation.getOptionalInactiveProfileIds(), "test3", "test4");
    
            activation = new ProfileActivation();
            performProfileActivation(parser.parse(options, new String[] {"-P", "-test1,+test2"}), activation);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  4. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml

    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>
    
      <properties>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/resources-project-builder/basedir-interpolation/pom-with-unusual-name.xml

    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>
    
      <properties>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  7. cmd/batch-handlers_test.go

    		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{
    				yamlStr: `
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/resources-project-builder/baseuri-interpolation/pom.xml

    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>
        <!-- this is where we collect all the interpolated values for the POM dump -->
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  9. cmd/object-api-multipart_test.go

    		{"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},
    		// Test case for Asserting for invalid objectName (Test number 8).
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/resources-project-builder/boolean-interpolation/pom.xml

    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>
    
      <properties>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top