- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 263 for testTimes (0.27 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopySpecMatchingTest.groovy
import org.gradle.api.internal.file.TestFiles import org.gradle.internal.Actions import org.gradle.util.TestUtil import spock.lang.Specification class CopySpecMatchingTest extends Specification { DefaultCopySpec copySpec = new DefaultCopySpec(TestFiles.fileCollectionFactory(), TestUtil.objectFactory(), TestUtil.instantiatorFactory().decorateLenient(), TestFiles.patternSetFactory) def canMatchFiles() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 28 12:39:32 UTC 2023 - 5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/ZipFileTreeTest.java
import java.util.Map; import static org.gradle.api.file.FileVisitorUtil.assertVisitsPermissions; import static org.gradle.api.internal.file.TestFiles.directoryFileTreeFactory; import static org.gradle.api.internal.file.TestFiles.fileHasher; import static org.gradle.api.internal.file.TestFiles.fileSystem; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; import static org.junit.Assert.fail;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/DefaultFlatDirArtifactRepositoryTest.groovy
repo.dirs('a', 'b') same.dirs('a', 'b') different.dirs('a') and: _ * fileCollectionFactory.resolving(['a', 'b']) >> TestFiles.fixed(new File('a'), new File('b')) _ * fileCollectionFactory.resolving(['a']) >> TestFiles.fixed(new File('a')) expect: same.descriptor.id == repo.descriptor.id different.descriptor.id != repo.descriptor.id when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy
class DefaultCompositeFileTreeTest extends WorkspaceTest { private DefaultCompositeFileTree newCompositeFileTree(List<? extends FileTreeInternal> fileTrees) { new DefaultCompositeFileTree(TestFiles.taskDependencyFactory(), TestFiles.patternSetFactory, fileTrees) } def "can be empty"() { when: def ft = newCompositeFileTree([]) then: ft.files.isEmpty() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/JavaExecHandleBuilderTest.groovy
JavaExecHandleBuilder builder = new JavaExecHandleBuilder( TestFiles.resolver(), TestFiles.fileCollectionFactory(), TestUtil.objectFactory(), Mock(Executor), new DefaultBuildCancellationToken(), temporaryFileProvider, null, TestFiles.execFactory().newJavaForkOptions() )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 15 17:11:21 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractFileSystemAccessTest.groovy
@Rule final TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass()) def fileHasher = new AllowingHasher(TestFiles.fileHasher()) def fileSystem = new AllowingStat(TestFiles.fileSystem()) def updateListener = Mock(FileSystemAccess.WriteListener) def statisticsCollector = Mock(DirectorySnapshotterStatistics.Collector)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:55 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorIntegrationTest.groovy
def "works on real installation"() { when: def detector = new DefaultJvmMetadataDetector( () -> new DefaultExecHandleBuilder(TestFiles.pathToFileResolver(), Executors.newCachedThreadPool()), TestFiles.tmpDirTemporaryFileProvider(new File(SystemProperties.getInstance().getJavaIoTmpDir())) )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 18:25:34 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/RemovePreviousOutputsStepTest.groovy
visitor.visitOutputProperty("dir", TreeType.DIRECTORY, UnitOfWork.OutputFileValueSupplier.fromStatic(outputs.dir, TestFiles.fixed(outputs.dir))) visitor.visitOutputProperty("file", TreeType.FILE, UnitOfWork.OutputFileValueSupplier.fromStatic(outputs.file, TestFiles.fixed(outputs.file))) } _ * context.previousExecutionState >> Optional.of(previousExecutionState)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 8.3K bytes - Viewed (0) -
src/embed/internal/embedtest/embed_test.go
} //go:embed testdata var testDirAll embed.FS func TestDir(t *testing.T) { all := testDirAll testFiles(t, all, "testdata/hello.txt", "hello, world\n") testFiles(t, all, "testdata/i/i18n.txt", "internationalization\n") testFiles(t, all, "testdata/i/j/k/k8s.txt", "kubernetes\n") testFiles(t, all, "testdata/ken.txt", "If a program is too slow, it must have a loop.\n") testDir(t, all, ".", "testdata/")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 20:10:16 UTC 2023 - 5.4K bytes - Viewed (0) -
pkg/controller/deployment/progress_test.go
Reason: util.NewRSAvailableReason, LastUpdateTime: testTime, LastTransitionTime: testTime, } replicaSetUpdated := apps.DeploymentCondition{ Type: apps.DeploymentProgressing, Status: v1.ConditionTrue, Reason: util.ReplicaSetUpdatedReason, LastUpdateTime: testTime, LastTransitionTime: testTime, } tests := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0)