Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 632 for testflag (0.16 sec)

  1. src/cmd/go/internal/test/testflag.go

    	}
    	return f.abs
    }
    
    // vetFlag implements the special parsing logic for the -vet flag:
    // a comma-separated list, with distinguished values "all" and
    // "off", plus a boolean tracking whether it was set explicitly.
    //
    // "all" is encoded as vetFlag{true, false, nil}, since it will
    // pass no flags to the vet binary, and by default, it runs all
    // analyzers.
    type vetFlag struct {
    	explicit bool
    	off      bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/internal/genflags/testflag.go

    Bryan C. Mills <******@****.***> 1675889343 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 09 13:37:58 UTC 2023
    - 759 bytes
    - Viewed (0)
  3. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/InterceptorTestReceiver.java

        }
    
        public void setTestString(String newValue) {
            testString = newValue;
        }
    
        private boolean testFlag = false;
    
        public boolean isTestFlag() {
            return testFlag;
        }
    
        public void setTestFlag(boolean newValue) {
            testFlag = newValue;
        }
    
        public String intercepted = null;
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 08:15:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeInterceptorTestReceiver.java

            return testString;
        }
    
        public void setTestString(String newValue) {
            testString = newValue;
        }
    
        public boolean isTestFlag() {
            return testFlag;
        }
    
        public void setTestFlag(boolean newValue) {
            testFlag = newValue;
        }
    
        @Override
        public String toString() {
            return "CompositeInterceptorTestReceiver";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/testing/flag_test.go

    package testing_test
    
    import (
    	"flag"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"testing"
    )
    
    var testFlagArg = flag.String("test_flag_arg", "", "TestFlag: passing -v option")
    
    const flagTestEnv = "GO_WANT_FLAG_HELPER_PROCESS"
    
    func TestFlag(t *testing.T) {
    	if os.Getenv(flagTestEnv) == "1" {
    		testFlagHelper(t)
    		return
    	}
    
    	testenv.MustHaveExec(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CompositeCallInterceptionTest.groovy

            "normal getter"       | "call site" | "getTestString()"                             | { it.testString }                    | false
            "boolean getter"      | "call site" | "isTestFlag()"                                | { it.testFlag }                      | false
            "non-existent getter" | "call site" | "getNonExistentProperty()-non-existent"       | { it.nonExistentProperty }           | false
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionSetTest.groovy

            @Override
            void applyTo(String value, Bean settings, Origin origin) {
                settings.prop = value
            }
        }
    
        private class TestFlag extends BooleanBuildOption<Bean> {
            TestFlag() {
                super("some.flag", BooleanCommandLineOptionConfiguration.create("some-flag", "thing is on", "this is off"))
            }
    
            @Override
            void applyTo(boolean value, Bean settings, Origin origin) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/BasicCallInterceptionTest.groovy

            "normal getter"       | "call site" | "getTestString()"                             | { it.testString }                    | false
            "boolean getter"      | "call site" | "isTestFlag()"                                | { it.testFlag }                      | false
            "non-existent getter" | "call site" | "getNonExistentProperty()-non-existent"       | { it.nonExistentProperty }           | false
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptingMetaClassTest.groovy

            "directly"        | "string"  | "setTestString(String)"                       | "testString"          | { testString = "!" }
            "directly"        | "boolean" | "setTestFlag(boolean)"                        | "testFlag"            | { testFlag = true }
            "directly"        | "string"  | "setNonExistentProperty(String)-non-existent" | "nonExistentProperty" | { nonExistentProperty = "!" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 15K bytes
    - Viewed (0)
  10. src/cmd/cover/doc.go

    must be applied to the output of cgo preprocessing, not the input,
    because cover deletes comments that are significant to cgo.
    
    For usage information, please see:
    
    	go help testflag
    	go tool cover -help
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top