- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for assertTestCasesRan (0.28 sec)
-
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/AbstractNativeUnitTestIntegrationTest.groovy
writeTests() when: succeeds(task) then: result.assertTasksExecuted(tasksToCompileComponentUnderTest, tasksToBuildAndRunUnitTest, expectedLifecycleTasks) assertTestCasesRan() where: task | expectedLifecycleTasks "test" | [":test"] "check" | [":test", ":check"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/AbstractSwiftXCTestComponentWithTestedComponentIntegrationTest.groovy
succeeds taskNameToAssembleDevelopmentBinary then: result.assertTasksExecuted(tasksToAssembleDevelopmentBinaryOfComponentUnderTest, ":$taskNameToAssembleDevelopmentBinary") swift3Component.assertTestCasesRan(testExecutionResult) } @ToBeFixedForConfigurationCache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/AbstractSwiftXCTestIntegrationTest.groovy
file(passingTestFixture.testSuites.first().sourceFile.withPath("src/test")) << """ 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) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/XCTestSourceElement.java
public void assertTestCasesRan(TestExecutionResult testExecutionResult) { assertTestCasesRanInSuite(testExecutionResult, getTestSuites()); } static void assertTestCasesRanInSuite(TestExecutionResult testExecutionResult, List<XCTestSourceFileElement> testSuites) { for (XCTestSourceFileElement element : testSuites) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithApplicationIntegrationTest.groovy
@Override protected void changeTestImplementation() { file("src/test/cpp/test_app.cpp") << """ void test_func() { } """ } @Override protected void assertTestCasesRan() { // Ok } @Override protected String getComponentUnderTestDsl() { return "application" } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/AbstractSwiftXCTestWithComponentIntegrationTest.groovy
when: succeeds("test") then: result.assertTasksExecuted(tasksToCompileComponentUnderTest, tasksToBuildAndRunUnitTest, ":test") fixture.assertTestCasesRan(testExecutionResult) } protected abstract XCTestSourceElement getPassingTestFixtureUsingPublicAndInternalFeatures()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithLibraryIntegrationTest.groovy
@Override protected void changeTestImplementation() { file("src/test/cpp/test_lib.cpp") << """ void test_func() { } """ } @Override protected void assertTestCasesRan() { // ok } @Override protected String[] getTasksToCompileComponentUnderTest(String architecture) { def debugTasks = tasks.withArchitecture(architecture).debug
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithoutComponentIntegrationTest.groovy
} @Override protected void changeTestImplementation() { file("src/test/cpp/test.cpp") << """ void test_func() { } """ } @Override protected void assertTestCasesRan() { // Ok } @ToBeFixedForConfigurationCache def "test fails when test executable returns non-zero status"() { buildFile << """ apply plugin: 'cpp-unit-test'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftXCTestElement.java
public SourceFile getSourceFile() { return XCTestSourceElement.getLinuxMainSourceFile(testSuites); } }.writeToProject(projectDir); } public void assertTestCasesRan(TestExecutionResult testExecutionResult) { XCTestSourceElement.assertTestCasesRanInSuite(testExecutionResult, getTestSuites()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestCppInteroperabilityIntegrationTest.groovy
then: result.assertTasksExecuted(":cppGreeter:compileDebugCpp", ":cppGreeter:${createOrLink(linkage)}Debug", tasks.debug.compile, tasks.test.allToInstall, ":xcTest", ":test") lib.assertTestCasesRan(testExecutionResult) where: linkage << [SHARED, STATIC] } @ToBeFixedForConfigurationCache def "can specify a test dependency on a library with a dependency on a c++ library"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.5K bytes - Viewed (0)