Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 177 for testdata (0.29 sec)

  1. cni/pkg/iptables/iptables_test.go

    }
    
    func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) {
    	t.Helper()
    	gotBytes := []byte(strings.Join(actual, "\n"))
    	goldenFile := filepath.Join("testdata", name+".golden")
    	if ipv6 {
    		goldenFile = filepath.Join("testdata", name+"_ipv6.golden")
    	}
    	testutil.CompareContent(t, gotBytes, goldenFile)
    }
    
    func constructTestConfig() *Config {
    	return &Config{
    		RestoreFormat: false,
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. internal/s3select/simdj/reader_amd64_test.go

    }
    
    func loadCompressed(t tester, file string) (js []byte) {
    	dec, err := zstd.NewReader(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer dec.Close()
    	js, err = os.ReadFile(filepath.Join("testdata", file+".json.zst"))
    	if err != nil {
    		t.Fatal(err)
    	}
    	js, err = dec.DecodeAll(js, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	return js
    }
    
    var testCases = []struct {
    	name  string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  3. .idea/fileColors.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project version="4">
      <component name="SharedFileColors">
        <fileColor scope="TestData" color="Blue" />
        <fileColor scope="IDE" color="Yellow" />
      </component>
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Sep 21 07:11:21 GMT 2023
    - 217 bytes
    - Viewed (0)
  4. istioctl/pkg/writer/pilot/status_test.go

    						rdsSyncStatus:  status.ConfigStatus_UNKNOWN,
    						edsSyncStatus:  status.ConfigStatus_UNKNOWN,
    						ecdsSyncStatus: status.ConfigStatus_UNKNOWN,
    					},
    				}),
    			},
    			want: "testdata/multiXdsStatusMultiPilot.txt",
    		},
    		{
    			name: "prints single istiod input to buffer in alphabetical order by pod name",
    			input: map[string]*discovery.DiscoveryResponse{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. istioctl/pkg/proxyconfig/proxyconfig_test.go

    	cmd := ProxyConfig(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Namespace: "default",
    	}))
    	cmd.SetArgs([]string{
    		"all",
    		"-f", "testdata/config_dump.json",
    	})
    	out := bytes.Buffer{}
    	cmd.SetOut(&out)
    	assert.NoError(t, cmd.Execute())
    	expected := util.ReadFile(t, "testdata/config_dump_summary.txt")
    
    	if err := assert.Compare(out.String(), string(expected)); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        private static final Logger logger = LogManager.getLogger(SearchApiTests.class);
        private static final String NAME_PREFIX = "searchApiTest_";
        private static final String DEFAULT_TESTDATA_PATH = "/tmp/fess-testdata";
        private static final String CRAWL_LABEL = NAME_PREFIX + "_label";
        private static final String TEST_LABEL = "tools";
        private static String fileConfigId;
        private static String labelId;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (1)
  7. cmd/xl-storage-format-v2_test.go

    	"github.com/klauspost/compress/zstd"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    func TestReadXLMetaNoData(t *testing.T) {
    	f, err := os.Open("testdata/xl.meta-corrupt.gz")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer f.Close()
    
    	gz, err := gzip.NewReader(bufio.NewReader(f))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	buf, err := io.ReadAll(gz)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/fakes_test.go

    package nodeagent
    
    import (
    	"context"
    	"embed"
    	"io/fs"
    	"sync/atomic"
    	"syscall"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/cni/pkg/iptables"
    )
    
    //go:embed testdata/cgroupns
    var fakeProc embed.FS
    
    type fakeZtunnel struct {
    	deletedPods atomic.Int32
    	addedPods   atomic.Int32
    	addError    error
    }
    
    func (f *fakeZtunnel) Run(ctx context.Context) {
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. misc/go_android_exec/main.go

    	return importPath, isStd, modPath, modDir, nil
    }
    
    // adbCopyTree copies testdata, go.mod, go.sum files from subdir
    // and from parent directories all the way up to the root of subdir.
    // go.mod and go.sum files are needed for the go tool modules queries,
    // and the testdata directories for tests.  It is common for tests to
    // reach out into testdata from parent packages.
    func adbCopyTree(deviceCwd, subdir string) error {
    	dir := ""
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  10. bin/update_crds.sh

      fail "Unable to generate the CRDs for ${GATEWAY_VERSION}. Not updating the CRD file.";
    fi
    
    rm -f "${ROOTDIR}/tests/integration/pilot/testdata/gateway-api-crd.yaml"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top