Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for PersonSpec (0.08 sec)

  1. platforms/documentation/docs/src/snippets/scala/scala3/kotlin/src/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.runner.RunWith
    import org.scalatest.FunSpec
    import org.scalatest.junit.JUnitRunner
    
    @RunWith(classOf[JUnitRunner])
    class PersonSpec extends FunSpec:
      describe("create a person") {
        it("should succeed for scala") {
          val person: Named = new Person(List("bob smith"))
          person
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 341 bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesScalaCustomizedLayoutIntegrationTest.groovy

            // Check tests have run
            def result = new DefaultTestExecutionResult(projectDir)
            result.assertTestClassesExecuted('org.gradle.sample.PersonSpec')
    
            // Check contents of Jar
            TestFile jarContents = file('jar')
            projectDir.file("build/libs/customized-layout-1.0.jar").unzipTo(jarContents)
            jarContents.assertHasDescendants(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesScalaQuickstartIntegrationTest.groovy

            // Check tests have run
            def result = new DefaultTestExecutionResult(projectDir)
            result.assertTestClassesExecuted('org.gradle.sample.PersonSpec')
    
            // Check contents of Jar
            TestFile jarContents = file('jar')
            projectDir.file("build/libs/quickstart.jar").unzipTo(jarContents)
            jarContents.assertHasDescendants(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesMixedJavaAndScalaIntegrationTest.groovy

            // Check tests have run
            def result = new DefaultTestExecutionResult(projectDir)
            result.assertTestClassesExecuted('org.gradle.sample.PersonSpec')
    
            // Check contents of Jar
            TestFile jarContents = file('jar')
            projectDir.file("build/libs/mixed-java-and-scala-1.0.jar").unzipTo(jarContents)
            jarContents.assertHasDescendants(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top