Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 635 for ntest (0.04 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy

        def replacesTabsWith4Spaces() {
            given:
            String content = "test\ttest\ttest"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
            then:
            actual == "test    test    test"
        }
    
        def usesUnixLineEndings() {
            given:
            String content = "test\r\ntest\r\ntest"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 27 19:28:51 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. test/clearfat.go

    // Check that {5,6,8,9}g/ggen.c:clearfat is zeroing the entire object.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    const ntest = 1100
    
    func main() {
    	var decls, calls bytes.Buffer
    
    	for i := 1; i <= ntest; i++ {
    		s := strconv.Itoa(i)
    		decls.WriteString(strings.Replace(decl, "$", s, -1))
    		calls.WriteString(strings.Replace("poison$()\n\tclearfat$()\n\t", "$", s, -1))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 31 15:08:27 UTC 2014
    - 1.1K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestReportIntegrationTest.groovy

            buildFile << "\ntest.reports.html.required = false\n"
            fails "test"
    
            then:
            executedAndNotSkipped(":test")
            failure.assertHasCause("There were failing tests. See the results at: ")
    
            when:
            buildFile << "\ntest.reports.junitXml.required = false\n"
            fails "test"
    
            then:
            executedAndNotSkipped(":test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. test/fixedbugs/bug449.go

    // and if gc optimizes this case, then the test will no longer
    // be correct (in the sense that it no longer tests runtime.equal).
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    const ntest = 1024
    
    func main() {
    	var decls, calls bytes.Buffer
    
    	for i := 1; i <= ntest; i++ {
    		s := strconv.Itoa(i)
    		decls.WriteString(strings.Replace(decl, "$", s, -1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 01 03:02:46 UTC 2012
    - 1.5K bytes
    - Viewed (0)
  5. test/divmod.go

    		}
    	}
    }
    
    func checkdiv2(x, y uint64) {
    	checkdiv3(x, y)
    	checkdiv3(^x, y)
    	checkdiv3(x, ^y)
    	checkdiv3(^x, ^y)
    }
    
    var ntest int64 = 0
    
    func checkdiv3(x, y uint64) {
    	ntest++
    	if ntest&(ntest-1) == 0 && long {
    		println(ntest, "...")
    	}
    	checkuint64(x, y)
    	if (uint64(uint32(x)) == x || uint64(uint32(^x)) == ^x) && (uint64(uint32(y)) == y || uint64(uint32(^y)) == ^y) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 9.3K bytes
    - Viewed (0)
  6. test/64bit.go

    	"	}\n" +
    	"}\n" +
    	"\n"
    
    func varTests() {
    	fmt.Fprint(bout, prolog)
    	for _, a := range int64Values {
    		fmt.Fprintf(bout, "func test%v() {\n", ntest)
    		ntest++
    		fmt.Fprintf(bout, "\ttestInt64Unary(%v, %v, %v, %v);\n", a, a, a.Com(), a.Neg())
    		for _, b := range int64Values {
    			var div, mod Int64
    			dodiv := false
    			var zero Int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 30 19:21:08 UTC 2013
    - 24.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertEquals("Rtest", systemHelper.getSearchRoleByRole("test"));
            assertEquals("2test", systemHelper.getSearchRoleByGroup("test"));
    
            assertEquals("1", systemHelper.getSearchRoleByUser(""));
            assertEquals("R", systemHelper.getSearchRoleByRole(""));
            assertEquals("2", systemHelper.getSearchRoleByGroup(""));
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    			expected: `STATUS    REASON               MESSAGE
    Failure   test-status-reason   test-status-message
    `,
    		},
    		// Test non-table default printing for a Status resource with NoHeaders options.
    		{
    			object:   testStatus,
    			options:  PrintOptions{NoHeaders: true},
    			expected: "Failure   test-status-reason   test-status-message\n",
    		},
    	}
    	for _, test := range tests {
    		// Print the table
    		out := bytes.NewBuffer([]byte{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  9. src/net/textproto/reader_test.go

    	}, {
    		input: "A: v" + strings.Repeat("\n", 1000),
    		want:  1,
    	}} {
    		r := reader(test.input)
    		got := r.upcomingHeaderKeys()
    		if test.want != got {
    			t.Fatalf("upcomingHeaderKeys(%q): %v; want %v", test.input, got, test.want)
    		}
    	}
    }
    
    func TestReadMIMEHeaderNoKey(t *testing.T) {
    	r := reader(": bar\ntest-1: 1\n\n")
    	m, err := r.ReadMIMEHeader()
    	want := MIMEHeader{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

    		public class ATest {
                    @Test public void test() { System.out.println("ATest!"); }
                }
            """
            file('src/test/java/BTest.java') << """
                ${testFrameworkImports}
                public class BTest {
                    @Test public void test() { System.out.println("BTest!"); }
                }
            """
            file('src/test/java/CTest.java') << """
                ${testFrameworkImports}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
Back to top