mirror of
https://codeberg.org/PGPainless/wkd-java.git
synced 2025-09-08 18:59:40 +02:00
Experimental feature for testing WKDCli against wkd-test-suite
This commit is contained in:
parent
049c14b779
commit
cd3f36e26a
9 changed files with 159 additions and 11 deletions
|
@ -24,4 +24,28 @@ public class TestCase {
|
|||
this.certificatePath = certificatePath.toString();
|
||||
this.lookupUri = lookupUri;
|
||||
}
|
||||
|
||||
public boolean isExpectSuccess() {
|
||||
return expectSuccess;
|
||||
}
|
||||
|
||||
public String getTestTitle() {
|
||||
return testTitle;
|
||||
}
|
||||
|
||||
public String getTestDescription() {
|
||||
return testDescription;
|
||||
}
|
||||
|
||||
public String getLookupMailAddress() {
|
||||
return lookupMailAddress;
|
||||
}
|
||||
|
||||
public String getCertificatePath() {
|
||||
return certificatePath;
|
||||
}
|
||||
|
||||
public URI getLookupUri() {
|
||||
return lookupUri;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
package pgp.wkd.test_suite;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class TestSuite {
|
||||
|
@ -15,4 +16,12 @@ public class TestSuite {
|
|||
this.version = version;
|
||||
this.testCases = testCases;
|
||||
}
|
||||
|
||||
public List<TestCase> getTestCases() {
|
||||
return new ArrayList<>(testCases);
|
||||
}
|
||||
|
||||
public String getVersion() {
|
||||
return version;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue