Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testGreeting (0.42 sec)

  1. 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)
  2. 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)
  3. 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