Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testis (0.15 sec)

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

    package table
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/fatih/color"
    )
    
    type testObject struct {
    	name      string
    	namespace string
    	version   string
    }
    
    var newTestObject = func(name, namespace, version string) testObject {
    	return testObject{
    		name:      name,
    		namespace: namespace,
    		version:   version,
    	}
    }
    
    func TestWriter(t *testing.T) {
    	got := &bytes.Buffer{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/writer_test.go

    // limitations under the License.
    
    package sdscompare
    
    import (
    	"bytes"
    	"strings"
    	"testing"
    )
    
    func TestSDSWriterSecretItems(t *testing.T) {
    	tests := []struct {
    		name       string
    		format     Format
    		items      []SecretItem
    		expected   []string
    		unexpected []string
    	}{
    		{
    			name:       "test tabular output with no secret items is equivalent to the header",
    			format:     TABULAR,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
Back to top