You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Synthesize a _callable_ object with the specified parameters.
116
116
117
117
### How to Enable Notifications
@@ -613,6 +613,7 @@ public class MyParameterizedCapture extends ArtifactCollector<MyParameterizedTyp
613
613
614
614
The following example implements a parameterized test class that publishes its invocation parameters through the **ArtifactParams** interface. It uses the custom **Parameterized** runner to invoke the `parameterized()` test method twice - once with input "first test", and once with input "second test". The test class constructor accepts the invocation parameter as its argument and stores it in an instance field for use by the test.
615
615
616
+
* The `getAtomIdentity()` method provides access to the **ParameterizedCapture** test watcher, which implements the **AtomIdentity** interface.
616
617
* The `getDescription()` method acquires the **Description** object for the current `atomic test` from the `watcher` test rule.
617
618
* The `getParameters()` method uses static methods of the **ArtifactParams** interface to assemble the map of invocation parameters from the `input` instance field populated by the constructor.
618
619
@@ -654,6 +655,11 @@ public class ParameterizedTest implements ArtifactParams {
0 commit comments