Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 172 for testOk2 (0.18 sec)

  1. src/runtime/pprof/testdata/README

    These binaries were generated by:
    
    $ cat empty.s
    .global _start
    _start:
    $ as --32 -o empty.o empty.s && ld  --build-id -m elf_i386 -o test32 empty.o
    $ as --64 -o empty.o empty.s && ld --build-id -o test64 empty.o
    $ powerpc-linux-gnu-as -o empty.o empty.s && powerpc-linux-gnu-ld --build-id -o test32be empty.o
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 08 01:09:18 UTC 2017
    - 411 bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/JUnitJupiterOptionsIntegrationTest.groovy

    public class IncludedTest {
        @Test
        public void testOK() {
        }
    }
    """
            sourcePath.file("com/example/ExcludedTest.java") << """
    package com.example;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.Tag;
    
    @Tag("exclude")
    public class ExcludedTest {
        @Test
        public void testOK() {
        }
    }
    """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomResolutionTest.kt

            val resolver = tracingCodeResolver()
    
            val topLevelBlock = parseAsTopLevelBlock(
                """
                addAndConfigure("test") {
                    number = 123
                }
                justAdd("test2")
                complexValueOne = one(two("three"))
                complexValueOneFromUtils = utils.oneUtil()
                complexValueTwo = two("three")
                nested {
                    number = 456
                    add()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/groovy/src/test/java/org/gradle/testng/TestFactory.java

        }
    
        @Test
        public void test1() {
            System.out.println("TestFactory[" + data + "].test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("TestFactory[" + data + "].test2()");
        }
    
        @AfterClass
        public void afterClass() {
            System.out.println("TestFactory[" + data + "].afterClass()");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. test/fixedbugs/issue15002.go

    	err = syscall.Mprotect(b[p:], syscall.PROT_NONE)
    	if err != nil {
    		panic(err)
    	}
    	// Get a slice pointing to the last byte of the good page.
    	x := b[p-one : p]
    
    	test16(x)
    	test16i(x, 0)
    	test32(x)
    	test32i(x, 0)
    	test64(x)
    	test64i(x, 0)
    }
    
    func test16(x []byte) uint16 {
    	defer func() {
    		r := recover()
    		if r == nil {
    			panic("no fault or bounds check failure happened")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnit3FilteringIntegrationTest.groovy

            file("src/test/java/FooTest.java") << """
                import junit.framework.*;
    
                public class FooTest extends TestCase {
                    public void testPass() {}
                    public void testOk() {}
                }
            """.stripIndent()
    
            when:
            succeeds("test", "--tests", "FooTest.testPass")
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. test/recover1.go

    		defer mustRecover(2)
    		panic(2)
    	}()
    	panic(1)
    }
    
    func test2() {
    	// Sequential panic.
    	defer mustNotRecover()
    	defer func() {
    		v := recover()
    		if v == nil || v.(int) != 2 {
    			println("wrong value", v, 2)
    			die()
    		}
    		defer mustRecover(3)
    		panic(3)
    	}()
    	panic(2)
    }
    
    func test3() {
    	// Sequential panic - like test2 but less picky.
    	defer mustNotRecover()
    	defer func() {
    		recover()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/generate/generate_test.go

    var splitTestsLines = []splitTestWithLine{
    	{"-command TEST1 $GOLINE", []string{"-command", "TEST1", "22"}, 22},
    	{"-command TEST2 ${DOLLAR}GOLINE", []string{"-command", "TEST2", "$GOLINE"}, 26},
    	{"TEST1", []string{"22"}, 33},
    	{"TEST2", []string{"66"}, 66},
    	{"TEST1 ''", []string{"22", "''"}, 99},
    	{"TEST2 ''", []string{"44", "''"}, 44},
    }
    
    // TestGenerateCommandShortHand - similar to TestGenerateCommandParse,
    // except:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 14:09:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  9. src/internal/gover/gover_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package gover
    
    import (
    	"reflect"
    	"testing"
    )
    
    func TestCompare(t *testing.T) { test2(t, compareTests, "Compare", Compare) }
    
    var compareTests = []testCase2[string, string, int]{
    	{"", "", 0},
    	{"x", "x", 0},
    	{"", "x", 0},
    	{"1", "1.1", -1},
    	{"1.5", "1.6", -1},
    	{"1.5", "1.10", -1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. fess-crawler-lasta/src/test/resources/test/text2.txt

    test2...
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 6 bytes
    - Viewed (0)
Back to top