- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 744 for New (0.02 sec)
-
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollectorSpec.groovy
def TestOutputStore.Writer writer = Mock() def collector = new TestReportDataCollector(results, writer) def "keeps track of test results"() { def root = new DefaultTestSuiteDescriptor("1", "Suite") def clazz = new DecoratingTestDescriptor(new DefaultTestClassDescriptor("1.1", "FooTest"), root) def test1 = new DecoratingTestDescriptor(new DefaultTestDescriptor("1.1.1", "FooTest", "testMethod"), clazz)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 10.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/buildevents/BuildExceptionReporterTest.groovy
def failure1 = new LocationAwareException(new TaskExecutionException(null, new TestNonGradleCauseException()), LOCATION, 42) def failure2 = new LocationAwareException(new TaskExecutionException(null, new TestCompilationFailureException()), LOCATION, 42) def failure3 = new RuntimeException("<error>") Throwable exception = new MultipleBuildFailures([failure1, failure2, failure3])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactoryTest.groovy
def classpath = underTest.create([ new File("app-cls-1.0.jar"), new File("app-mod-1.0.jar"), new File("impl-cls-1.0.jar"), new File("impl-mod-1.0.jar") ], [], framework, true) then: classpath.applicationClasspath == [new File("app-cls-1.0.jar"), new File("app-mod-1.0.jar"), new File("impl-cls-1.0.jar"), new File("impl-mod-1.0.jar")] classpath.applicationModulepath.isEmpty()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 14.5K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy
} def "can serialize Build message"() { expect: def action = new TestAction() def clientMetadata = new GradleLauncherMetaData() def params = new DefaultBuildActionParameters([:], [:], new File("some-dir"), LogLevel.ERROR, true, ClassPath.EMPTY) def message = new Build(UUID.randomUUID(), [1, 2, 3] as byte[], action, clientMetadata, 1234L, true, params)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:54:56 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileTreeTest.groovy
} def testCanFilterAndSelectFiles() { File included1 = new File(testDir, 'subDir/included1') File included2 = new File(testDir, 'subDir2/included2') File excluded1 = new File(testDir, 'subDir/notincluded') File excluded2 = new File(testDir, 'subDir/excluded') File ignored1 = new File(testDir, 'ignored')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationBridgeTest.groovy
broadcast.finished(d7, new OperationFinishEvent(-1, -1, null, null)) broadcast.finished(d6, new OperationFinishEvent(-1, -1, null, null)) broadcast.finished(d5, new OperationFinishEvent(-1, -1, null, null)) broadcast.finished(d4, new OperationFinishEvent(-1, -1, null, null)) broadcast.finished(d2, new OperationFinishEvent(-1, -1, null, null))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/bean/DefaultPropertyWalkerTest.groovy
def task = project.tasks.create("myTask", TaskWithNestedObject) def cycle = new Tree(value: "cycle", left: new Tree(value: "left")) cycle.right = cycle task.nested = new Tree(value: "first", left: new Tree(value: "left"), right: new Tree(value: "deeper", left: cycle, right: new Tree(value: "no-cycle"))) when: visitProperties(task) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/transfer/AccessorBackedExternalResourceTest.groovy
0 * _ } def "closes response when Action fails"() { def name = new ExternalResourceName("resource") def action = Mock(Action) def resource = new AccessorBackedExternalResource(name, resourceAccessor, resourceUploader, resourceLister, true) def failure = new RuntimeException() when: expectResourceRead(name, "1234")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/FingerprintCompareStrategyTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 13.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r85/TestFailureProgressEventCrossVersionTest.groovy
FileInfo expected = new FileInfo("/path/from", new byte[]{ 0x0 }); throw new AssertionFailedError( "Asymmetric expected and actual objects", expected, "actual content" ); } } ''' def collector = new TestFailureEventCollector() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 10 17:52:51 UTC 2023 - 12.8K bytes - Viewed (0)