Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for mytext3 (0.97 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

                    output = layout.buildDirectory.dir("producer")
                }
    
                def myExt = extensions.create("myExt", MyExt)
                myExt.artifactDir = producer.flatMap { it.output }
    
                tasks.register("consumer", Consumer) {
                   fileNames = myExt.artifactDir.map {
                      it.asFileTree.collect { it.absolutePath }
                   }.orElse([ "else" ])
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                }
    
                build.dependsOn secondTest
            """
            addDefaultTests()
        }
    
        void addDefaultTests() {
            file("src/test/java/example/MyTest.java") << """
                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: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestSpec.java

     *          .includePackage("org.pkg")                               // execute all tests declared the org.pkg package and its sub-packages
     *          .includeClass("com.MyTest")                              // execute the MyTest test class
     *          .includeMethod("com.OtherTest", Arrays.asList("verify")) // execute the OtherTest.verify() test method
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4TestTaskIntegrationTest.groovy

     */
    abstract class AbstractJUnit4TestTaskIntegrationTest extends AbstractTestTaskIntegrationTest implements JUnit4CommonTestSources {
        @Override
        String getStandaloneTestClass() {
            return testClass('MyTest')
        }
    
        @Override
        String testClass(String className) {
            return """
                import org.junit.*;
                import org.junit.experimental.categories.Category;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. internal/s3select/sql/parser_test.go

    	// }
    }
    
    func TestParseSelectStatement(t *testing.T) {
    	exp, err := ParseSelectStatement("select _3,_1,_2 as 'mytest'  from S3object")
    	if err != nil {
    		t.Fatalf("parse alias sql error: %v", err)
    	}
    	if exp.selectAST.Expression.Expressions[2].As != "mytest" {
    		t.Fatalf("parse alias sql error: %s not equal %s", exp.selectAST.Expression.Expressions[2].As, err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/BuildProgressCrossVersionSpec.groovy

                compileTestJava.options.fork = true  // forked as 'Gradle Test Executor 1'
            """
    
            file("src/test/java/MyTest.java") << """
                package example;
                public class MyTest {
                    @org.junit.Test public void foo() throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderConventionMappingIntegrationTest.groovy

                    Provider<String> getFoo() {
                        return other
                    }
                }
    
                extensions.create("myext", MyExtension)
                myext {
                    conventionMapping.map("foo", { project.provider { "foobar" } })
                    other.convention("other")
                }
            """
    
            expect:
            runAndFail 'help'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 12:27:37 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt

                "src/test/kotlin/test.kt",
                """
    
                import org.gradle.testfixtures.ProjectBuilder
                import org.junit.Test
                import org.gradle.kotlin.dsl.*
    
                class MyTest {
    
                    @Test
                    fun `my test`() {
                        ProjectBuilder.builder().build().run {
                            apply<MyPlugin>()
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesGroovyDSLDependenciesIntegrationTest.groovy

            and: "containing a test which uses a fixture method"
            file("consumer/src/integrationTest/java/org/test/MyTest.java") << """
                package org.test;
    
                import org.junit.jupiter.api.Assertions;
                import org.junit.jupiter.api.Test;
    
                public class MyTest {
                    @Test
                    public void testSomething() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

    <h3>section 1.1</h3>
    text2
    <h2>section 2</h2>
    text3
    '''
    
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<section><title>section1</title><para>
    text1
    </para><section><title>section 1.1</title><para>
    text2
    </para></section></section><section><title>section 2</title><para>
    text3</para></section>'''
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
Back to top