Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,867 for myHost (0.12 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

         *
         * ```
         * typealias MyString = String
         * typealias MyList<A> = List<A>
         *
         * val list: MyList<MyString> = listOf()
         * ```
         *
         * `MyList<MyString>` may be expanded to a type `List<String>` with an abbreviated type `MyList<String>`, where `String` also has the
         * abbreviated type `MyString`. The abbreviated type is not `MyList<MyString>`, although it might be rendered as such.
         *
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy

            exception.stackTrace = stacktrace
    
            expect:
            formatter.format(testDescriptor, [exception]) == '''\
        java.lang.Exception: ouch
            at org.ClassName1.methodName1(FileName1.java:11)
            at org.ClassName2.methodName2(FileName2.java:22)
            at ClassName$1$1.whatever(MyTest.java:22)
    '''
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsVisibilityIntegrationTest.groovy

        def "cannot compile against classes that are not part of Gradle's public API"() {
            when:
            buildFile << testablePluginProject()
    
            file('src/test/groovy/MyTest.groovy') << """
                class MyTest extends groovy.test.GroovyTestCase {
    
                    void testImplIsHidden() {
                        try {
                            getClass().classLoader.loadClass("$Maps.name")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTaskExecutionCrossVersionSpec.groovy

                ${mavenCentralRepository()}
    
                dependencies {
                    testImplementation 'junit:junit:4.13'
                }
            """
            file('src/test/java/MyTest.java') << '''
                public class MyTest {
    
                    @org.junit.Test
                    public void pass() {
                    }
    
                    // if the test task is executed without a filter then the build fails
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4TestTaskIntegrationTest.groovy

        def "options can be set prior to setting same test framework for the default test task"() {
            given:
            file('src/test/java/MyTest.java') << standaloneTestClass
            file("src/test/java/Slow.java") << """public interface Slow {}"""
    
            settingsFile << "rootProject.name = 'Sample'"
            buildFile << """apply plugin: 'java'
                test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

            }
        }
    
        /**
         * Resolves the return type of a method in a given class.
         *
         * For example, for {@code MyList implements List<String>}, resolving the return type of {@link List#get(int)} in {@code MyList} yields {@link String}.
         */
        public static <T> Type resolveMethodReturnType(Class<T> type, Method method) {
            Type returnType = method.getGenericReturnType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsConcurrencyIntegrationTest.groovy

            given:
            setupProjects(CONCURRENT_BUILDS_PROJECT_COUNT) { projectDirName, buildFile ->
                buildFile << testablePluginProject()
                file("$projectDirName/src/test/groovy/MyTest.groovy") << gradleApiAndTestKitClassLoadingTestClass()
            }
    
            expect:
            concurrentBuildSucceed(CONCURRENT_BUILDS_PROJECT_COUNT, 'test')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheToolingApiInvocationIntegrationTest.groovy

                println("script log statement")
            """
            file("src/test/java/my/MyTest.java") << """
                package my;
                import org.junit.Test;
                public class MyTest {
                    @Test public void test() {}
                }
            """
    
            when:
            runTestClasses("my.MyTest")
    
            then:
            outputContains("script log statement")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

            succeeds("mytest")
    
            then:
            def unitTestResults = new JUnitXmlTestExecutionResult(testDirectory, 'build/test-results/mytest')
            unitTestResults.assertTestClassesExecuted('example.UnitTest')
        }
    
        @Issue("https://github.com/gradle/gradle/issues/18622")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  10. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsIntegrationTest.groovy

                gradle.services.get(${BuildEventsListenerRegistry.name}).onTaskCompletion(listener)
            """
            file("src/test/groovy/my/MyTest.groovy") << """
                package my
                import org.gradle.testfixtures.*
                import org.junit.Test
                class MyTest {
                    @Test void test() {
                        def project = ProjectBuilder.builder().build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top