Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 562 for rctest (0.11 sec)

  1. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/AbstractSwiftXCTestIntegrationTest.groovy

                func test() -> Int32 { return 1; }
            """
        }
    
        @Override
        protected void assertTestCasesRan() {
            passingTestFixture.assertTestCasesRan(testExecutionResult)
        }
    
        @Override
        String[] getTasksToBuildAndRunUnitTest() {
            return tasks.test.allToInstall + [":xcTest"]
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/SwiftXCTestBundle.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.test.xctest;
    
    import org.gradle.api.provider.Provider;
    import org.gradle.nativeplatform.tasks.LinkMachOBundle;
    
    /**
     * An XCTest executable for tests implemented in Swift.
     *
     * @since 4.5
     */
    public interface SwiftXCTestBundle extends SwiftXCTestBinary {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestComponentWithApplicationIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.test.xctest
    
    import org.gradle.nativeplatform.fixtures.app.MainWithXCTestSourceElement
    import org.gradle.nativeplatform.fixtures.app.SwiftAppWithXCTest
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/AbstractSwiftXCTestComponentIntegrationTest.groovy

            return new Swift5XCTest('project')
        }
    
        @Override
        List<String> getTasksToAssembleDevelopmentBinaryOfComponentUnderTest() {
            return [tasks.test.allToInstall, ":xcTest"]
        }
    
        @Override
        String getComponentName() {
            return "test"
        }
    
        protected abstract XCTestSourceElement getComponentUnderTest()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/XCTestTestFrameworkIntegrationTest.groovy

            file("src/test/swift/NoTests.swift") << """
                func someSwiftCode() {
                }
            """
        }
    
        @Override
        void renameTests() {
            def newTest = file("src/test/swift/NewTest.swift")
            file("src/test/swift/SomeOtherTest.swift").renameTo(newTest)
            newTest.text = newTest.text.replaceAll("SomeOtherTest", "NewTest")
            def linuxMain = file("src/test/swift/LinuxMain.swift")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestWithStaticLibraryLinkageIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.test.xctest
    
    import org.gradle.nativeplatform.fixtures.app.SwiftLibWithXCTest
    import org.gradle.nativeplatform.fixtures.app.XCTestSourceElement
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_coverpkg_partial.txt

    go test -coverpkg=./a ./...
    stdout '^ok\s+M/a\s+\S+\s+coverage: 100.0% of statements in ./a'
    stdout '^\s*\?\s+M/f\s+\[no test files\]'
    
    -- a/a.go --
    package a
    
    import "M/f"
    
    var G int
    
    func AFunc() int {
    	G = 1
    	return f.Id()
    }
    -- a/a_test.go --
    package a
    
    import "testing"
    
    func TestA(t *testing.T) {
    	if AFunc() != 42 {
    		t.Fatalf("bad!")
    	}
    }
    -- b/b.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:12:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

    		public class ATest {
                    @Test public void test() { System.out.println("ATest!"); }
                }
            """
            file('src/test/java/BTest.java') << """
                ${testFrameworkImports}
                public class BTest {
                    @Test public void test() { System.out.println("BTest!"); }
                }
            """
            file('src/test/java/CTest.java') << """
                ${testFrameworkImports}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/SwiftXCTestExecutable.java

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.test.xctest;
    
    import org.gradle.language.nativeplatform.ComponentWithExecutable;
    import org.gradle.language.nativeplatform.ComponentWithInstallation;
    
    /**
     * An XCTest executable for tests implemented in Swift.
     *
     * @since 4.5
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1004 bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java

    /**
     * Takes an XCTestTestExecutionSpec and executes the given test binary.
     *
     * This class is mostly responsible for managing the starting/stopping of the test process and wiring together the
     * different test execution bits (output scraping, event generation, process handling).
     *
     * NOTE: Eventually, we would like to replace some of this with a lower level integration with XCTest, which would
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top