- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for badmode (0.3 sec)
-
src/debug/buildinfo/buildinfo_test.go
} buildModes := []string{"pie", "exe"} if testenv.HasCGO() { buildModes = append(buildModes, "c-shared") } // Keep in sync with src/cmd/go/internal/work/init.go:buildModeInit. badmode := func(goos, goarch, buildmode string) string { return fmt.Sprintf("-buildmode=%s not supported on %s/%s", buildmode, goos, goarch) } buildWithModules := func(t *testing.T, goos, goarch, buildmode string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 11.2K bytes - Viewed (0) -
src/net/http/httptest/recorder_test.go
// status HTTP code. See https://golang.org/issues/45353 func TestRecorderPanicsOnNonXXXStatusCode(t *testing.T) { badCodes := []int{ -100, 0, 99, 1000, 20000, } for _, badCode := range badCodes { badCode := badCode t.Run(fmt.Sprintf("Code=%d", badCode), func(t *testing.T) { defer func() { if r := recover(); r == nil { t.Fatal("Expected a panic") } }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 23:17:38 UTC 2022 - 9.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultRepositoryContentDescriptorTest.groovy
when: details.moduleId >> barMod details.componentId >> DefaultModuleComponentIdentifier.newId(barMod, '1.0') action.execute(details) then: 1 * details.notFound() when: details.moduleId >> bazMod details.componentId >> DefaultModuleComponentIdentifier.newId(bazMod, '1.0') action.execute(details) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 15.6K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginVersionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 8.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_load_badmod.txt
cp go.mod.bad go.mod ! go list -m -mod=mod all stderr 'unknown directive: hello' -- go.mod -- module m require rsc.io/badmod v1.0.0 -- go.mod.bad -- module m hello world -- go.mod.usesub -- module m require rsc.io/badmod v1.0.0 replace rsc.io/badmod v1.0.0 => ./sub -- sub/go.mod -- module sub
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 11 13:08:54 UTC 2020 - 524 bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/BasicZincScalaCompilerIntegrationTest.groovy
given: badCode() and: buildFile << "compileScala.options.failOnError = false\n" expect: succeeds 'compileScala' } def "compile bad scala code do not fail the build when scalaCompileOptions.failOnError is false"() { given: badCode() and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 9.6K bytes - Viewed (0) -
src/cmd/go/testdata/mod/rsc.io_badmod_v1.0.0.txt
rsc.io/badmod v1.0.0 written by hand -- .mod -- module rsc.io/badmod hello world -- .info -- {"Version":"v1.0.0"} -- x.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 28 01:15:16 UTC 2018 - 137 bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy
expect: succeeds("check") file("build/reports/pmd/main.xml").exists() file("build/reports/pmd/test.xml").exists() } def "analyze bad code"() { badCode() expect: fails("check") failure.assertHasDescription("Execution failed for task ':pmdTest'.") failure.assertThatCause(containsString("2 PMD rule violations were found. See the report at:"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 18:47:00 UTC 2024 - 13.5K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MaximumHeapHelperTest.groovy
maximumHeapHelper = testMaximumHeapHelper(false, bitMode, server) testCase = "${bitMode}bits ${server ? 'server' : 'client'} JVM with ${osTotalMemory} OS total memory" } private static MaximumHeapHelper testMaximumHeapHelper(ibm, bitMode = 64, server = true) { new MaximumHeapHelper() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginDependenciesIntegrationTest.groovy
import org.gradle.integtests.fixtures.AbstractIntegrationSpec class CheckstylePluginDependenciesIntegrationTest extends AbstractIntegrationSpec { def setup() { writeBuildFile() writeConfigFile() badCode() } def "allows configuring tool dependencies explicitly"() { //Language has to be English, because the error message is localised defaultLocale('en') expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:23:38 UTC 2023 - 2.5K bytes - Viewed (0)