Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 355 for _foobar (0.49 sec)

  1. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractIdeLifecycleIntegrationTest.groovy

        def assertCleanTasksRunBeforeGenerationTasks() {
            [":", ":foo", ":foo:bar"].each { projectPath ->
                getGenerationTaskNames(projectPath).each { taskName ->
                    result.assertTaskOrder(getCleanTaskName(taskName), taskName)
                }
            }
        }
    
        def assertGenerationTasksRunBeforeCleanTasks() {
            [":", ":foo", ":foo:bar"].each { projectPath ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy

            path(':foo:bar').takeFirstSegments(1) == path(':foo')
            path(':foo:bar').takeFirstSegments(2) == path(':foo:bar')
            path(':foo:bar:baz').takeFirstSegments(2) == path(':foo:bar')
        }
    
        def "can take first n segments without incurring unnecessary copies"() {
            given:
            def path = path(':foo:bar')
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 12:54:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/ProjectDependencyFactoryTest.groovy

            given:
            boolean expectedTransitive = false;
            final Map<String, Object> mapNotation = GUtil.map("path", ":foo:bar", "configuration", "compile", "transitive", expectedTransitive);
    
            and:
            projectFinder.getProject(':foo:bar') >> projectDummy
    
            when:
            def projectDependency = factory.createFromMap(projectFinder, mapNotation);
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/StronglyTypedConfigurationAttributesResolveIntegrationTest.groovy

                        }
                    }
                    task fooJar(type: Jar) {
                       archiveBaseName = 'b-foo'
                    }
                    task barJar(type: Jar) {
                       archiveBaseName = 'b-bar'
                    }
                    artifacts {
                        'default' file('b-default.jar')
                        foo fooJar
                        bar barJar
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 48.1K bytes
    - Viewed (0)
  5. pkg/util/iptables/iptables_test.go

    	}
    	cmd := iptablesCommand(protocol)
    	if !sets.New(fcmd.CombinedOutputLog[1]...).HasAll(cmd, "-t", "nat", "-N", "FOOBAR") {
    		t.Errorf("%s new chain: Expected cmd containing '%s -t nat -N FOOBAR', got %s", protocol, cmd, fcmd.CombinedOutputLog[2])
    	}
    	// Exists.
    	exists, err = runner.EnsureChain(TableNAT, Chain("FOOBAR"))
    	if err != nil {
    		t.Errorf("%s existing chain: Expected success, got %v", protocol, err)
    	}
    	if !exists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/DeprecationHandlingIntegrationTest.groovy

                public class DeprecatedTask extends DefaultTask {
                    @TaskAction
                    void causeDeprecationWarning() {
                        DeprecationLogger.deprecateTask("thisIsADeprecatedTask").replaceWith("foobar").willBeRemovedInGradle9().undocumented().nagUser();
                        System.out.println("DeprecatedTask.causeDeprecationWarning() executed.");
                    }
    
                    public static void someFeature() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:16:32 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. test/fixedbugs/issue17918.go

    import (
    	"fmt"
    	"time"
    )
    
    var (
    	units = []struct {
    		divisor time.Duration
    		unit    rune
    	}{
    		{1000000, 's'},
    		{60, 'm'},
    		{60, 'h'},
    		{24, 'd'},
    		{7, 'w'},
    	}
    )
    
    func foobar(d time.Duration) string {
    	d /= time.Microsecond
    	unit := 'u'
    
    	for _, f := range units {
    		if d%f.divisor != 0 {
    			break
    		}
    		d /= f.divisor
    		unit = f.unit
    	}
    	return fmt.Sprintf("%d%c", d, unit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:31:27 UTC 2016
    - 619 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    	Boolean   bool              `json:"boolean,omitempty"`
    	NamedStr  namedString       `json:"namedStr,omitempty"`
    	NamedBool namedBool         `json:"namedBool,omitempty"`
    	Foobar    bar               `json:"foobar,omitempty"`
    	Testmap   map[string]string `json:"testmap,omitempty"`
    }
    
    func (obj *foo) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
    
    type baz struct {
    	Ptr  *int  `json:"ptr"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParserFactoryTest.groovy

            where:
            notation << [
                    "foo:bar",
                    "foo:bar:",
                    "foo::1.0",
                    ":bar:1.0"
            ]
        }
    
        def "invalid string notation #notation is reported for lenient parser"() {
            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)
  10. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      }
    
      public void testFindClassesToTest_ignoreUnderscores() {
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class, Foo_Bar.class);
        sanityTests.ignoreClasses(AbstractPackageSanityTests.UNDERSCORE_IN_NAME);
        assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo_Bar.class)))
            .containsExactly(Foo.class);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
Back to top