- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for copyTest (0.2 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/tasks/CopyTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.tasks class CopyTest extends AbstractCopyTaskContractTest { private Copy task def setup() { task = createTask(Copy) } @Override AbstractCopyTask getTask() { return task }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 17 18:59:41 UTC 2016 - 856 bytes - Viewed (0) -
pkg/file/file_test.go
assert.Equal(t, m.Mode(), 0o750) body, _ := io.ReadAll(f) // Contents should be copied assert.Equal(t, body, []byte("hello world")) } func TestCopy(t *testing.T) { copyTest(t, Copy) } func TestAtomicCopy(t *testing.T) { copyTest(t, AtomicCopy) } func TestAtomicWrite(t *testing.T) { d := t.TempDir() file := filepath.Join(d, "test") data := []byte("hello world") err := AtomicWrite(file, data, 0o750)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 11 19:10:54 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/api/testing/copy_test.go
Tim Hockin <******@****.***> 1679595032 -0700
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:45:31 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/copy_test.go
Russ Cox <******@****.***> 1608703786 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 150.2K bytes - Viewed (0) -
src/make.bat
if x%2==x-no-clean...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 6.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/file/ProjectCopySpecTest.groovy
delegate.duplicatesStrategy "include" } } expect: project.copy { copyRootCalled = true into copyDest with copySpec from copySource from copySource, { delegate.duplicatesStrategy "include" eachFile { copyNestedEachFileCalled = true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 27 10:59:05 UTC 2016 - 2.7K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
clone.setFile(artifact.getFile()); clone.setAvailableVersions(copyList(artifact.getAvailableVersions())); if (artifact.getVersion() != null) { clone.setBaseVersion(artifact.getBaseVersion()); } clone.setDependencyFilter(artifact.getDependencyFilter()); clone.setDependencyTrail(copyList(artifact.getDependencyTrail())); clone.setDownloadUrl(artifact.getDownloadUrl());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 06 08:51:18 UTC 2023 - 6.9K bytes - Viewed (0) -
src/text/template/parse/node.go
for _, n := range l.Nodes { n.writeTo(sb) } } func (l *ListNode) CopyList() *ListNode { if l == nil { return l } n := l.tr.newList(l.Pos) for _, elem := range l.Nodes { n.append(elem.Copy()) } return n } func (l *ListNode) Copy() Node { return l.CopyList() } // TextNode holds plain text. type TextNode struct { NodeType Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/ctrlz/assets/static/js/clipboard-1.7.1.min.js
em),this.selectedText=(0,i.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function t(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function t(){this.selectedText=(0,i.default)(this.target),this.copyText()}},{key:"copyText",value:function t(){var e=void 0;try{e=document.execComm...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 10.7K bytes - Viewed (0) -
src/cmd/go/testdata/vendormod.txt
generated by: go run savedir.go vendormod -- a/foo/AUTHORS.txt -- -- a/foo/CONTRIBUTORS -- -- a/foo/LICENSE -- -- a/foo/PATENTS -- -- a/foo/COPYING -- -- a/foo/COPYLEFT -- -- a/foo/licensed-to-kill -- -- w/LICENSE -- -- x/NOTICE! -- -- x/x2/LICENSE -- -- mypkg/LICENSE.txt -- -- a/foo/bar/b/main.go -- package b -- a/foo/bar/b/main_test.go -- package b import ( "os" "testing" ) func TestDir(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 12 20:46:50 UTC 2018 - 2.3K bytes - Viewed (0)