-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for case of inherited from Test tasks with own executers
Signed-off-by: Sergey Zhuravlev <[email protected]>
- Loading branch information
Showing
4 changed files
with
62 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
plugin/src/main/java/org/gradle/testretry/internal/executer/LastResultHolder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.gradle.testretry.internal.executer; | ||
|
||
import javax.annotation.Nullable; | ||
|
||
public class LastResultHolder { | ||
@Nullable | ||
private RoundResult lastResult; | ||
|
||
@Nullable | ||
public RoundResult get() { | ||
return lastResult; | ||
} | ||
|
||
public void set(RoundResult lastResult) { | ||
this.lastResult = lastResult; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters