- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 356 for createRule (0.19 sec)
-
staging/src/k8s.io/apiserver/pkg/server/egressselector/config_test.go
name string contents string createFile bool expectedResult *apiserver.EgressSelectorConfiguration expectedError *string }{ { name: "empty", createFile: true, contents: ``, expectedResult: nil, expectedError: strptr("invalid service configuration object \"\""), }, { name: "absent", createFile: false, contents: ``,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r24/BuildInvocationsCrossVersionSpec.groovy
def "set task selector description taken from task with path that has lowest ordering"() { temporaryFolder.createFile('settings.gradle') << ''' rootProject.name = 'TestProject' include 'sub' ''' temporaryFolder.createFile('build.gradle') << ''' task alpha { description = 'ALPHA from root project' } task beta {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/WindowsKitWindowsSdkLocatorTest.groovy
} def kitDir(String name, String... versions) { def dir = tmpDir.createDir(name) PLATFORMS.each { dir.createFile("bin/${it}/rc.exe") } versions.each { version -> dir.createFile("Include/${version}/um/windows.h") PLATFORMS.each { dir.createFile("Lib/${version}/um/${it}/kernel32.lib") } } return dir }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy
fileCollection.from(sourceDirs.srcDirTrees) println("files = \${fileCollection.files.name.sort()}") """ given: file("dir1/file1").createFile() file("dir1/file2").createFile() file("dir2/sub/file3").createFile() expect: succeeds() outputContains("files = [file1, file2, file3]") } def "can view the elements of file collection as a Provider"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 12:54:09 UTC 2024 - 21K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/c/tasks/CCompileTest.groovy
pch.objectFile >> temporaryFolder.file("pchObjectFile").createFile() pch.name >> "testPch" pch.projectPath >> ":" pch.includeString >> "header" pch.prefixHeaderFile >> temporaryFolder.file("prefixHeader").createFile() pch.pchObjects >> TestFiles.empty() 1 * cCompiler.execute({ CCompileSpec spec ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy
def watchableHierarchy = file("watchable").createDir() def watchableContent = watchableHierarchy.file("some/dir/file.txt").createFile() def unsupportedFileSystemMountPoint = watchableHierarchy.file("unsupported") def unwatchableContent = unsupportedFileSystemMountPoint.file("some/file.txt").createFile() when: registerWatchableHierarchies([watchableHierarchy])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 13:24:54 UTC 2024 - 12K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy
def "should perform #authenticationType put get and list on an S3 bucket"() { setup: def fileContents = 'This is only a test' File file = temporaryFolder.createFile(FILE_NAME) file << fileContents def directSubdirectories = ['some-dir', 'second-dir', 'some-other-dir'] directSubdirectories.each { temporaryFolder.createDir(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/AbstractIdeProjectIntegrationTest.groovy
String applyTo = allProjects ? "allprojects" : "subprojects" buildFile.createFile().text = """ $applyTo { apply plugin:'java' apply plugin:'$ideName' } """ settingsFile.createFile().text = "rootProject.name='$projectName'\n" def proj = new Project(name: projectName, path: "", projectDir: getTestDirectory())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.6K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
protected void finalize() throws Throwable { maybeWarnAboutCleanUp(); super.finalize(); } public File createFile(String filename, String content, String encoding) throws IOException { File dir = createTempDir(); return createFile(dir, filename, content, encoding); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy
public class ManifestUtilTest extends Specification { @Rule final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def jarFile = tmpDir.file("mydir/jarfile.jar").createFile() def "creates manifest classpath with relative urls"() { when: def classpathFiles = [tmpDir.file('mydir/jar1.jar'), tmpDir.file('mydir/nested/jar2.jar')] then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 4.7K bytes - Viewed (0)