Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,721 for sample2 (0.27 sec)

  1. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesGroovyCustomizedLayoutIntegrationTest.groovy

        @Rule
        public final Sample sample = new Sample(testDirectoryProvider, 'groovy/customizedLayout')
    
        def "groovy project customized layout sample with #dsl dsl"() {
            given:
            TestFile groovyProjectDir = sample.dir.file(dsl)
    
            when:
            executer.inDirectory(groovyProjectDir).withTasks('clean', 'build').run()
    
            then:
            // Check tests have run
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/README.adoc

    include::sample[dir="groovy",files="settings.gradle[tag=includes];list/build.gradle[];utilities/build.gradle[];build.gradle[]"]
    ====
    
    To execute the sample tasks:
    
    ====
    [.testable-sample,dir="groovy"]
    =====
    [.sample-command]
    ----
    > ./gradlew -q listResolvedArtifacts
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docsTest/java/org/gradle/docs/samples/IntegrationTestSamplesRunner.java

            }
            return Paths.get(samplesDir).toFile();
        }
    
        @Override
        protected void runChild(final Sample sample, final RunNotifier notifier) {
            super.runChild(sample, new RunNotifierWrapper(notifier) {
                @Override
                public void fireTestFailure(Failure failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 22:10:58 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesJUnitIntegrationTest.groovy

        @Rule
        public final Sample sample = new Sample(testDirectoryProvider, 'testing/junit-categories')
    
        @Before
        void setup() {
            executer.withRepositoryMirrors()
        }
    
        @Test
        void categoriesSample() {
            TestFile projectDir = sample.dir.file("groovy")
    
            // Build and test projects
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

      SortedMap<K, V> create(Object... elements);
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} and less than the key
       * of {@link #belowSamplesGreater()}.
       */
      Entry<K, V> belowSamplesLesser();
    
      /**
       * Returns an entry with a key less than the keys of the {@link #samples()} but greater than the
       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/jacoco_report_aggregation_plugin.adoc

    1. From the distribution's project, such as an application or WAR subproject -> link:../samples/sample_jvm_multi_project_with_code_coverage_distribution.html[distribution sample]
    2. Using a standalone project to specify subprojects -> link:../samples/sample_jvm_multi_project_with_code_coverage_standalone.html[standalone sample]
    
    Example 2 could also be used to aggregate results via the root project.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. samples/builder/README.md

    # Sample builder
    
    This folder contains docker image building logic for various samples, to consolidate things.
    Note some images still user per-folder config, so this is not complete.
    
    ## Building for testing
    
    To build all images and push them:
    
    ```bash
    docker buildx bake --push
    ```
    
    This will push to `localhost:5000` by default, which you can override with `HUB=localhost:5000`.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 16 22:03:02 UTC 2024
    - 928 bytes
    - Viewed (0)
  8. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/dependencymanagement/SamplesResolutionStrategyIntegrationTest.groovy

        @Rule
        Sample sample = new Sample(testDirectoryProvider)
    
        @UsesSample("dependencyManagement/customizingResolution-resolutionStrategy")
        def "can resolve dependencies in #dsl dsl"() {
            TestFile dslDir = sample.dir.file(dsl)
            executer.inDirectory(dslDir)
    
            mavenRepo.module("org", "foo").publish()
            mavenRepo.module("org", "bar").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesApplicationIntegrationTest.groovy

        @Rule Sample sample = new Sample(temporaryFolder, 'java/application')
    
        def setup() {
            executer.withRepositoryMirrors()
        }
    
        def "can run the application using run task with #dsl dsl"() {
            when:
            executer.inDirectory(sample.dir.file(dsl))
            succeeds('run')
    
            then:
            outputContains('Greetings from the sample application.')
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/runtime/pprof/protomem_test.go

    	const expectedLocationNewInliner = "runtime/pprof.TestGenericsInlineLocations;" + expectedLocation
    	var s *profile.Sample
    	for _, sample := range p.Sample {
    		if sampleToString(sample) == expectedSample {
    			s = sample
    			break
    		}
    	}
    	if s == nil {
    		t.Fatalf("expected \n%s\ngot\n%s", expectedSample, strings.Join(profileToStrings(p), "\n"))
    	}
    	loc := s.Location[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top