-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In mutational #183 removing the Phased annotation from the motational…
… tests
- Loading branch information
Showing
7 changed files
with
150 additions
and
14 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
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
34 changes: 34 additions & 0 deletions
34
.../com/adobe/campaign/tests/integro/phased/mutational/data/nested/MutationalTestParent.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,34 @@ | ||
/* | ||
* Copyright 2022 Adobe | ||
* All Rights Reserved. | ||
* | ||
* NOTICE: Adobe permits you to use, modify, and distribute this file in | ||
* accordance with the terms of the Adobe license agreement accompanying | ||
* it. | ||
*/ | ||
package com.adobe.campaign.tests.integro.phased.mutational.data.nested; | ||
|
||
import com.adobe.campaign.tests.integro.phased.Mutational; | ||
import com.adobe.campaign.tests.integro.phased.PhasedTestManager; | ||
import org.testng.annotations.Test; | ||
|
||
import static org.testng.Assert.assertFalse; | ||
|
||
public class MutationalTestParent { | ||
@Test(groups = "nested") | ||
public class MutationalChildTest1 extends Mutational { | ||
|
||
public void step1(String val) { | ||
System.out.println("step1 " + val); | ||
PhasedTestManager.produceInStep("A"); | ||
} | ||
|
||
public void step2(String val) { | ||
System.out.println("step2 " + val); | ||
String l_fetchedValue = PhasedTestManager.consumeFromStep("step1"); | ||
assertFalse(true); | ||
PhasedTestManager.produceInStep(l_fetchedValue + "B"); | ||
|
||
} | ||
} | ||
} |
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