Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newTestObject (0.25 sec)

  1. istioctl/pkg/writer/table/writer_test.go

    		return Row{
    			Cells: []Cell{
    				NewCell(o.name),
    				NewCell(o.namespace, color.FgGreen),
    				NewCell(o.version),
    			},
    		}
    	})
    	w.AddRow(newTestObject("foo", "bar", "1.0"))
    	w.AddRow(newTestObject("baz", "qux", "2.0"))
    	w.AddRow(newTestObject("qux", "quux", "3"))
    	w.Flush()
    	expected := "NAME  NAMESPACE      VERSION\n" +
    		"foo   \x1b[32mbar\x1b[0m            1.0\n" +
    		"baz   \x1b[32mqux\x1b[0m            2.0\n" +
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Oct 08 04:41:42 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/BaseScalaOptionTest.groovy

    import org.gradle.api.tasks.compile.AbstractOptions
    import spock.lang.Specification
    
    abstract class BaseScalaOptionTest<T extends AbstractOptions> extends Specification {
    
        protected T testObject
    
        abstract T newTestObject()
    
        abstract List<Map<String, String>> stringProperties()
    
        abstract List<Map<String, String>> onOffProperties()
    
        abstract List<Map<String, String>> listProperties()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top