@@ -30,6 +30,8 @@ Get the test class associated with the specified framework method.
3030Get the test class object associated with the specified parent runner.
3131* ` LifecycleHooks.getAtomicTestOf(Object runner) `
3232Get the atomic test object for the specified class runner.
33+ * ` LifecycleHooks.getCallableOf(Object runner, Object child) `
34+ Get the _ callable_ object associated with the specified parent runner and child runner or framework method.
3335
3436###### Exploring the Test Run Hierarchy
3537``` java
@@ -109,6 +111,8 @@ Get a `Description` for the indicated child object from the runner for the speci
109111Get class of specified test class instance.
110112* ` LifecycleHooks.getFieldValue(Object target, String name) `
111113Get the value of the specified field from the supplied object.
114+ * ` LifecycleHooks.encloseCallable(Method method, Object target, Object... params) `
115+ Synthesize a _ callable_ object with the specified parameters.
112116
113117### How to Enable Notifications
114118
@@ -132,7 +136,7 @@ The hooks that enable **JUnit Foundation** test lifecycle notifications are inst
132136 <dependency >
133137 <groupId >com.nordstrom.tools</groupId >
134138 <artifactId >junit-foundation</artifactId >
135- <version >11.3 .0</version >
139+ <version >12.1 .0</version >
136140 <scope >test</scope >
137141 </dependency >
138142 </dependencies >
@@ -209,7 +213,7 @@ repositories {
209213}
210214dependencies {
211215 ...
212- compile 'com.nordstrom.tools:junit-foundation:11.3 .0'
216+ compile 'com.nordstrom.tools:junit-foundation:12.1 .0'
213217}
214218ext {
215219 junitFoundation = configurations.compile.resolvedConfiguration.resolvedArtifacts.find { it.name == 'junit-foundation' }
@@ -369,10 +373,6 @@ import org.junit.runner.RunWith;
369373import org.junit.runners.Parameterized ;
370374import org.junit.runners.Parameterized.Parameters ;
371375
372- import com.nordstrom.automation.junit.ArtifactParams ;
373- import com.nordstrom.automation.junit.AtomIdentity ;
374-
375-
376376import com.nordstrom.automation.junit.ArtifactParams ;
377377import com.nordstrom.automation.junit.AtomIdentity ;
378378
@@ -393,6 +393,11 @@ public class ExampleTest implements ArtifactParams {
393393 return new Object [] { " first test" , " second test" };
394394 }
395395
396+ @Override
397+ public AtomIdentity getAtomIdentity () {
398+ return identity;
399+ }
400+
396401 @Override
397402 public Description getDescription () {
398403 return identity. getDescription();
0 commit comments