Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for testvol (0.18 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginDependenciesIntegrationTest.groovy

                import static org.junit.Assert.assertTrue;
    
                import org.junit.Test;
    
                public class Class1Test<T> {
                    @Test
                    public void testFoo() {
                        Class1 c = new Class1();
                        assertTrue(c.isFoo("foo"));
                    }
    
                    public boolean equals(Object arg) { return java.lang.Boolean.valueOf(true); }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/cover_test_pkgselect.txt

    go 1.18
    
    -- foo/foo.go --
    package foo
    
    func FooFunc() int {
    	return 42
    }
    func FooFunc2() int {
    	return 42
    }
    
    -- foo/foo_test.go --
    package foo
    
    import "testing"
    
    func TestFoo(t *testing.T) {
    	if FooFunc() != 42 {
    		t.Fatalf("bad")
    	}
    }
    
    -- bar/bar.go --
    package bar
    
    import "example/foo"
    
    func BarFunc() int {
    	return foo.FooFunc2()
    }
    
    -- bar/bar_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. src/internal/godebugs/godebugs_test.go

    package godebugs_test
    
    import (
    	"internal/godebugs"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestAll(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	data, err := os.ReadFile("../../../doc/godebug.md")
    	if err != nil {
    		if os.IsNotExist(err) && (testenv.Builder() == "" || runtime.GOOS != "linux") {
    			t.Skip(err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/LruHashMapTest.java

    import java.util.Iterator;
    
    import org.junit.Test;
    
    /**
     * @author taichi
     */
    public class LruHashMapTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testAll() throws Exception {
            final LruHashMap<String, String> lru = new LruHashMap<String, String>(3);
            lru.put("aaa", "111");
            lru.put("bbb", "222");
            lru.put("ccc", "333");
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/ctl_test.go

    	s.step = 0
    	return 3
    }
    
    func testFlagOverwrite(t *testing.T) {
    	j := junk{}
    	if got := flagOverwrite_ssa(&j, ' '); got != 3 {
    		t.Errorf("flagOverwrite_ssa = %d, wanted 3", got)
    	}
    }
    
    func TestCtl(t *testing.T) {
    	testPhiControl(t)
    	testEmptyRange(t)
    
    	testSwitch(t)
    	testFallthrough(t)
    
    	testFlagOverwrite(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/cgo_test.go

    func Test45451(t *testing.T)                 { test45451(t) }
    func Test49633(t *testing.T)                 { test49633(t) }
    func TestAlign(t *testing.T)                 { testAlign(t) }
    func TestAtol(t *testing.T)                  { testAtol(t) }
    func TestBlocking(t *testing.T)              { testBlocking(t) }
    func TestBoolAlign(t *testing.T)             { testBoolAlign(t) }
    func TestCallGoWithString(t *testing.T)      { testCallGoWithString(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. src/cmd/gofmt/long_test.go

    	}
    
    	// otherwise, test all Go files under *root
    	goroot := *root
    	if goroot == "" {
    		goroot = testenv.GOROOT(t)
    	}
    	filepath.WalkDir(goroot, handleFile)
    }
    
    func TestAll(t *testing.T) {
    	if testing.Short() {
    		return
    	}
    
    	if *ngo < 1 {
    		*ngo = 1 // make sure test is run
    	}
    	if *verbose {
    		fmt.Printf("running test using %d goroutines\n", *ngo)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 20:27:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/internal/concurrent/hashtriemap_test.go

    				expectPresent(t, s, i)(m.Load(s))
    			}
    		}
    	})
    	t.Run("All", func(t *testing.T) {
    		m := newMap()
    
    		testAll(t, m, testDataMap(testData[:]), func(_ string, _ int) bool {
    			return true
    		})
    	})
    	t.Run("AllDelete", func(t *testing.T) {
    		m := newMap()
    
    		testAll(t, m, testDataMap(testData[:]), func(s string, i int) bool {
    			expectDeleted(t, s, i)(m.CompareAndDelete(s, i))
    			return true
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

                import static org.junit.Assert.assertTrue;
    
                import org.junit.Test;
    
                public class Class1Test {
                    @Test
                    public void testFoo() {
                        Class1 c = new Class1();
                        assertTrue(c.isFoo("foo"));
                    }
                }
                """
        }
    
        private badCode() {
            // No Warnings
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MethodDescTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFoo() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc foo = beanDesc.getMethodDesc("foo");
            assertThat(foo, 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)
Back to top