Ignore inner classes when looking for tests
An upcoming change adds a dependency on Mockito in libcore.
CollectAllTests loads all classes found in a jar file.
In order to resolve method parameters the CollectAllTests
tool needs to have all classes referenced in method signatures,
fields, superclasses, etc. on the classpath.
Mockito requires the creation of inner classes for some APIs.
Rather than add Mockito to the classpath, this change causes
CollectAllTests to ignore inner classes.
Change-Id: I0ef436d46eb1afa4994f73d8a24ce602bf36512d
1 file changed