Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 706 for sample2 (0.14 sec)

  1. platforms/documentation/docs/src/snippets/testing/test-suite-version-catalogs/tests/checkTaskOutput.sample.conf

    Tom Tresansky <******@****.***> 1713209293 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 19:28:13 UTC 2024
    - 177 bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        }
    
        @Override
        public SampleElements<Entry<V, K>> samples() {
          SampleElements<Entry<K, V>> samples = generator.samples();
          return new SampleElements<>(
              reverse(samples.e0()),
              reverse(samples.e1()),
              reverse(samples.e2()),
              reverse(samples.e3()),
              reverse(samples.e4()));
        }
    
        private Entry<V, K> reverse(Entry<K, V> entry) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

        return generator.create(elements.toArray());
      }
    
      @Override
      public Collection<E> getSampleElements(int howMany) {
        SampleElements<E> samples = samples();
        List<E> allSampleElements =
            Arrays.asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
        return new ArrayList<>(allSampleElements.subList(0, howMany));
      }
    
      @Override
      public CollectionSize getCollectionSize() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        }
    
        @Override
        public SampleElements<Entry<V, K>> samples() {
          SampleElements<Entry<K, V>> samples = generator.samples();
          return new SampleElements<>(
              reverse(samples.e0()),
              reverse(samples.e1()),
              reverse(samples.e2()),
              reverse(samples.e3()),
              reverse(samples.e4()));
        }
    
        private Entry<V, K> reverse(Entry<K, V> entry) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixtures/SampleSpec.groovy

        Sample sample = new Sample(testDirectoryProvider, 'java/multiproject')
        @Rule TestRule rule = RuleChain.outerRule(testDirectoryProvider).around(sample)
    
        def 'sample dir'() {
            // Sample.dir is named after sample, test method and test class
            expect:
            sample.dir.name == 'multiproject'
            sample.dir.parentFile.parentFile.name == 'sample_dir'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docsTest/java/org/gradle/docs/samples/BaseSamplesTest.java

    @SampleModifiers({
        SetMirrorsSampleModifier.class,
        MoreMemorySampleModifier.class
    })
    @Requires(value = UnitTestPreconditions.KotlinOnlySupportsJdk21Earlier.class, reason = "Kotlin cannot compile on Java 22 in samples yet")
    /*
     * To run the samples tests:
     *
     * Say you want to run the snippet found at:
     *    src/snippets/dependencyManagement/customizingResolution-consistentResolution
     *
     * then you can run the following command line:
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/samples/AutoTestedSamplesPluginsIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.integtests.samples
    
    import org.gradle.integtests.fixtures.AbstractAutoTestedSamplesTest
    import org.junit.Test
    
    class AutoTestedSamplesPluginsIntegrationTest extends AbstractAutoTestedSamplesTest {
    
        @Test
        void runSamples() {
            // for debugging purposes you can restrict the tests samples to only a single class
    //        includeOnly '**/Test.java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/AdditionalVariantsMetadataRulesIntegrationTest.groovy

                            });
                        });
                    }
                }
            """
    
            when: "a project does not apply the ecosystem plugins and therefore doesn't have derivation rules"
            buildFile << """
                configurations {
                    create("samples") {
                        canBeResolved = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 16:23:01 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. README.md

    * [Building Java Applications](https://docs.gradle.org/current/samples/sample_building_java_applications.html)
    * [Building Java Libraries](https://docs.gradle.org/current/samples/sample_building_java_libraries.html)
    * [Building Groovy Applications](https://docs.gradle.org/current/samples/sample_building_groovy_applications.html)
    * [Building Groovy Libraries](https://docs.gradle.org/current/samples/sample_building_groovy_libraries.html)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 20:49:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/MoreMemorySampleModifier.java

        private static final String ORG_GRADLE_JVMARGS = "org.gradle.jvmargs";
    
        @Override
        public Sample modify(Sample sample) {
            File projectDir = sample.getProjectDir();
            giveMoreMemoryTo(projectDir);
            for (Command command : sample.getCommands()) {
                if (command.getExecutionSubdirectory() != null) {
                    giveMoreMemoryTo(new File(projectDir, command.getExecutionSubdirectory()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top