Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,164 for Classes (0.15 sec)

  1. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/worker/ForkedTestClasspath.java

     * User-defined classes are loaded by and executed in the context of the application classloader. This classloader
     * contains classes from the {@code testRuntimeClasspath}. The implementation classpath includes classes required
     * by Gradle's test framework integrations.
     *
     * <p>In some cases, classes from the application classpath may be accessed by the implementation classpath. These
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorTestSupportTest.groovy

                    public class B {
                        public String getId() { return "id"; }
                    }
                '''
            ])
    
            when:
            def a = api.classes['com.acme.A'].clazz
            def b = api.classes['com.acme.B'].clazz
    
            then:
            a.name == 'com.acme.A'
            b.name == 'com.acme.B'
    
            when:
            def aa = createInstance(a)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformFilteringIntegrationTest.groovy

                import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.classes;
    
                @AnalyzeClasses(packages = "example")
                class DeclaresTestsAsFieldsNotMethodsTest {
                    // this will create a JUnit Platform TestDescriptor with neither a Class- nor a MethodSource
                    @ArchTest
                    static final ArchRule example = classes().should().bePublic();
                }
            '''
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/artifacts/generatedFileDependencies/kotlin/build.gradle.kts

        extendsFrom(implementation)
    }
    
    // tag::generated-file-dependencies[]
    dependencies {
        implementation(files(layout.buildDirectory.dir("classes")) {
            builtBy("compile")
        })
    }
    
    tasks.register("compile") {
        doLast {
            println("compiling classes")
        }
    }
    
    tasks.register("list") {
        val compileClasspath: FileCollection = configurations["compileClasspath"]
        dependsOn(compileClasspath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 682 bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ForceScalaCompileIntegrationTest.groovy

    class Other(thing: String) {
        def getThing(): String = thing
    }
    """
            when:
            succeeds 'compileScala'
    
            then:
            file('build/classes/scala/main/org/test/Person.class').exists()
            file('build/classes/scala/main/org/test/Other.class').exists()
    
            when:
            file('src/main/scala/org/test/Other.scala').text = """
    package org.test
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-accessMetadataArtifact/tests/printGuavaMetadata.out

    guava-18.0.pom
    Guava: Google Core Libraries for Java
    
        Guava is a suite of core and expanded libraries that include
        utility classes, google's collections, io classes, and much
        much more.
    
        Guava has only one code dependency - javax.annotation,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 284 bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

             * first value encountered in iteration order, which may be random.
             */
            if (classes | modules) {
                if (classes & modules) {
                    selected = getPathType(path);
                } else if (classes) {
                    selected = JavaPathType.CLASSES;
                } else {
                    selected = JavaPathType.MODULES;
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      }
    
      public void testFindClassesToTest_withCorrespondingTestClassAndExplicitlyTested() {
        ImmutableList<Class<?>> classes = ImmutableList.of(Foo.class, FooTest.class);
        assertThat(findClassesToTest(classes, "testPublic")).isEmpty();
        assertThat(findClassesToTest(classes, "testNotThere", "testPublic")).isEmpty();
      }
    
      public void testFindClassesToTest_withCorrespondingTestClass_noTestName() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

            return classes.values().findAll { !it.name.contains('.internal.') }
        }
    
        boolean isKnownType(String className) {
            return classMetaData.find(className) != null
        }
    
        gradlebuild.docs.dsl.docbook.model.ClassDoc findClassDoc(String className) {
            gradlebuild.docs.dsl.docbook.model.ClassDoc classDoc = classes[className]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/sampleJavaProject/kotlin/build.gradle.kts

    // tag::inner-link-task-properties[]
    val archivesDirPath = layout.buildDirectory.dir("archives")
    // end::inner-link-task-properties[]
    
    tasks.register<Zip>("packageClasses") {
        archiveAppendix = "classes"
        destinationDirectory = archivesDirPath
    
        from(tasks.compileJava)
    }
    // end::link-task-properties[]
    
    // tag::nested-specs[]
    tasks.register<Copy>("nestedSpecs") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:03:24 UTC 2024
    - 892 bytes
    - Viewed (0)
Back to top