summaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/ginkgo/integration/_fixtures/skip_fixture/skip_fixture_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/onsi/ginkgo/integration/_fixtures/skip_fixture/skip_fixture_test.go')
-rw-r--r--vendor/github.com/onsi/ginkgo/integration/_fixtures/skip_fixture/skip_fixture_test.go71
1 files changed, 0 insertions, 71 deletions
diff --git a/vendor/github.com/onsi/ginkgo/integration/_fixtures/skip_fixture/skip_fixture_test.go b/vendor/github.com/onsi/ginkgo/integration/_fixtures/skip_fixture/skip_fixture_test.go
deleted file mode 100644
index e406aeb46..000000000
--- a/vendor/github.com/onsi/ginkgo/integration/_fixtures/skip_fixture/skip_fixture_test.go
+++ /dev/null
@@ -1,71 +0,0 @@
-package fail_fixture_test
-
-import (
- . "github.com/onsi/ginkgo"
- . "github.com/onsi/gomega"
-)
-
-var _ = It("handles top level skips", func() {
- Skip("a top level skip on line 9")
- println("NEVER SEE THIS")
-})
-
-var _ = It("handles async top level skips", func(done Done) {
- Skip("an async top level skip on line 14")
- println("NEVER SEE THIS")
-}, 0.1)
-
-var _ = It("SKIP in a goroutine", func(done Done) {
- go func() {
- defer GinkgoRecover()
- Skip("a top level goroutine skip on line 21")
- println("NEVER SEE THIS")
- }()
-}, 0.1)
-
-var _ = Describe("Excercising different skip modes", func() {
- It("synchronous skip", func() {
- Skip("a sync SKIP")
- println("NEVER SEE THIS")
- })
-
- It("async skip", func(done Done) {
- Skip("an async SKIP")
- println("NEVER SEE THIS")
- }, 0.1)
-
- It("SKIP in a goroutine", func(done Done) {
- go func() {
- defer GinkgoRecover()
- Skip("a goroutine SKIP")
- println("NEVER SEE THIS")
- }()
- }, 0.1)
-
- Measure("a SKIP measure", func(Benchmarker) {
- Skip("a measure SKIP")
- println("NEVER SEE THIS")
- }, 1)
-})
-
-var _ = Describe("SKIP in a BeforeEach", func() {
- BeforeEach(func() {
- Skip("a BeforeEach SKIP")
- println("NEVER SEE THIS")
- })
-
- It("a SKIP BeforeEach", func() {
- println("NEVER SEE THIS")
- })
-})
-
-var _ = Describe("SKIP in an AfterEach", func() {
- AfterEach(func() {
- Skip("an AfterEach SKIP")
- println("NEVER SEE THIS")
- })
-
- It("a SKIP AfterEach", func() {
- Expect(true).To(BeTrue())
- })
-})