If @DisplayName annotation is attached, output the annotation value to name attribute of testsuite and name attribute of testcase. If @DisplayName annotation is not attached, output the class FQN. In any case, output the class FQN to classname attribute of testcase. Issue: #11445 Signed-off-by: Daiki Hirabayashi <email@example.com>
Replace 'Matchers' with 'CoreMatchers' So we do not require 'org.hamcrest:hamcrest-library' as additional dependency anymore. Which was only available for most of the tests because it leaked onto the test compile classpath.