Skip to content

Commit

Permalink
Fix rebase issues
Browse files Browse the repository at this point in the history
Signed-off-by: André Silva <[email protected]>
  • Loading branch information
andre15silva committed Feb 18, 2021
1 parent c267084 commit a79d420
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 27 deletions.
10 changes: 8 additions & 2 deletions src/repairnator-pipeline/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>repairnator-root</artifactId>
<groupId>fr.inria.repairnator</groupId>
Expand All @@ -14,7 +15,10 @@
<id>tdurieux-maven-repository-snapshot</id>
<name>tdurieux.github.io maven-repository</name>
<url>https://tdurieux.github.io/maven-repository/snapshots/</url>
<snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>

</repository>
<repository>
Expand Down Expand Up @@ -128,6 +132,8 @@
<groupId>exceptionparser</groupId>
<artifactId>exceptionparser</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>fr.inria.gforge.spirals</groupId>
<artifactId>npefix</artifactId>
<version>0.7</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,6 @@ public FileVisitResult preVisitDirectory(Path file, BasicFileAttributes attrs) t

try {
// Descend stack trace
<<<<<<< HEAD
=======
this.getLogger().info(testCase.getFailureDetail());
>>>>>>> ea3eab47 (Split errors and failures. Add source classes information to errors.)
StackTrace stackTrace = StackTraceParser.parse(testCase.getFailureDetail());
StackTrace causedBy = stackTrace.getCausedBy();
while (causedBy != null) {
Expand All @@ -206,26 +202,14 @@ >>>>>>> ea3eab47 (Split errors and failures. Add source classes information to e
File file = new File(sourcedir.getAbsolutePath() + "/" + path);
File packageFile = new File(sourcedir.getAbsolutePath() + "/" + packagePath);
if (file.exists()) {
<<<<<<< HEAD
this.getLogger().debug("classFiles: " + file.getAbsolutePath());
if (!onePass) {
this.getLogger().debug("classFiles: " + file.getAbsolutePath());
classFiles.add(file);
}
this.getLogger().debug("stackFiles: " + file.getAbsolutePath());
stackFiles.add(file);
}
if (packageFile.exists()) {
this.getLogger().debug("packageFiles: " + packageFile.getAbsolutePath());
=======
this.getLogger().info("Added file : " + file.getAbsolutePath());
if (!onePass) {
classFiles.add(file);
}
stackFiles.add(file);
}
if (packageFile.exists()) {
this.getLogger().info("Added file : " + packageFile.getAbsolutePath());
>>>>>>> ea3eab47 (Split errors and failures. Add source classes information to errors.)
packageFiles.add(packageFile);
}
if (file.exists() || packageFile.exists())
Expand All @@ -240,11 +224,6 @@ >>>>>>> ea3eab47 (Split errors and failures. Add source classes information to e
} catch (StackTraceParser.ParseException e) {
this.addStepError("Error while parsing stack trace.", e);
}
<<<<<<< HEAD

=======

>>>>>>> ea3eab47 (Split errors and failures. Add source classes information to errors.)
failureLocation.addErroringMethod(testCase.getName(), typeTof);
} else {
FailureType typeTof = new FailureType(failureType, testCase.getFailureDetail());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package fr.inria.spirals.repairnator.process.testinformation;

import java.util.Objects;

/**
* Created by urli on 08/02/2017.
*/
Expand All @@ -10,7 +8,7 @@ public class FailureType extends BugType {
/**
* Class representing a type of failure that occurred during a test execution
*
* @param name The name of the type of failure
* @param name The name of the type of failure
* @param detail The detailed message generated for this failure
*/
public FailureType(String name, String detail) {
Expand Down

0 comments on commit a79d420

Please sign in to comment.