public class MainSignTest extends MainTest
Modifier and Type | Field and Description |
---|---|
org.junit.contrib.java.lang.system.EnvironmentVariables |
environmentVariables |
BLANK_12_PDF, exit, folder, systemErrRule
Constructor and Description |
---|
MainSignTest() |
Modifier and Type | Method and Description |
---|---|
static Object[][] |
dataProviderEmpty() |
void |
test1p12() |
void |
testEmpty(String keystoreFileName,
String keystoreType) |
void |
testKeyCorrect() |
void |
testKeyIncorrect() |
void |
testNoInput() |
void |
testNoKeystore() |
void |
testPasswordCmdlineSuccess() |
void |
testPasswordEnvvarCustomSuccess() |
void |
testPasswordEnvvarDefaultSuccess() |
void |
testPasswordIncorrect() |
void |
testPasswordMissing() |
assertEquals, newFile, newFile, newInspect
public final org.junit.contrib.java.lang.system.EnvironmentVariables environmentVariables
public MainSignTest()
public void testNoInput() throws IOException
IOException
public void testNoKeystore() throws IOException
IOException
@DataProvider public static Object[][] dataProviderEmpty()
@UseDataProvider public void testEmpty(String keystoreFileName, String keystoreType) throws IOException
IOException
public void test1p12() throws IOException
IOException
public void testKeyIncorrect() throws IOException
IOException
public void testKeyCorrect() throws IOException
IOException
public void testPasswordMissing() throws IOException
IOException
public void testPasswordIncorrect() throws IOException
IOException
public void testPasswordCmdlineSuccess() throws IOException
IOException
public void testPasswordEnvvarDefaultSuccess() throws IOException
IOException
public void testPasswordEnvvarCustomSuccess() throws IOException
IOException
Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.