Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 227 for test_$it (0.16 sec)

  1. platforms/documentation/docs/src/snippets/testKit/spockQuickstart/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy

    package org.gradle.sample
    
    // tag::functional-test-spock[]
    import org.gradle.testkit.runner.GradleRunner
    import static org.gradle.testkit.runner.TaskOutcome.*
    import spock.lang.TempDir
    import spock.lang.Specification
    
    class BuildLogicFunctionalTest extends Specification {
        @TempDir File testProjectDir
        File settingsFile
        File buildFile
    
        def setup() {
            settingsFile = new File(testProjectDir, 'settings.gradle')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/feature/BuildResultOutputFeatureCheck.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.internal.feature;
    
    import org.gradle.internal.deprecation.DeprecationLogger;
    import org.gradle.testkit.runner.UnsupportedFeatureException;
    import org.gradle.util.GradleVersion;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 14:27:21 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/src/functionalTest/groovy/org/myorg/UrlVerifierPluginFunctionalTest.groovy

    package org.myorg
    
    import org.gradle.testkit.runner.GradleRunner
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import static org.gradle.testkit.runner.TaskOutcome.SUCCESS
    
    class UrlVerifierPluginFunctionalTest extends Specification {
        @TempDir File testProjectDir
        File buildFile
    
        def setup() {
            buildFile = new File(testProjectDir, 'build.gradle')
            buildFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithLibraryIntegrationTest.groovy

            """
            file("src/test/cpp/test_lib.cpp") << """
                #include <lib.h>
                #include <tests.h>
                int main() {
                    return lib();
                }
            """
        }
    
        @Override
        protected void changeTestImplementation() {
            file("src/test/cpp/test_lib.cpp") << """
                void test_func() { }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/AbstractPublishArtifactTest.groovy

    public abstract class AbstractPublishArtifactTest extends Specification {
        private static final File TEST_FILE = new File("artifactFile");
        private static final String TEST_NAME = "myfile-1";
        private static final String TEST_EXT = "ext";
        private static final String TEST_TYPE = "type";
        private static final String TEST_CLASSIFIER = "classifier";
        private static final Date TEST_DATE = new Date();
    
        protected File getTestFile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 17 11:02:13 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/README.adoc

    Since services differ from libraries, different requirements for documentation are configured in this case.
    
    All plugins created in this sample contain functional tests that use link:{userManualPath}/test_kit.html[TestKit] to verify their behavior.
    
    
    == Compiling convention plugins
    
    In this sample, convention plugins are implemented as link:{userManualPath}/custom_plugins.html#sec:precompiled_plugins[precompiled script plugins] -
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/README.adoc

    Since services differ from libraries, different requirements for documentation are configured in this case.
    
    All plugins created in this sample contain functional tests that use link:{userManualPath}/test_kit.html[TestKit] to verify their behavior.
    
    
    == Compiling convention plugins
    
    In this sample, convention plugins are implemented as link:{userManualPath}/custom_plugins.html#sec:precompiled_plugins[precompiled script plugins] -
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerUnsupportedGradleVersionFailureIntegrationTest.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.testkit.runner
    
    import org.gradle.testkit.runner.fixtures.NonCrossVersion
    
    import static org.gradle.tooling.internal.consumer.DefaultGradleConnector.MINIMUM_SUPPORTED_GRADLE_VERSION
    
    @NonCrossVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsConcurrencyIntegrationTest.groovy

        private static final int CONCURRENT_BUILDS_PROJECT_COUNT = 4
        private static final int CONCURRENT_TASKS_PROJECT_COUNT = 4
    
        def "Gradle API and TestKit dependency can be resolved and used by concurrent Gradle builds"() {
            given:
            setupProjects(CONCURRENT_BUILDS_PROJECT_COUNT) { projectDirName, buildFile ->
                buildFile << testablePluginProject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultBuildTaskTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.internal
    
    import org.gradle.testkit.runner.TaskOutcome
    import spock.lang.Specification
    
    class DefaultBuildTaskTest extends Specification {
        def "can create String representation"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1K bytes
    - Viewed (0)
Back to top