Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testGreeting (0.31 sec)

  1. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/swiftlibrary/HelloTests.swift.template

    ${fileComment.multilineComment}
    import XCTest
    @testable import ${moduleName.groovyString}
    
    class HelloTests: XCTestCase {
        public static var allTests = [
            ("testGreeting", testGreeting),
        ]
    
        func testGreeting() {
            XCTAssertEqual("Hello, World!", Hello().greeting())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 298 bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/swiftapp/GreeterTests.swift.template

    ${fileComment.multilineComment}
    import XCTest
    @testable import ${moduleName.groovyString}
    
    class GreeterTests: XCTestCase {
        public static var allTests = [
            ("testGreeting", testGreeting),
        ]
    
        func testGreeting() {
            XCTAssertEqual("Hello, World!", Greeter().greeting())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 302 bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftLibraryInitIntegrationTest.groovy

                import XCTest
                @testable import Lib
                class HolaTests: XCTestCase {
                    public static var allTests = [
                        ("testGreeting", testGreeting),
                    ]
    
                    func testGreeting() {
                        XCTAssertEqual("Hola, Mundo!", hola())
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftApplicationInitIntegrationTest.groovy

                import XCTest
                @testable import App
    
                class HolaTests: XCTestCase {
                    public static var allTests = [
                        ("testGreeting", testGreeting),
                    ]
    
                    func testGreeting() {
                        XCTAssertEqual("Hola, Mundo!", hola())
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

                import org.junit.Test;
                import static org.junit.Assert.*;
    
                public class TextTest {
                    @Test
                    public void testGreeting() {
                        assertEquals("Hello, Cedric", Text.sayHello("cedric"));
                    }
                }
            '''
    
            when:
            run 'test'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top