screenshot plugin: test screenshot filenames

This commit is contained in:
Adam
2021-12-05 12:02:35 -05:00
parent 9564e13d0f
commit a05655f412
2 changed files with 31 additions and 29 deletions

View File

@@ -795,7 +795,8 @@ public class ScreenshotPlugin extends Plugin
* @param fileName Filename to use, without file extension.
* @param subDir Subdirectory to store the captured screenshot in.
*/
private void takeScreenshot(String fileName, String subDir)
@VisibleForTesting
void takeScreenshot(String fileName, String subDir)
{
if (client.getGameState() == GameState.LOGIN_SCREEN)
{