Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for printLocale (0.17 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/LocaleSupportDaemonIntegrationTest.groovy

                LocaleUtils.toLocale("hr_HR")
        ].findAll {
            it != Locale.default
        }
    
        def "custom locale is applied to daemon"() {
    
            buildScript """
                task printLocale {
                    doFirst {
                        println "defaultLocale: " + Locale.default
                    }
                }
            """
    
            when:
            runWithLocale locales[0]
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers.go

    		{Name: "Age", Type: "string", Description: metav1.ObjectMeta{}.SwaggerDoc()["creationTimestamp"]},
    	}
    	_ = h.TableHandler(scaleColumnDefinitions, printScale)
    
    	resourceClassColumnDefinitions := []metav1.TableColumnDefinition{
    		{Name: "Name", Type: "string", Format: "name", Description: metav1.ObjectMeta{}.SwaggerDoc()["name"]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    			expected: []metav1.TableRow{
    				{
    					Cells: []interface{}{"test-autoscaling", int64(2), int64(1), string("0s")},
    				},
    			},
    		},
    	}
    
    	for i, test := range tests {
    		rows, err := printScale(&test.scale, test.options)
    		if err != nil {
    			t.Fatal(err)
    		}
    		for i := range rows {
    			rows[i].Object.Object = nil
    		}
    		if !reflect.DeepEqual(test.expected, rows) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top