Skip to content

Commit

Permalink
TestNG: set test class instead of name in test listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Schäfer committed Sep 7, 2015
1 parent de83c87 commit 16973fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private ReportModel getReportModel( Class<?> clazz ) {
ReportModel model = reportModels.get( clazz.getName() );
if( model == null ) {
model = new ReportModel();
model.setClassName( clazz.getName() );
model.setTestClass( clazz );
ReportModel previousModel = reportModels.putIfAbsent( clazz.getName(), model );
if( previousModel != null ) {
model = previousModel;
Expand Down

0 comments on commit 16973fc

Please sign in to comment.