Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,099 for myHost (0.17 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/TestLauncherDebugTestsCrossVersionTest.groovy

                ${mavenCentralRepository()}
                dependencies { ${testImplementationConfiguration} 'junit:junit:4.13' }
            """
            file('src/test/java/example/MyTest.java').text = """
                package example;
                public class MyTest {
                    @org.junit.Test public void foo() throws Exception {
                         org.junit.Assert.assertEquals(1, 1);
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/apply_test.go

    	yamlBody := []byte(fmt.Sprintf(`
    apiVersion: %s
    kind: %s
    metadata:
      name: mytest
    values:
      numVal: 1
      boolVal: true
      stringVal: "1"`, apiVersion, kind))
    	result, err := rest.Patch(types.ApplyPatchType).
    		AbsPath("/apis", noxuDefinition.Spec.Group, noxuDefinition.Spec.Versions[0].Name, noxuDefinition.Spec.Names.Plural).
    		Name("mytest").
    		Param("fieldManager", "apply_test").
    		Body(yamlBody).
    		DoRaw(context.TODO())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterTestTaskIntegrationTest.groovy

        @Override
        String getStandaloneTestClass() {
            return testClass('MyTest')
        }
    
        @Override
        String testClass(String className) {
            return """
                import org.junit.jupiter.api.*;
    
                public class $className {
                   @Test
                   @Tag("MyTest\$Fast")
                   public void fastTest() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top