-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor SharedDriver lifecycle in FluentAdapter (JUnit, TestNG & Cuc…
…umber)
- Loading branch information
Showing
21 changed files
with
634 additions
and
123 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
fluentlenium-core/src/main/java/org/fluentlenium/adapter/DefaultSharedMutator.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,13 @@ | ||
package org.fluentlenium.adapter; | ||
|
||
import org.fluentlenium.adapter.util.SharedDriverStrategy; | ||
|
||
/** | ||
* Default implementation of {@link SharedMutator}, returning unchanged parameters. | ||
*/ | ||
public class DefaultSharedMutator implements SharedMutator { | ||
@Override | ||
public <T> EffectiveParameters<T> getEffectiveParameters(Class<T> testClass, String testName, SharedDriverStrategy strategy) { | ||
return new EffectiveParameters<>(testClass, testName, strategy); | ||
} | ||
} |
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
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
Oops, something went wrong.