Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 763 for New (0.2 sec)

  1. platforms/software/reporting/src/integTest/groovy/org/gradle/api/reporting/plugins/BuildDashboardPluginIntegrationTest.groovy

            withTests()
        }
    
        private void badTests(TestFile root = testDirectory) {
            root.file("src/test/groovy/org/gradle/Class1.groovy") << "package org.gradle; class TestClass1 { @org.junit.Test void broken() { throw new RuntimeException() } }"
            withTests()
        }
    
        private void withCodenarc(TestFile root = testDirectory) {
            root.file("config/codenarc/rulesets.groovy") << """
                ruleset {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy

    class StartParameterTest extends Specification {
        @Rule private TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        @Rule private SetSystemProperties systemProperties = new SetSystemProperties()
    
        void "new instance has correct state"() {
            def parameter = new StartParameter()
            parameter.settingsFile = 'settingsfile' as File
            parameter.buildFile = 'buildfile' as File
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

        @Rule public TestNameTestDirectoryProvider rootDir = new TestNameTestDirectoryProvider(getClass())
        @Rule public PreconditionVerifier preconditions = new PreconditionVerifier()
    
        @Before public void setUp() {
            baseDir = rootDir.testDirectory
            baseDirConverter = new BaseDirFileResolver(baseDir)
            testFile = new File(baseDir, 'testfile')
            testDir = new File(baseDir, 'testdir')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

                def output = new ByteArrayOutputStream()
                def error = new ByteArrayOutputStream()
                def args = executer.allArgs
                args.remove("--no-daemon")
    
                model = connection.model(type)
                    .forTasks(tasks)
                    .withArguments(args)
                    .setStandardOutput(new TeeOutputStream(output, System.out))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            } else {
                Tar tar = new Tar()
                tar.setProject(new Project())
                setSourceDirectory(tar, readOnly)
                tar.setDestFile(tarFile)
                tar.execute()
            }
        }
    
        void tgzTo(TestFile tarFile, boolean readOnly) {
            Tar tar = new Tar()
            tar.setProject(new Project())
            setSourceDirectory(tar, readOnly)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy

            when:
            workerFactory = new DefaultWorkerProcessFactory(
                loggingManager(LogLevel.INFO),
                server,
                classPathRegistry,
                new LongIdGenerator(),
                gradleUserHome(),
                new GradleUserHomeTemporaryFileProvider({ gradleUserHome() }),
                execHandleFactory,
                new DefaultJvmVersionDetector(new CachingJvmMetadataDetector(defaultJvmMetadataDetector)),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy

    class FullExceptionFormatterTest extends Specification {
        def testDescriptor = new SimpleTestDescriptor()
        def testLogging = Mock(TestLogging)
        def formatter = new FullExceptionFormatter(testLogging)
    
        def "shows all exceptions that have occurred for a test"() {
            expect:
            formatter.format(testDescriptor, [new RuntimeException("oops"), new Exception("ouch")]) == """\
        java.lang.RuntimeException: oops
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectSetSpec.groovy

        private final Namer<Bean> namer = new Namer<Bean>() {
            String determineName(Bean bean) {
                return bean.name
            }
        };
        DefaultNamedDomainObjectSet<Bean> container = instantiator.newInstance(DefaultNamedDomainObjectSet.class, Bean.class, instantiator, namer, callbackActionDecorator)
        Bean a = new BeanSub1("a")
        Bean b = new BeanSub1("b")
        Bean c = new BeanSub1("c")
        Bean d = new BeanSub2("d")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaClassChangeIncrementalCompilationIntegrationTest.groovy

                            System.out.println(new Anonymous1().getAnonymous().foo());
                            System.out.println(new Anonymous2().getAnonymous().foo());
                            System.out.println(new MethodLocal1().getAnonymous().foo());
                            System.out.println(new MethodLocal2().getAnonymous().foo());
                            System.out.println(new Lambda1().getAnonymous().foo());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  10. subprojects/core-api/src/test/groovy/org/gradle/model/internal/core/ModelTypeTest.groovy

            expect:
            def type = new ModelType<List<Integer>>() {}
            def same = new ModelType<List<Integer>>() {}
            def raw = ModelType.of(List)
            def superType = new ModelType<Collection<Integer>>() {}
            def differentTypeParam = new ModelType<List<String>>() {}
            def upperBound = new ModelType<List<? extends Number>>() {}
            def lowerBound = new ModelType<List<? super Integer>>() {}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 22.3K bytes
    - Viewed (0)
Back to top