Skip to content

Commit 8555031

Browse files
committed
- F ability to disable MachineSpecificTest message
1 parent 9fcd64c commit 8555031

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

approvaltests-tests/src/main/java/org/approvaltests/machine_specific_tests/MachineSpecificTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
public class MachineSpecificTest
1212
{
13-
private static boolean DISPLAYED = false;
13+
public static boolean DISPLAYED = false;
1414
@BeforeEach
1515
public void beforeMethod(TestInfo testInfo)
1616
{

html_locker/src/test/java/machine_specific_tests/approvaltests/webpages/tests/WebPageTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
@UseReporter({DiffReporter.class, ClipboardReporter.class})
1616
public class WebPageTest extends MachineSpecificTest
1717
{
18+
static
19+
{
20+
DISPLAYED = true;
21+
}
1822
@Disabled("run manually, todo: create snippet")
1923
@Test
2024
public void testWikipedia() throws Exception

0 commit comments

Comments
 (0)