- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 138 for newRule (0.14 sec)
-
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy
FileTime.makeOld(targetDir, triggerFile) and: def newFile = targetDir.file("aaa.txt") deleter = FileTime.deleterWithDeletionAction() { file -> if (file.canonicalFile == triggerFile.canonicalFile) { FileTime.createNewFile(newFile) } return DeletionAction.CONTINUE } when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 12:40:48 UTC 2024 - 14.2K bytes - Viewed (0) -
platforms/documentation/docs-asciidoctor-extensions-base/src/test/groovy/org/gradle/docs/asciidoctor/SampleIncludeProcessorTest.groovy
asciidoctor.convert(asciidocContent, [:]) then: thrown IllegalStateException } def "converts a sample include into declared source"() { given: tmpDir.newFile("src/samples/build.gradle") << """ task hello { doLast { println "hello world" } } """ String asciidocContent = """ = Doctitle :samples-dir: ${tmpDir.root.canonicalPath}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCompileIntegrationTest.groovy
""" outputs.snapshot { succeeds("compileDebugSwift") } when: def newFile = file("src/main/swift/NewFile.swift") newFile << """ public class NewFile {} """ and: succeeds("compileDebugSwift") then: outputs.recompiledFile(newFile) } def 'adding a new file that overlaps with an existing type fails'() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 10.6K bytes - Viewed (0) -
src/os/pipe_unix.go
if e != nil { syscall.ForkLock.RUnlock() return nil, nil, NewSyscallError("pipe", e) } syscall.CloseOnExec(p[0]) syscall.CloseOnExec(p[1]) syscall.ForkLock.RUnlock() return newFile(p[0], "|0", kindPipe, false), newFile(p[1], "|1", kindPipe, false), nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:47:23 UTC 2024 - 774 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
protected File newFile; protected Writer writer; protected ProtwordsItem item; protected ProtwordsUpdater(final ProtwordsItem newItem) { try { newFile = ComponentUtil.getSystemHelper().createTempFile(PROTWORDS, ".txt"); writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
protected File newFile; protected Writer writer; protected StopwordsItem item; protected SynonymUpdater(final StopwordsItem newItem) { try { newFile = ComponentUtil.getSystemHelper().createTempFile(STOPWORDS, ".txt"); writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/ServicePluginTest.kt
plugins { id("com.myorg.service-conventions") } """) } @Test fun `integrationTest and readmeCheck tasks run with check task`() { testProjectDir.newFile("README.md").writeText(""" ## Service API """.trimIndent()) val result = runTask("check") assertEquals(TaskOutcome.NO_SOURCE, result.task(":test")?.outcome)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
src/os/file_windows.go
func newConsoleFile(h syscall.Handle, name string) *File { return newFile(h, name, "console") } // NewFile returns a new File with the given file descriptor and // name. The returned value will be nil if fd is not a valid file // descriptor. func NewFile(fd uintptr, name string) *File { h := syscall.Handle(fd) if h == syscall.InvalidHandle { return nil } return newFile(h, name, "file") } func epipecheck(file *File, e error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:38:38 UTC 2024 - 13.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
} catch (final Exception e) { if (newFile != null) { newFile.delete(); } throw new DictionaryException("Failed to write a userDict file.", e); } item = newItem; } public StemmerOverrideItem write(final StemmerOverrideItem oldItem) { try {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/kotlin/convention-plugins/src/test/kotlin/com/myorg/PluginTest.kt
protected lateinit var buildFile: File @Before fun setup() { settingsFile = testProjectDir.newFile("settings.gradle.kts") settingsFile.appendText(""" rootProject.name = "test" """) buildFile = testProjectDir.newFile("build.gradle.kts") } fun runTask(task: String): BuildResult { return GradleRunner.create()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0)