Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 701 for todolist (0.21 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/AbstractArchiveFileTreeTest.java

            rootDir.file("subdir2/file2.txt").write("content");
            archiveFileToRoot(getArchiveFile());
    
            assertVisits(getTree(), toList("subdir/file1.txt", "subdir2/file2.txt"), toList("subdir", "subdir2"));
            assertSetContainsForAllTypes(getTree(), toList("subdir/file1.txt", "subdir2/file2.txt"));
        }
    
        @Test
        public void canStopVisitingFiles() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. pkg/kubelet/container/runtime_cache_test.go

    	// Cache old pods.
    	oldpods := []*ctest.FakePod{{Pod: &Pod{ID: "1111"}}}
    	runtime.PodList = oldpods
    	cache.UpdateCacheWithLock()
    
    	// Update the runtime to new pods.
    	newpods := []*ctest.FakePod{{Pod: &Pod{ID: "1111"}}, {Pod: &Pod{ID: "2222"}}, {Pod: &Pod{ID: "3333"}}}
    	runtime.PodList = newpods
    
    	// An older timestamp should not force an update.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

     * limitations under the License.
     */
    package gradlebuild.docs
    
    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    import org.w3c.dom.NodeList
    
    class DomBuilder extends BuilderSupport {
        Document document
        Node parent
        List elements = []
    
        def DomBuilder(Document document) {
            this.document = document
            this.parent = document
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeTest.java

            MinimalFileTree tree = tree("file.txt", action);
    
            assertVisits(tree, toList("file.txt"), Collections.<String>emptyList());
    
            TestFile file = rootDir.file("file.txt");
    
            file.assertContents(equalTo("content"));
            file.makeOlder();
            TestFile.Snapshot snapshot = file.snapshot();
    
            assertVisits(tree, toList("file.txt"), Collections.<String>emptyList());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/ResultsStoreHelper.java

        }
    
        public static List<String> toList(Object[] objects) {
            return Stream.of(objects).map(Object::toString).map(String::trim).collect(Collectors.toList());
        }
    
        /**
         * MySQL doesn't support array type. So array in H2 `1,2,3` will be a string like '(1,2,3)'
         */
        public static List<String> toList(Object object) {
            if (object == null) {
                return null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarFileTreeTest.java

            rootDir.file("subdir2/file2.txt").write("content");
            rootDir.tgzTo(tgz);
    
            TarFileTree tree = tarTree(tgz);
    
            assertVisits(tree, toList("subdir/file1.txt", "subdir2/file2.txt"), toList("subdir", "subdir2"));
            assertSetContainsForAllTypes(tree, toList("subdir/file1.txt", "subdir2/file2.txt"));
        }
    
        @Test
        public void readsBzippedTarFile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. platforms/software/signing/src/test/groovy/org/gradle/plugins/signing/SignOperationSpec.groovy

            
            then:
            output1.exists() && output2.exists()
            [input1, input2] == operation.filesToSign.files.toList()[0..1]
            [output1, output2] == operation.signatureFiles.files.toList()[0..1]
            [output1, output2] == operation.signatures*.file.toList()
        }
    
        def "sign multiple artifacts with defaults"() {
            when:
            def operation = signing.sign(input1Artifact, input2Artifact)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplier.java

                    XPath xpath = xPathFactory.newXPath();
                    XPathExpression expression = xpath.compile(PARSE_EXPRESSION);
    
                    NodeList nodes = (NodeList) expression.evaluate(documentBuilder.parse(toolchain), XPathConstants.NODESET);
                    Set<String> locations = new HashSet<>();
                    for (int i = 0; i < nodes.getLength(); i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/versiongetter_test.go

    			}
    		})
    	}
    }
    
    func TestKubeVersionGetterKubeletVersions(t *testing.T) {
    	tests := []struct {
    		name    string
    		nodes   *v1.NodeList
    		want    map[string][]string
    		wantErr bool
    	}{
    		{
    			name: "kubelet version info exists",
    			nodes: &v1.NodeList{
    				Items: []v1.Node{
    					{
    						ObjectMeta: metav1.ObjectMeta{Name: "node1"},
    						Status: v1.NodeStatus{
    							NodeInfo: v1.NodeSystemInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/common/dependency-reports/src/main/java/com/example/DependencyReportsPlugin.java

    import org.gradle.api.tasks.TaskContainer;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import static java.util.stream.Collectors.toList;
    
    public abstract class DependencyReportsPlugin implements Plugin<Project> {
    
        @Override
        public void apply(Project project) {
    
            project.getPluginManager().withPlugin("java-base", plugin -> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top