Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for PersonSpec (0.2 sec)

  1. platforms/documentation/docs/src/snippets/scala/mixedJavaAndScala/groovy/src/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.Test
    
    class PersonSpec {
      @Test
      def createPersonShouldSucceedForScala(): Unit = {
        def person: Named = new Person("bob smith")
      }
    
      @Test
      def createPersonShouldSucceedForJava(): Unit = {
        def person: Named = new JavaPerson("alice smith")
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 301 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/scala/zinc/kotlin/src/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.Test
    
    class PersonSpec {
      @Test
      def personCreationShouldSuccessfullyCreatePerson(): Unit = {
        def person: Named = new Person(List("bob", "smith"))
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 203 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/scala/quickstart/groovy/src/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.Test
    
    class PersonSpec {
      @Test
      def personCreationShouldSuccessfullyCreatePerson(): Unit = {
        def person: Named = new Person(List("bob", "smith"))
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 203 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/scala/zinc/groovy/src/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.Test
    
    class PersonSpec {
      @Test
      def personCreationShouldSuccessfullyCreatePerson(): Unit = {
        def person: Named = new Person(List("bob", "smith"))
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 203 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/scala/force/groovy/src/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.Test
    
    class PersonSpec {
      @Test
      def personCreationShouldSuccessfullyCreatePerson(): Unit = {
        def person: Named = new Person(List("bob", "smith"))
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 203 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/scala/quickstart/kotlin/src/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.Test
    
    class PersonSpec {
      @Test
      def personCreationShouldSuccessfullyCreatePerson(): Unit = {
        def person: Named = new Person(List("bob", "smith"))
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 203 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/scala/force/kotlin/src/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.Test
    
    class PersonSpec {
      @Test
      def personCreationShouldSuccessfullyCreatePerson(): Unit = {
        def person: Named = new Person(List("bob", "smith"))
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 203 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/scala/customizedLayout/groovy/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.Test
    
    class PersonSpec {
      @Test
      def personCreationShouldSuccessfullyCreatePerson(): Unit = {
        def person: Named = new Person(List("bob", "smith"))
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 203 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/scala/customizedLayout/kotlin/test/scala/org/gradle/sample/PersonSpec.scala

    package org.gradle.sample
    
    import org.junit.Test
    
    class PersonSpec {
      @Test
      def personCreationShouldSuccessfullyCreatePerson(): Unit = {
        def person: Named = new Person(List("bob", "smith"))
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 203 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/scala/scala3/groovy/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
    - 342 bytes
    - Viewed (0)
Back to top