Map<String,ReifiedParamRunner> map = testParameterizations(runner,
"Parameterization[PASSING one: [1] ]",
"Parameterization[PASSING two: [2] ]");
{
ReifiedParamRunner forOne = map.get("Parameterization[PASSING one: [1] ]");
assertEquals("param one: " + forOne.describeChildren(), 3, forOne.getChildrenCount());
testFrameworkMethod(forOne, OnlyIfTest.class, "testIs1Method", true);
testFrameworkMethod(forOne, OnlyIfTest.class, "testIs1Field", true);
testFrameworkMethod(forOne, OnlyIfTest.class, "alwaysRun", true);
}
{
ReifiedParamRunner forTwo = map.get("Parameterization[PASSING two: [2] ]");
assertEquals("param two: " + forTwo.describeChildren(), 1, forTwo.getChildrenCount());
testFrameworkMethod(forTwo, OnlyIfTest.class, "alwaysRun", true);
}
}