Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for render_template (0.16 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/LineSearchFailures.java

            /* package */ static final String HEADER_TEMPLATE = "Expected: %d lines, but found: %d lines.";
    
            public DifferentSizesLineListComparisonFailure(List<String> expectedLines, List<String> actualLines) {
                super(expectedLines, actualLines);
            }
    
            @Override
            public String getMessage() {
                return String.format(HEADER_TEMPLATE, expectedLines.size(), actualLines.size());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcherTest.groovy

            ["a", "b", "c"]         | ["d"]                 || InsufficientSizeLineListComparisonFailure    || String.format(InsufficientSizeLineListComparisonFailure.HEADER_TEMPLATE, 3, 1);
        }
    
        def "failing lines contained in comparison due to mismatched lines with single potential match: #expectedLines vs #actualLines"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. operator/pkg/helm/helm.go

    	hubTagYAMLTemplate := `
    spec:
      hub: {{.Hub}}
      tag: {{.Tag}}
    `
    	ts := struct {
    		Hub string
    		Tag string
    	}{
    		Hub: hub,
    		Tag: tag,
    	}
    	return util.RenderTemplate(hubTagYAMLTemplate, ts)
    }
    
    // DefaultFilenameForProfile returns the profile name of the default profile for the given profile.
    func DefaultFilenameForProfile(profile string) string {
    	switch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top