Skip to content

Commit abdece4

Browse files
authored
Update ATDExecutor.java
1 parent c4b39be commit abdece4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/com/appium/executor/ATDExecutor.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private List<XmlClass> writeXmlClass(List<String> testCases, Map<String,
252252

253253
private void writeTestNGFile(XmlSuite suite) {
254254
try (FileWriter writer = new FileWriter(new File(
255-
getProperty("user.dir") + PARALLEL_XML_LOCATION))) {
255+
getProperty("user.dir") + PARALLEL_XML_LOCATION))) {
256256
writer.write(suite.toXml());
257257
writer.flush();
258258
} catch (IOException e) {
@@ -271,9 +271,9 @@ public Map<String, List<Method>> getTestMethods(Set<Method> methods) {
271271
Map<String, List<Method>> listOfMethods = new HashMap<>();
272272
methods.forEach(method -> {
273273
List<Method> methodsList = listOfMethods.computeIfAbsent(
274-
method.getDeclaringClass().getPackage().getName()
275-
+ "." + method.getDeclaringClass()
276-
.getSimpleName(), k -> new ArrayList<>());
274+
method.getDeclaringClass().getPackage().getName()
275+
+ "." + method.getDeclaringClass()
276+
.getSimpleName(), k -> new ArrayList<>());
277277
methodsList.add(method);
278278
});
279279
return listOfMethods;
@@ -320,4 +320,4 @@ public CreateGroups invoke() {
320320
return this;
321321
}
322322
}
323-
}
323+
}

0 commit comments

Comments
 (0)