|
15 | 15 |
|
16 | 16 | package org.spockframework.runtime |
17 | 17 |
|
18 | | -import org.spockframework.EmbeddedSpecification |
19 | | -import org.spockframework.runtime.extension.* |
20 | | -import org.spockframework.runtime.model.MethodKind |
21 | | -import org.spockframework.runtime.model.SpecInfo |
22 | | -import org.spockframework.specs.extension.SpockSnapshotter |
23 | | -import spock.lang.Snapshot |
24 | | -import org.spockframework.util.Assert |
25 | | -import org.spockframework.util.InternalSpockError |
26 | 18 | import spock.config.ConfigurationObject |
27 | 19 | import spock.lang.IgnoreIf |
28 | 20 | import spock.lang.Shared |
| 21 | +import spock.lang.Snapshot |
29 | 22 |
|
30 | 23 | import java.lang.annotation.Retention |
31 | 24 | import java.lang.annotation.RetentionPolicy |
32 | 25 | import java.util.concurrent.atomic.AtomicReference |
33 | 26 |
|
| 27 | +import org.spockframework.EmbeddedSpecification |
| 28 | +import org.spockframework.runtime.extension.* |
| 29 | +import org.spockframework.runtime.model.MethodKind |
| 30 | +import org.spockframework.runtime.model.SpecInfo |
| 31 | +import org.spockframework.specs.extension.SpockSnapshotter |
| 32 | +import org.spockframework.util.Assert |
| 33 | +import org.spockframework.util.InternalSpockError |
| 34 | + |
34 | 35 | class StoreSpec extends EmbeddedSpecification { |
35 | 36 |
|
36 | 37 | def setup() { |
@@ -129,7 +130,8 @@ class StoreSpec extends EmbeddedSpecification { |
129 | 130 | sharedList.get() ==~ supportedMethodKinds |
130 | 131 |
|
131 | 132 | where: |
132 | | - methodKinds << supportedMethodKinds.subsequences() |
| 133 | + // methodKinds << supportedMethodKinds.subsequences() // full coverage but takes ages due to the embedded runner |
| 134 | + methodKinds << [supportedMethodKinds] + supportedMethodKinds.collate(1) |
133 | 135 | } |
134 | 136 | } |
135 | 137 |
|
|
0 commit comments