Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 476e48e

Browse files
committed
Add clarification comments for action test setup
1 parent b8a2888 commit 476e48e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/test/java/unit/com/mathworks/ci/actions/RunMatlabBuildActionTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public class RunMatlabBuildActionTest {
4444
private boolean setup = false;
4545
private RunMatlabBuildAction action;
4646

47+
// Not using @BeforeClass to avoid static fields.
4748
@Before
4849
public void init() {
4950
if (!setup) {

src/test/java/unit/com/mathworks/ci/actions/RunMatlabCommandActionTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public class RunMatlabCommandActionTest {
3333
private boolean setup = false;
3434
private RunMatlabCommandAction action;
3535

36+
// Not using @BeforeClass to avoid static fields.
3637
@Before
3738
public void init() {
3839
if (!setup) {

src/test/java/unit/com/mathworks/ci/actions/RunMatlabTestsActionTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public class RunMatlabTestsActionTest {
4040
private boolean setup = false;
4141
private RunMatlabTestsAction action;
4242

43+
// Not using @BeforeClass to avoid static fields.
4344
@Before
4445
public void init() throws IOException, InterruptedException {
4546
if (!setup) {

0 commit comments

Comments
 (0)