Skip to content

Commit 9b93646

Browse files
Merge pull request #14 from startingwithseleniumwebdriver/BugFix-percent-issue
Completed percent error fix
2 parents d5d9274 + db34b7e commit 9b93646

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

RealTimeReport/src/report/realtime/datahandler/DataPreparator.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,12 @@ synchronized public static List<ExMethodResultDTO> prepareExcludedTestMethod(ISu
161161
List<ExMethodResultDTO> resultDTOs = new ArrayList<ExMethodResultDTO>();
162162
ExMethodResultDTO dto;
163163
for (ITestNGMethod iTestNGMethod : suite.getExcludedMethods()) {
164-
dto = new ExMethodResultDTO();
165-
dto.setDataProvider(getDataProvider(iTestNGMethod));
166-
dto.setExcludedMethod(iTestNGMethod.getMethodName());
167-
resultDTOs.add(dto);
164+
if(iTestNGMethod.isTest()){
165+
dto = new ExMethodResultDTO();
166+
dto.setDataProvider(getDataProvider(iTestNGMethod));
167+
dto.setExcludedMethod(iTestNGMethod.getMethodName());
168+
resultDTOs.add(dto);
169+
}
168170
}
169171
return resultDTOs;
170172
}

0 commit comments

Comments
 (0)