Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for smith (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/documentation/docs/src/snippets/modelRules/configureAsRequired/tests/modelDslConfigureRuleRunWhenRequired.out

    configuring person
    
    > Task :showPerson
    Hello John Smith!
    
    BUILD SUCCESSFUL in 0s
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 111 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/documentation/docs/src/snippets/scala/scala3/groovy/src/test/scala/org/gradle/sample/PersonSpec.scala

    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)
  8. platforms/documentation/docs/src/snippets/scala/scala3/kotlin/src/test/scala/org/gradle/sample/PersonSpec.scala

    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)
  9. platforms/documentation/docs/src/snippets/modelRules/configureElementsOfMap/tests/modelDslModelMapNestedAll.out

    creating Person 'people.barry'
    configuring Person 'people.barry'
    creating Person 'people.john'
    configuring Person 'people.john'
    
    > Task :listPeople
    Hello Barry Barry!
    Hello John Smith!
    
    BUILD SUCCESSFUL in 0s
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 239 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/modelRules/initializationRuleRunsBeforeConfigurationRules/groovy/build.gradle

            println "last name is $lastName, should be Smythe"
            lastName = "Smythe"
        }
        person(Person) {
            println "creating person"
            firstName = "John"
            lastName = "Smith"
        }
    }
    // end::configure-and-create-rules[]
    model {
        tasks {
            showPerson(Task) {
                def p = $.person
                doLast {
                    println "Hello $p.firstName $p.lastName!"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 679 bytes
    - Viewed (0)
Back to top