Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for runSamples (0.15 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/AutoTestedSamplePlatformBaseIntegrationTest.groovy

    import org.junit.Test
    
    @UnsupportedWithConfigurationCache(because = "software model")
    class AutoTestedSamplePlatformBaseIntegrationTest extends AbstractAutoTestedSamplesTest {
        @Test
        void runSamples() {
            runSamplesFrom("src/main")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/api/plugins/AutoTestedSamplesGroovyIntegrationTest.groovy

    /**
     * Runs samples contained in class-level javadoc comments in the `plugins-groovy` project.
     */
    class AutoTestedSamplesGroovyIntegrationTest extends AbstractAutoTestedSamplesTest {
        @Test
        void runSamples() {
            // for debugging purposes you can restrict the tests samples to only a single class
    //        includeOnly '**/Test.java'
            runSamplesFrom("src/main")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/integtests/samples/AutoTestedSamplesPluginsDistributionIntegrationTest.groovy

    /**
     * Runs samples contained in class-level javadoc comments in the `plugins-distribution` project.
     */
    class AutoTestedSamplesPluginsDistributionIntegrationTest extends AbstractAutoTestedSamplesTest {
        @Test
        void runSamples() {
            // for debugging purposes you can restrict the tests samples to only a single class
    //        includeOnly '**/Test.java'
            runSamplesFrom("src/main")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 21:03:51 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/AutoTestedSamplesToolingApiTest.groovy

    import spock.lang.Specification
    
    class AutoTestedSamplesToolingApiTest extends Specification {
    
        @Rule public final TestNameTestDirectoryProvider temp = new TestNameTestDirectoryProvider(getClass())
    
        void runSamples() {
            expect:
    
            def util = new AutoTestedSamplesUtil()
            util.findSamples("src/main") { file, sample, tagSuffix ->
                println "Found sample: ${sample.split("\n")[0]} (...) in $file"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/testing/example.go

    	Output    string
    	Unordered bool
    }
    
    // RunExamples is an internal function but exported because it is cross-package;
    // it is part of the implementation of the "go test" command.
    func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool) {
    	_, ok = runExamples(matchString, examples)
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/testing/testing.go

    		haveExamples = len(m.examples) > 0
    		testRan, testOk := runTests(m.deps.MatchString, m.tests, deadline)
    		fuzzTargetsRan, fuzzTargetsOk := runFuzzTests(m.deps, m.fuzzTargets, deadline)
    		exampleRan, exampleOk := runExamples(m.deps.MatchString, m.examples)
    		m.stopAlarm()
    		if !testRan && !exampleRan && !fuzzTargetsRan && *matchBenchmarks == "" && *matchFuzz == "" {
    			fmt.Fprintln(os.Stderr, "testing: warning: no tests to run")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"InternalTest.Name", Field, 0},
    		{"M", Type, 4},
    		{"Main", Func, 0},
    		{"MainStart", Func, 4},
    		{"PB", Type, 3},
    		{"RegisterCover", Func, 2},
    		{"RunBenchmarks", Func, 0},
    		{"RunExamples", Func, 0},
    		{"RunTests", Func, 0},
    		{"Short", Func, 0},
    		{"T", Type, 0},
    		{"TB", Type, 2},
    		{"Testing", Func, 21},
    		{"Verbose", Func, 1},
    	},
    	"testing/fstest": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top