Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for TestBar (0.55 sec)

  1. src/testing/match_test.go

    		{"TestFoo/bar/baz", "", "", "TestFoo", true, true},
    		{"TestFoo", "", "", "TestBar", false, false},
    		{"TestFoo/", "", "", "TestBar", false, false},
    		{"TestFoo/bar/baz", "", "", "TestBar/bar/baz", false, false},
    		{"", "TestBar", "", "TestFoo", true, false},
    		{"", "TestBar", "", "TestBar", false, false},
    
    		// Skipping a non-existent test doesn't change anything.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_var_init_order.txt

    func notOK() string {
    	return "not OK"
    }
    
    -- m_test.go --
    
    package main
    
    import (
    	"testing"
    )
    
    func TestFoo(t *testing.T) {
    	if foo == nil {
    		t.Fatal()
    	}
    }
    
    func TestBar(t *testing.T) {
    	if bar == nil {
    		t.Fatal()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 18:14:15 UTC 2022
    - 784 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/cover_test_pkgselect.txt

    package bar
    
    import "example/foo"
    
    func BarFunc() int {
    	return foo.FooFunc2()
    }
    
    -- bar/bar_test.go --
    package bar_test
    
    import (
    	"example/bar"
    	"testing"
    )
    
    func TestBar(t *testing.T) {
    	if bar.BarFunc() != 42 {
    		t.Fatalf("bad")
    	}
    }
    
    -- baz/baz.go --
    package baz
    
    func BazFunc() int {
    	return -42
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.isStatic(), is(not(true)));
            foo.invokeStatic();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testBar() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc bar = beanDesc.getMethodDesc("bar", String.class);
            assertThat(bar, is(notNullValue()));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4FilteringIntegrationTest.groovy

                }
            """
            file("src/test/java/BarTest.java") << """
                ${testFrameworkImports}
                public class BarTest {
                    @Test
                    public void testBar() { }
                }
            """
            file("src/test/java/AllFooTests.java") << """
                ${testFrameworkImports}
                import org.junit.runners.Suite;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. pkg/env/var_test.go

    	}
    }
    
    func TestDesc(t *testing.T) {
    	reset()
    
    	_ = RegisterDurationVar(testVar+"5", 123*time.Second, "A duration")
    	_ = RegisterStringVar(testVar+"1", "123", "A string")
    	_ = RegisterIntVar(testVar+"2", 456, "An int")
    	_ = RegisterBoolVar(testVar+"3", true, "A bool")
    	_ = RegisterFloatVar(testVar+"4", 789.0, "A float")
    
    	vars := VarDescriptions()
    	if vars[0].Name != "TESTXYZ1" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationSpec.groovy

            """
    
            file('producer/build.gradle').text = """
    
                task testJar(type: Jar) {
                    archiveClassifier = "test"
                }
    
                configurations {
                    testArtifacts
                }
    
                configurations.testArtifacts.outgoing.artifact(testJar)
            """
    
            file('consumer/build.gradle').text = """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/RunBuildDependenciesTaskBuilderTest.groovy

            [child1, child2].each {
                it.plugins.apply(JavaPlugin)
            }
    
            child1.configurations.create("testArtifacts")
            def task = child1.tasks.create("testJar", Jar) {
                archiveClassifier.set("tests")
                from(project.sourceSets.test.output)
            }
            child1.artifacts.add("testArtifacts", task)
            child2.dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. docs/pt/docs/contributing.md

    Desse modo, você não tem que "instalar" sua versão local para ser capaz de testar cada mudança.
    
    ### Formato
    
    Tem um arquivo que você pode rodar que irá formatar e limpar todo o seu código:
    
    <div class="termy">
    
    ```console
    $ bash scripts/format.sh
    ```
    
    </div>
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jun 11 21:38:15 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

                project(":child1") {
                    configurations {
                        testArtifacts
                    }
                    task testJar(type: Jar) {
                        archiveClassifier = "tests"
                    }
                    artifacts {
                        testArtifacts testJar
                    }
                }
                project(":child2") {
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top