Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for expectedNames (0.18 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

            }
    
            boolean result = actualArch.equals(test);
    
            return reverse != result;
        }
    
        private boolean determineNameMatch(String expectedName, String actualName) {
            String test = expectedName.toLowerCase(Locale.ENGLISH);
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 05 14:16:41 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

            }
    
            boolean result = actualArch.equals(test);
    
            return reverse != result;
        }
    
        private boolean determineNameMatch(String expectedName, String actualName) {
            String test = expectedName;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/match/matchers.go

    func AnyServiceName(expected echo.NamespacedNames) Matcher {
    	return func(instance echo.Instance) bool {
    		serviceName := instance.NamespacedName()
    		for _, expectedName := range expected {
    			if serviceName == expectedName {
    				return true
    			}
    		}
    		return false
    	}
    }
    
    // Namespace matches instances within the given namespace name.
    func Namespace(n namespace.Instance) Matcher {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. pkg/kubelet/server/server_test.go

    	fw := newServerTest()
    	defer fw.testHTTPServer.Close()
    
    	// method:path -> has coverage
    	expectedCases := map[string]bool{}
    
    	// Test all the non-web-service handlers
    	for _, path := range fw.serverUnderTest.restfulCont.RegisteredHandlePaths() {
    		expectedCases["GET:"+path] = false
    		expectedCases["POST:"+path] = false
    	}
    
    	// Test all the generated web-service paths
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. pkg/controller/history/controller_history_test.go

    				t.Errorf("%s: wanted rename got %s %s", test.name, created.Name, test.revision.Name)
    			}
    			expectedName := ControllerRevisionName(test.parent.GetName(), HashControllerRevision(test.revision, &collisionCount))
    			if created.Name != expectedName {
    				t.Errorf("%s: on name collision wanted new name %s got %s", test.name, expectedName, created.Name)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller_test.go

    		} else {
    			gotIndexes.Insert(ix)
    		}
    		expectedName := fmt.Sprintf("%s-%d", jobName, ix)
    		if expectedName != p.Spec.Hostname {
    			t.Errorf("Got pod hostname %s, want %s", p.Spec.Hostname, expectedName)
    		}
    		expectedName += "-"
    		if expectedName != p.GenerateName {
    			t.Errorf("Got pod generate name %s, want %s", p.GenerateName, expectedName)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_builder_test.go

    			Raw: map[string]any{
    				security.CredentialMetaDataName: "true",
    			},
    		},
    	}
    
    	cases := []struct {
    		name         string
    		expectedName string
    		expectedPath string
    	}{
    		{
    			name:         "uds",
    			expectedName: security.SDSExternalClusterName,
    			expectedPath: security.CredentialNameSocketPath,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top