Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for badness (0.13 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGConsoleLoggingIntegrationTest.groovy

                class TestNGTest {
                    @Test
                    void goodTest() {}
    
                    @Test(dependsOnMethods = ["goodTest"])
                    void badTest() {
                        beBad()
                    }
    
                    @Test(dependsOnMethods = ["badTest"])
                    void ignoredTest() {}
    
                    @Test(dependsOnMethods = ["goodTest"])
                    void printTest() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy

            fails("test")
    
            then:
            outputContains("""
                ${maybeParentheses('badTest')} FAILED
                    java.lang.RuntimeException: bad
                        at org.gradle.SomeTest.beBad(SomeTest.java:${lineNumberOf('throw new RuntimeException("bad")')})
                        at org.gradle.SomeTest.badTest(SomeTest.java:${lineNumberOf('beBad();')})
            """.stripIndent())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. pkg/volume/flexvolume/plugin_test.go

    limitations under the License.
    */
    
    package flexvolume
    
    import (
    	"testing"
    
    	"k8s.io/kubernetes/test/utils/harness"
    	"k8s.io/utils/exec/testing"
    )
    
    func TestInit(tt *testing.T) {
    	t := harness.For(tt)
    	defer t.Close()
    
    	plugin, _ := testPlugin(t)
    	plugin.runner = fakeRunner(
    		assertDriverCall(t, successOutput(), "init"),
    	)
    	plugin.Init(plugin.host)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 21 06:54:44 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  4. pkg/volume/flexvolume/mounter_test.go

    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/test/utils/harness"
    )
    
    func TestSetUpAt(tt *testing.T) {
    	t := harness.For(tt)
    	defer t.Close()
    
    	spec := fakeVolumeSpec()
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "my-pod",
    			Namespace: "my-ns",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 17 04:51:24 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  5. pkg/volume/flexvolume/unmounter_test.go

    limitations under the License.
    */
    
    package flexvolume
    
    import (
    	"testing"
    
    	"k8s.io/mount-utils"
    
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/kubernetes/test/utils/harness"
    )
    
    func TestTearDownAt(tt *testing.T) {
    	t := harness.For(tt)
    	defer t.Close()
    
    	mounter := mount.NewFakeMounter(nil)
    
    	plugin, rootDir := testPlugin(t)
    	plugin.runner = fakeRunner(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 17 04:51:24 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  6. src/packaging/common/scripts/prerm

        # RedHat ####################################################
        0)
            STOP_REQUIRED=true
        ;;
        1)
            # Don't do anything on upgrade, because the preun script in redhat gets executed after the postinst (madness!)
        ;;
    
        *)
            echo "pre remove script called with unknown argument \`$1'" >&2
            exit 1
        ;;
    esac
    
    # Stops the service
    if [ "$STOP_REQUIRED" = "true" ]; then
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  7. test/codegen/README

    compiler.
    
    
    - Introduction
    
    The test harness compiles Go code inside files in this directory and
    matches the generated assembly (the output of `go tool compile -S`)
    against a set of regexps to be specified in comments that follow a
    special syntax (described below). The test driver is implemented as
    an action within the GOROOT/test test suite, called "asmcheck".
    
    The codegen harness is part of the all.bash test suite, but for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 18 19:55:29 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. src/cmd/internal/test2json/testdata/issue23036.test

            foo_test.go:14: Differed.
                    Expected: MyTest:
                    --- FAIL: Test output from other tool
                    Actual: not expected
    FAIL
    exit status 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 20:12:12 UTC 2018
    - 286 bytes
    - Viewed (0)
  9. src/crypto/dsa/dsa_test.go

    func TestSigningWithDegenerateKeys(t *testing.T) {
    	// Signing with degenerate private keys should not cause an infinite
    	// loop.
    	badKeys := []struct {
    		p, q, g, y, x string
    	}{
    		{"00", "01", "00", "00", "00"},
    		{"01", "ff", "00", "00", "00"},
    	}
    
    	for i, test := range badKeys {
    		priv := PrivateKey{
    			PublicKey: PublicKey{
    				Parameters: Parameters{
    					P: fromHex(test.p),
    					Q: fromHex(test.q),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 15 21:04:43 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  10. src/cmd/internal/test2json/testdata/issue23036.json

    {"Action":"fail","Test":"TestActualCase"}
    {"Action":"output","Output":"FAIL\n"}
    {"Action":"output","Output":"exit status 1\n"}
    {"Action":"output","Output":"FAIL    github.com/org/project/badtest     0.049s\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 847 bytes
    - Viewed (0)
Back to top