junit - IllegalAccessException: Class BlockJUnit4ClassRunner can not access a member of class Abc with modifiers "private" -
downloaded junit-4.12.jar , hamcrest-core-1.3.jar (both latest time being), when try run unit tests, exception private (or protected) fields attribute parameter. when change fields public, fine.
any comments?
sorry mistake, parameterized test documentation defines fields public.
Comments
Post a Comment