Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for testPos (0.18 sec)

  1. src/cmd/compile/internal/syntax/nodes_test.go

    	testPos(t, exprs, "package p; var _ = T{ ", " }",
    		func(f *File) Node { return f.DeclList[0].(*VarDecl).Values.(*CompositeLit).ElemList[0] },
    	)
    
    	// embed types in a function  signature so we can test ... types
    	testPos(t, types, "package p; func f(", ")",
    		func(f *File) Node { return f.DeclList[0].(*FuncDecl).Type.ParamList[0].Type },
    	)
    
    	testPos(t, fields, "package p; func f(", ")",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 18:45:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_ooow_as() {
            InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test_as.odt");
            Map<String, String> params = new HashMap<String, String>();
            params.put("resourceName", "test_as.odt");
            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/testing/fstest/testfs.go

    // The contents of fsys must not change concurrently with TestFS.
    //
    // If TestFS finds any misbehaviors, it returns either the first error or a
    // list of errors. Use [errors.Is] or [errors.As] to inspect.
    //
    // Typical usage inside a test is:
    //
    //	if err := fstest.TestFS(myFS, "file/that/should/be/present"); err != nil {
    //		t.Fatal(err)
    //	}
    func TestFS(fsys fs.FS, expected ...string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    package tests
    
    import (
    	_ "embed"
    	"fmt"
    	"go/ast"
    	"go/token"
    	"go/types"
    	"regexp"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    )
    
    //go:embed doc.go
    var doc string
    
    var Analyzer = &analysis.Analyzer{
    	Name: "tests",
    	Doc:  analysisutil.MustExtractDoc(doc, "tests"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. .github/workflows/tests.yml

        - name: go mod package cache
          uses: actions/cache@v4
          with:
            path: ~/go/pkg/mod
            key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=sqlite ./tests/tests_all.sh
    
      mysql:
        strategy:
          matrix:
            dbversion: ['mysql/mysql-server:latest', 'mysql:5.7']
            go: ['1.22', '1.21', '1.20']
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tests/integration/tests.mk

    # In presubmit, this target runs a minimal set. In postsubmit, all tests are run
    .PHONY: test.integration.kube.environment
    test.integration.kube.environment: | $(JUNIT_REPORT) check-go-tag
    ifeq (${JOB_TYPE},postsubmit)
    	$(call run-test,./tests/integration/...)
    else
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    		},
    	}
    
    	for _, tc := range testCases {
    		for _, op := range tc.ops {
    			t.Run(ipv4+op, func(t *testing.T) {
    				testCost(t, ipv4+op, tc.expectEsimatedCost(ipv4BaseEstimatedCost), tc.expectRuntimeCost(ipv4BaseRuntimeCost))
    			})
    
    			t.Run(ipv6+op, func(t *testing.T) {
    				testCost(t, ipv6+op, tc.expectEsimatedCost(ipv6BaseEstimatedCost), tc.expectRuntimeCost(ipv6BaseRuntimeCost))
    			})
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  8. tensorflow/cc/BUILD

            "//tensorflow/core:lib_internal",
            "//tensorflow/core:tensorflow",
            "//tensorflow/core:testlib",
        ],
    )
    
    tf_gen_op_wrappers_cc(
        name = "test_op",
        op_lib_names = [
            "test_op",
        ],
    )
    
    cc_library(
        name = "queue_runner",
        srcs = ["training/queue_runner.cc"],
        hdrs = ["training/queue_runner.h"],
        deps = [
            ":coordinator",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. docs/iam/policies/pbac-tests.sh

    Poorna <******@****.***> 1716056341 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. requirements-tests.txt

    -e .[all]
    -r requirements-docs-tests.txt
    pytest >=7.1.3,<8.0.0
    coverage[toml] >= 6.5.0,< 8.0
    mypy ==1.8.0
    ruff ==0.2.0
    dirty-equals ==0.6.0
    # TODO: once removing databases from tutorial, upgrade SQLAlchemy
    # probably when including SQLModel
    sqlalchemy >=1.3.18,<1.4.43
    databases[sqlite] >=0.3.2,<0.7.0
    flask >=1.1.2,<3.0.0
    anyio[trio] >=3.2.1,<4.0.0
    PyJWT==2.8.0
    pyyaml >=5.3.1,<7.0.0
    passlib[bcrypt] >=1.7.2,<2.0.0
    
    # types
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 468 bytes
    - Viewed (0)
Back to top