- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 112 for xtestonly (0.42 sec)
-
src/cmd/go/testdata/script/test_xtestonly_works.txt
[short] skip go test xtestonly ! stdout '^ok.*\[no tests to run\]' stdout '^ok' -- go.mod -- module xtestonly go 1.16 -- f.go -- package xtestonly func F() int { return 42 } -- f_test.go -- package xtestonly_test import ( "testing" "xtestonly" ) func TestF(t *testing.T) { if x := xtestonly.F(); x != 42 { t.Errorf("f.F() = %d, want 42", x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 357 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_dedup_packages.txt
env GO111MODULE=off mkdir $WORK/tmp/testdata/src/xtestonly cp f.go $WORK/tmp/testdata/src/xtestonly/f.go cp f_test.go $WORK/tmp/testdata/src/xtestonly/f_test.go env GOPATH=$WORK/tmp/testdata cd $WORK # Check output of go list to ensure no duplicates go list xtestonly ./tmp/testdata/src/xtestonly/... cmp stdout $WORK/gopath/src/wantstdout -- wantstdout -- xtestonly -- f.go -- package xtestonly func F() int { return 42 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 613 bytes - Viewed (0) -
src/cmd/go/testdata/script/build_test_only.txt
! go build m/testonly m/testonly... stderr 'no non-test Go files in' ! go install ./testonly stderr 'no non-test Go files in' # Named through a wildcard, the test-only packages should be silently ignored. go build m/testonly... go install ./testonly... -- go.mod -- module m go 1.16 -- testonly/t_test.go -- package testonly -- testonly2/t.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 500 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_why.txt
rsc.io/sampler golang.org/x/text/language -- why-testonly.txt -- # rsc.io/testonly mymodule/y mymodule/y.test rsc.io/quote rsc.io/sampler rsc.io/sampler.test rsc.io/testonly -- why-vendor.txt -- # rsc.io/testonly (main module does not need to vendor package rsc.io/testonly) -- why-vendor-module.txt -- # rsc.io/testonly (main module does not need to vendor module rsc.io/testonly) -- why-both.txt --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 22 16:52:00 UTC 2020 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_buildvcs.txt
exec git init # The test binaries should not have VCS settings stamped by default. # (The test itself verifies that.) go test . ./testonly # However, setting -buildvcs explicitly should override that and # stamp anyway (https://go.dev/issue/52648). go test -buildvcs -c -o ./testonly.exe ./testonly ! exec ./testonly.exe stdout 'unexpected VCS setting: vcs\.modified=true' # Remove 'git' from $PATH. The test should still build.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:18:32 UTC 2022 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/aot/tests/BUILD
[[ genrule( name = "gen_" + config_file, testonly = 1, srcs = [template_file], outs = [config_file], cmd = ("sed " + sed_replace + " " + "$(location " + template_file + ") " + "> $(OUTS)"), tags = ["manual"], ), tf_library( name = bench_name, testonly = 1, config = config_file,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 27 18:00:18 UTC 2024 - 17.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_all.txt
stdout '^example.com/main.test$' stdout '^example.com/main \[example.com/main.test\]$' stdout '^example.com/main_test \[example.com/main.test\]$' stdout '^example.com/main/testonly$' stdout '^example.com/main/testonly.test$' stdout '^example.com/main/testonly_test \[example.com/main/testonly.test\]$' stdout '^example.com/q$' stdout '^example.com/r$' stdout '^example.com/t$' stdout '^example.com/u$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 20 18:41:57 UTC 2021 - 13.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_tidy_duplicates.txt
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= rsc.io/testonly v1.0.0 h1:K/VWHdO+Jv7woUXG0GzVNx1czBXUt3Ib1deaMn+xk64= rsc.io/testonly v1.0.0/go.mod h1:OqmGbIFOcF+XrFReLOGZ6BhMM7uMBiQwZsyNmh74SzY= -- golden.sum -- golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c h1:pvCbr/wm8HzDD3fVywevekufpn6tCGPY3spdHeZJEsw=
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 17 21:38:40 UTC 2022 - 1.6K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinGlobalModificationServiceBase.kt
import com.intellij.openapi.project.Project import org.jetbrains.annotations.TestOnly import org.jetbrains.kotlin.analysis.api.platform.analysisMessageBus public abstract class KotlinGlobalModificationServiceBase(private val project: Project) : KotlinGlobalModificationService() { @TestOnly protected abstract fun incrementModificationTrackers(includeBinaryTrackers: Boolean) @TestOnly override fun publishGlobalModuleStateModification() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 1.7K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinGlobalModificationService.kt
/** * Publishes an event of global modification of the module state of all [KtModule]s. */ @TestOnly public abstract fun publishGlobalModuleStateModification() /** * Publishes an event of global modification of the module state of all source [KtModule]s. */ @TestOnly public abstract fun publishGlobalSourceModuleStateModification() /**
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:57:40 UTC 2024 - 2K bytes - Viewed (0)