Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 747 for broken1 (0.33 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/rc/WindowsResourcesUnsupportedIntegrationTest.groovy

    }
    
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
             """
    
            and:
            helloWorldApp.writeSources(file("src/main"))
            file("src/main/rc/broken.rc") << """
            #include <stdio.h>
    
            NOT A VALID RESOURCE
    """
    
            when:
            run "mainExecutable"
    
            then:
            notExecuted(":compileMainExecutableMainRc")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/assembler/AssemblyLanguageIntegrationTest.groovy

            given:
            buildFile << """
    model {
        components {
            main(NativeExecutableSpec)
        }
    }
            """
    
            and:
            file("src/main/asm/broken.s") << """
    .section    __TEXT,__text,regular,pure_instructions
    .globl  _sum
    .align  4, 0x90
    _sum:
    pushl
    """
    
            expect:
            fails "mainExecutable"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                    documentationRoot = project.layout.projectDirectory.dir('docsRoot')
                    javadocRoot = documentationRoot.dir('javadoc')
                }
            """
        }
    
        def "finds broken section links"() {
            given:
            sampleDoc << """
    === Dead Section Links
    This section doesn't exist: <<missing_section>>
    Also see this one, which is another dead link: <<other_missing_section>>
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 28 22:01:54 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableArtifactResolveResultTest.groovy

            result.result
    
            then:
            def e = thrown(ArtifactNotFoundException)
            result.failure == e
        }
    
        def "can have failure result"() {
            def failure = new ArtifactResolveException("broken")
    
            when:
            result.failed(failure)
    
            then:
            result.failure == failure
            result.hasResult()
    
            when:
            result.result
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginEndOfBuildCallbackIntegrationTest.groovy

            then:
            plugin.assertEndOfBuildWithFailure(output, null)
            failure.assertHasDescription("broken")
    
            when:
            fails succeedingTaskName, "-Dbuild-listener-failure"
    
            then:
            plugin.assertEndOfBuildWithFailure(output, null)
            failure.assertHasDescription("broken")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy

            server.resetExpectations()
            and:
            run 'retrieve'
    
            then:
            file('libs/projectA-1.5.jar').assertHasNotChangedSince(snapshot)
        }
    
        def "reports and recovers from broken maven-metadata.xml and directory listing"() {
            given:
            mavenHttpRepo.module('group', 'projectA', '1.0').publish()
            def projectA = mavenHttpRepo.module('group', 'projectA', '1.5').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/RepositoryChainComponentMetaDataResolverTest.groovy

    import org.gradle.internal.service.ServiceRegistry
    import spock.lang.Specification
    
    class RepositoryChainComponentMetaDataResolverTest extends Specification {
        final org.gradle.internal.Factory<String> broken = { "broken" }
        final metaData = metaData("1.2")
        final componentState = Stub(ModuleComponentGraphResolveState) {
            getLegacyMetadata() >> metaData
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitSmokeMultiVersionIntegrationTest.groovy

                public class Junit4Test {
                    @Test
                    public void ok() {
                    }
    
                    @Test
                    @Ignore
                    public void broken() {
                        throw new RuntimeException();
                    }
    
                    public void helpermethod() {
                    }
                }
            """.stripIndent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcEventsIntegrationTest.groovy

            file("buildSrc/build.gradle") << """
                gradle.buildFinished {
                    println "buildSrc finished"
                    throw new RuntimeException("broken")
                }
            """
            buildFile << """
                gradle.buildFinished { result ->
                    println "root build finished"
                    assert result.failure != null
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 13 02:04:27 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

                                        tsl::FileSystem** result) override {
        return absl::InternalError("Broken file system");
      }
    
     private:
      void GetLocalTempDirectories(std::vector<tsl::string>* list) override {
        list->push_back("/tmp");
      }
    };
    
    // Represents an environment with broken file system and no available local tmp
    // directories.
    class TestEnvBrokenFileSystemAndNoLocalTempDirs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top