Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 744 for New (0.04 sec)

  1. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultGradleRunnerTest.groovy

    class DefaultGradleRunnerTest extends Specification {
    
        public static final BuildOperationParameters BUILD_OPERATION_PARAMETERS = new BuildOperationParameters(GradleVersion.version('2.4'), false)
    
        @Rule
        SetSystemProperties sysProp = new SetSystemProperties()
        @Rule
        TestNameTestDirectoryProvider testDirectoryProvider = new TestNameTestDirectoryProvider(getClass())
        GradleExecutor gradleExecutor = Mock(GradleExecutor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/VariantFilesMetadataRulesTest.groovy

            def dependencies = deps.collect { name ->
                new IvyDependencyDescriptor(newSelector(DefaultModuleIdentifier.newId('org.test', name), '1.0'), ImmutableListMultimap.of('runtime', 'runtime'))
            }
            def runtimeConf = new Configuration('runtime', true, true, [])
            def defaultConf = new Configuration('default', true, true, ['runtime'])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

            when:
            List<RelativePath> paths = new ArrayList<RelativePath>()
            parentSpec.buildRootResolver().walk(new Action<CopySpecResolver>() {
                void execute(CopySpecResolver csr) {
                    paths.add(csr.destPath)
                }
            })
    
            then:
            paths == [
                new RelativePath(false),
                new RelativePath(false, 'child'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/ModuleVersionNotFoundExceptionTest.groovy

        }
    
        def "formats message to include id when no locations"() {
            def exception = new ModuleVersionNotFoundException(newId("org", "a", "1.2"), [])
    
            expect:
            exception.message == 'Could not find org:a:1.2.'
        }
    
        def "formats message to include id and locations"() {
            def exception = new ModuleVersionNotFoundException(newId("org", "a", "1.2"), ["http://somewhere", "file:/somewhere"])
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/visualstudio/internal/NativeSpecVisualStudioTargetBinaryTest.groovy

            def sourceSets = new DefaultDomainObjectSet<LanguageSourceSet>(LanguageSourceSet, CollectionCallbackActionDecorator.NOOP)
            def sourcefile1 = new File('file1')
            def sourcefile2 = new File('file2')
            def sourcefile3 = new File('file3')
            def resourcefile1 = new File('file4')
            def resourcefile2 = new File('file5')
            def resourcefile3 = new File('file6')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenGradleModuleMetadataPublishIntegrationTest.groovy

                version = '1.0'
    
                def comp = new TestComponent()
                comp.usages.add(new TestUsage(
                        name: 'api',
                        usage: objects.named(Usage, 'api'),
                        dependencies: configurations.implementation.allDependencies,
                        attributes: testAttributes))
    
                comp.usages.add(new TestUsage(
                        name: 'impl',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationCppInteroperabilityIntegrationTest.groovy

            createDirs("app", "greeter", "cppGreeter")
            settingsFile << "include 'app', 'greeter', 'cppGreeter'"
            def cppGreeter = new CppGreeterFunction()
            def swiftGreeter = new SwiftGreeterUsingCppFunction(cppGreeter)
            def sumLibrary = new SwiftSum()
            def app = new SwiftAppWithDep(swiftGreeter, sumLibrary)
    
            given:
            buildFile << """
                project(':app') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy

            return new Snippets() {
                @Override
                String getBody() {
                    return body
                }
    
                @Override
                String getImports() {
                    return imports
                }
            }
        }
    
        static PrintProcessOutput processBuilder() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectorSerializerTest.groovy

        private final ComponentSelectorSerializer serializer = new ComponentSelectorSerializer(new DesugaredAttributeContainerSerializer(AttributeTestUtil.attributesFactory(), TestUtil.objectInstantiator()))
    
        private static ImmutableVersionConstraint constraint(String version, String preferredVersion = '', String strictVersion = '', List<String> rejectVersions = [], String branch = null) {
            return new DefaultImmutableVersionConstraint(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/WorkerExecutorFixture.groovy

                            outputFile.createNewFile();
                            out = new PrintWriter(new BufferedWriter(new FileWriter(outputFile)));
                            out.print(id);
                        } catch (Exception e) {
                            throw new RuntimeException(e);
                        } finally {
                            if (out != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 12:36:12 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top