commit | 6017243a808a729f7321a6082c67fa2910b4a556 | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Wed May 11 10:41:22 2016 +0100 |
committer | Paul Duffin <paulduffin@google.com> | Tue May 24 15:27:19 2016 +0100 |
tree | 29b413db6fcb653b700d600174e8a3b9cbdbccb6 | |
parent | 529252800771d4841f2cfc86ec43bd1764a5e2c2 [diff] |
Make Junit4 class more consistent with JUnit Stop running @Test methods in a class that is annotated with @RunWith(Suite.class). The latter takes priority. Check to make sure that when a method is explicitly requested by name that it is suitable to be run, i.e. is annotated with @Test and not annotated by @Ignore and has no parameters. Make sure that a test class that is to be instantiated is not abstract. Bug: 27940141 Change-Id: I5af25342b61efe0605b4a498b61078cc0caaf5a0