Skip to content

Test Case Descriptions

Introduction

This document gives overview of the test cases. This page is partially generated using a script, more info about the script can be found in SiVa GitHub.

The structure and elements of test case is described in QA Strategy document. All the files used in the tests can be found in SiVa GitHub.

AsiceValidationFailIT.java

Open file

TestCaseID: Asice-ValidationFail-1

TestCaseID: Asice-ValidationFail-2

TestCaseID: Asice-ValidationFail-3

TestCaseID: Asice-ValidationFail-4

TestCaseID: Asice-ValidationFail-5

TestCaseID: Asice-ValidationFail-6

TestCaseID: Asice-ValidationFail-7

TestCaseID: Asice-ValidationFail-8

TestCaseID: Asice-ValidationFail-9

TestCaseID: Asice-ValidationFail-10

TestCaseID: Asice-ValidationFail-11

TestCaseID: Asice-ValidationFail-12

TestCaseID: Asice-ValidationFail-13

TestCaseID: Asice-ValidationFail-14

TestCaseID: Asice-ValidationFail-15

TestCaseID: Asice-ValidationFail-16

TestCaseID: Asice-ValidationFail-17

TestCaseID: Asice-ValidationFail-18

TestCaseID: Asice-ValidationFail-19

TestCaseID: Asice-ValidationFail-20

TestCaseID: Asice-ValidationFail-21

TestCaseID: Asice-ValidationFail-22

TestCaseID: Asice-ValidationFail-23

**Attention! This test is disabled: test file is needed where certificate expiration end is before the OCSP produced at time

AsiceValidationPassIT.java

Open file

TestCaseID: Asice-ValidationPass-1

TestCaseID: Asice-ValidationPass-2

TestCaseID: Asice-ValidationPass-4

TestCaseID: Asice-ValidationPass-5

TestCaseID: Asice-ValidationPass-6

TestCaseID: Asice-ValidationPass-7

TestCaseID: Asice-ValidationPass-8

TestCaseID: Asice-ValidationPass-9

TestCaseID: Asice-ValidationPass-10

TestCaseID: Asice-ValidationPass-11

TestCaseID: Asice-ValidationPass-12

TestCaseID: Asice-ValidationPass-13

AsicsValidationFailIT.java

Open file

TestCaseID: Asics-ValidationFail-1

  • TestType: Automated
  • Requirement:
  • Title: Only one datafile is allowed in ASIC-s
  • Expected Result: The validation should fail
  • File: TwoDataFilesAsics.asics

TestCaseID: Asics-ValidationFail-2

  • TestType: Automated
  • Requirement:
  • Title: No data file in ASIC-s
  • Expected Result: The validation should fail
  • File: DataFileMissingAsics.asics

TestCaseID: Asics-ValidationFail-3

  • TestType: Automated
  • Requirement:
  • Title: more folders that META-INF in ASIC-s
  • Expected Result: The validation should fail
  • File: FoldersInAsics.asics

TestCaseID: Asics-ValidationFail-4

  • TestType: Automated
  • Requirement:
  • Title: META-INF folder not in root of container
  • Expected Result: The validation should fail
  • File: MetaInfNotInRoot.asics

TestCaseID: Asics-ValidationFail-5

  • TestType: Automated
  • Requirement:
  • Title: Not allowed files in META-INF folder
  • Expected Result: The validation should fail
  • File: signatureMixedWithTST.asics

TestCaseID: Asics-ValidationFail-6

  • TestType: Automated
  • Requirement:
  • Title: TST not intact
  • Expected Result: The validation should fail
  • File: AsicsTSTsignatureModified.asics

TestCaseID: Asics-ValidationFail-7

  • TestType: Automated
  • Requirement:
  • Title: TST has been corrupted
  • Expected Result: The validation should fail
  • File: AsicsTSTsignatureBroken.asics

TestCaseID: Asics-ValidationFail-8

  • TestType: Automated
  • Requirement:
  • Title: Data file changed
  • Expected Result: The validation should fail
  • File: DatafileAlteredButStillValid.asics

TestCaseID: Asics-ValidationFail-9

  • TestType: Automated
  • Requirement:
  • Title: Exluding files in META-INF folder together with TST
  • Expected Result: The validation should fail
  • File: evidencerecordMixedWithTST.asics

AsicsValidationPassIT.java

Open file

TestCaseID: Asics-ValidationPass-1

  • TestType: Automated
  • Requirement:
  • Title: Validation of ASICs with DDOC inside
  • Expected Result: TST and inner DDOC are valid
  • File: ValidDDOCinsideAsics.asics

TestCaseID: Asics-ValidationPass-2

  • TestType: Automated
  • Requirement:
  • Title: Validation of ASICs with DDOC inside SCS extension
  • Expected Result: TST and inner DDOC are valid
  • File: ValidDDOCinsideAsics.scs

TestCaseID: Asics-ValidationPass-3

  • TestType: Automated
  • Requirement:
  • Title: Validation of ASICs with BDOC inside
  • Expected Result: TST and inner BDOC are valid
  • File: ValidBDOCinsideAsics.asics

TestCaseID: Asics-ValidationPass-4

  • TestType: Automated
  • Requirement:
  • Title: Validation of ASICs with text document inside
  • Expected Result: TST is valid
  • File: TXTinsideAsics.asics

TestCaseID: Asics-ValidationPass-5

  • TestType: Automated
  • Requirement:
  • Title: Validation of ASICs with ASICs inside
  • Expected Result: TST is valid, no inner looping of ASICs
  • File: ValidASICSinsideAsics.asics

TestCaseID: Asics-ValidationPass-6

  • TestType: Automated
  • Requirement:
  • Title: Validation of ASICs with DDOC inside ZIP extension
  • Expected Result: TST and inner DDOC are valid
  • File: ValidDDOCinsideAsics.zip

TestCaseID: Asics-ValidationPass-7

  • TestType: Automated
  • Requirement:
  • Title: Validation of ASICs with wrong mimetype with DDOC inside
  • Expected Result: TST and inner DDOC are valid
  • File: ValidDDOCinsideAsicsWrongMime.asics

BdocValidationFailIT.java

Open file

TestCaseID: Bdoc-ValidationFail-1

TestCaseID: Bdoc-ValidationFail-2

TestCaseID: Bdoc-ValidationFail-3

TestCaseID: Bdoc-ValidationFail-4

TestCaseID: Bdoc-ValidationFail-7

TestCaseID: Bdoc-ValidationFail-8

TestCaseID: Bdoc-ValidationFail-9

TestCaseID: Bdoc-ValidationFail-10

TestCaseID: Bdoc-ValidationFail-11

TestCaseID: Bdoc-ValidationFail-12

TestCaseID: Bdoc-ValidationFail-13

TestCaseID: Bdoc-ValidationFail-15

TestCaseID: Bdoc-ValidationFail-16

TestCaseID: Bdoc-ValidationFail-17

TestCaseID: Bdoc-ValidationFail-18

TestCaseID: Bdoc-ValidationFail-19

TestCaseID: Bdoc-ValidationFail-20

TestCaseID: Bdoc-ValidationFail-21

TestCaseID: Bdoc-ValidationFail-22

TestCaseID: Bdoc-ValidationFail-23

TestCaseID: Bdoc-ValidationFail-24

TestCaseID: Bdoc-ValidationFail-25

TestCaseID: Bdoc-ValidationFail-26

TestCaseID: Bdoc-ValidationFail-27

TestCaseID: Bdoc-ValidationFail-28

TestCaseID: Bdoc-ValidationFail-29

BdocValidationPassIT.java

Open file

TestCaseID: Bdoc-ValidationPass-1

TestCaseID: Bdoc-ValidationPass-2

TestCaseID: Bdoc-ValidationPass-3

**Attention! This test is disabled: New file needed. This one has different mimetype value in manifest.xml and signature.xml

TestCaseID: Bdoc-ValidationPass-4

TestCaseID: Bdoc-ValidationPass-5

TestCaseID: Bdoc-ValidationPass-6

TestCaseID: Bdoc-ValidationPass-7

TestCaseID: Bdoc-ValidationPass-8

TestCaseID: Bdoc-ValidationPass-9

TestCaseID: Bdoc-ValidationPass-10

TestCaseID: Bdoc-ValidationPass-11

TestCaseID: Bdoc-ValidationPass-12

TestCaseID: Bdoc-ValidationPass-13

TestCaseID: Bdoc-ValidationPass-14

TestCaseID: Bdoc-ValidationPass-15

TestCaseID: Bdoc-ValidationPass-16

TestCaseID: Bdoc-ValidationPass-17

TestCaseID: Bdoc-ValidationPass-18

TestCaseID: Bdoc-ValidationPass-19

TestCaseID: Bdoc-ValidationPass-20

TestCaseID: Bdoc-ValidationPass-21

TestCaseID: Bdoc-ValidationPass-22

**Attention! This test is disabled: s://jira.ria.ee/browse/DD4J-161")

DdocGetDataFilesIT.java

Open file

TestCaseID: Ddoc-Get-Data-Files-1

TestCaseID: Ddoc-Get-Data-Files-2

TestCaseID: Ddoc-Get-Data-Files-3

TestCaseID: Ddoc-Get-Data-Files-4

TestCaseID: Ddoc-Get-Data-Files-5

TestCaseID: Ddoc-Get-Data-Files-6

**Attention! This test is disabled: Run this test manually as it fails in Travis

TestCaseID: Ddoc-Get-Data-Files-7

TestCaseID: Ddoc-Get-Data-Files-8

TestCaseID: Ddoc-Get-Data-Files-9

DdocValidationFailIT.java

Open file

TestCaseID: Ddoc-ValidationFail-1

TestCaseID: Ddoc-ValidationFail-2

TestCaseID: Ddoc-ValidationFail-3

TestCaseID: Ddoc-ValidationFail-4

TestCaseID: Ddoc-ValidationFail-5

TestCaseID: Ddoc-ValidationFail-6

TestCaseID: Ddoc-ValidationFail-7

TestCaseID: Ddoc-ValidationFail-8

TestCaseID: Ddoc-ValidationFail-8

TestCaseID: Ddoc-ValidationFail-9

TestCaseID: Ddoc-ValidationFail-10

TestCaseID: Ddoc-ValidationFail-11

TestCaseID: Ddoc-ValidationFail-12

TestCaseID: Ddoc-ValidationFail-13

TestCaseID: Ddoc-ValidationFail-14

TestCaseID: Ddoc-ValidationFail-15

DdocValidationPassIT.java

Open file

TestCaseID: Ddoc-ValidationPass-2

**Attention! This test is disabled: DDOC 1.0 fails in Travis CI. Needs investigation

TestCaseID: Ddoc-ValidationPass-3

TestCaseID: Ddoc-ValidationPass-4

TestCaseID: Ddoc-ValidationPass-5

TestCaseID: Ddoc-ValidationPass-6

TestCaseID: Ddoc-ValidationPass-7

TestCaseID: Ddoc-ValidationPass-8

TestCaseID: Ddoc-ValidationPass-9

TestCaseID: Ddoc-ValidationPass-10

TestCaseID: Ddoc-ValidationPass-11

TestCaseID: Ddoc-ValidationPass-12

TestCaseID: Ddoc-ValidationPass-13

TestCaseID: Ddoc-ValidationPass-14

TestCaseID: Ddoc-ValidationPass-15

TestCaseID: DdocHashcode-ValidationPass-1

**Attention! This test is disabled:

TestCaseID: DdocHashcode-ValidationPass-2

**Attention! This test is disabled: This tests fails in Travis. Has been executed locally

TestCaseID: DdocHashcode-ValidationPass-3

**Attention! This test is disabled: This tests fails in Travis. Has been executed locally

TestCaseID: DdocHashcode-ValidationPass-4

**Attention! This test is disabled: This tests fails in Travis. Has been executed locally

DocumentFormatIT.java

Open file

TestCaseID: DocumentFormat-1

TestCaseID: DocumentFormat-2

TestCaseID: DocumentFormat-3

TestCaseID: DocumentFormat-4

TestCaseID: DocumentFormat-5

TestCaseID: DocumentFormat-6

**Attention! This test is disabled: Test file needed

DocumentValidationIT.java

Open file

TestCaseID: Document-Validation-1

TestCaseID: Document-Validation-2

TestCaseID: Document-Validation-3

TestCaseID: Document-Validation-4

TestCaseID: Document-Validation-5

TestCaseID: Document-Validation-6

TestCaseID: Document-Validation-7

TestCaseID: Document-Validation-8

TestCaseID: Document-Validation-9

TestCaseID: Document-Validation-10

**Attention! This test is disabled:

EuPlugValidationPassIT.java

Open file

TestCaseID: EuPlug-ValidationPass-1

  • TestType: Automated
  • Requirement:
  • Title: Validation of Lithuania adoc-v2.0 signature
  • Expected Result: The document should pass the validation
  • File: Signature-A-LT_MIT-1.asice

TestCaseID: EuPlug-ValidationPass-2

  • TestType: Automated
  • Requirement:
  • Title: Validation multiple of Lithuania adoc-v2.0 signatures
  • Expected Result: The document should pass the validation
  • File: Signature-A-LT_MIT-2.asice

TestCaseID: EuPlug-ValidationPass-3

  • TestType: Automated
  • Requirement:
  • Title: Validation of Lithuania adoc-v2.0 signature with warning
  • Expected Result: The document should pass the validation
  • File: Signature-A-LT_MIT-5.asice"

TestCaseID: EuPlug-ValidationPass-4

  • TestType: Automated
  • Requirement:
  • Title: Validation of Latvian edoc-v2.0 signature
  • Expected Result: The document should pass the validation
  • File: Signature-A-LV_EUSO-1.asice

TestCaseID: EuPlug-ValidationPass-5

  • TestType: Automated
  • Requirement:
  • Title:
  • Expected Result: The document should pass the validation
  • File: Signature-A-LV_EUSO-2.asice

TestCaseID: EuPlug-ValidationPass-6

  • TestType: Automated
  • Requirement:
  • Title: Validation of Polish Asic-s with CAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-A-PL_KIR-1.asics

TestCaseID: EuPlug-ValidationPass-7

  • TestType: Automated
  • Requirement:
  • Title: Validation of Polish Asic-s with XAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-A-PL_KIR-2.asics

TestCaseID: EuPlug-ValidationPass-8

  • TestType: Automated
  • Requirement:
  • Title: Validation of Slovakia Asic-e with XAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-A-SK_DIT-3.asice

TestCaseID: EuPlug-ValidationPass-10

  • TestType: Automated
  • Requirement:
  • Title:
  • Expected Result: The document should pass the validation
  • File: Signature-C-AT_SIT-1.p7m

TestCaseID: EuPlug-ValidationPass-11

  • TestType: Automated
  • Requirement:
  • Title: Validation of German CAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-C-DE_SCI-1.p7m

TestCaseID: EuPlug-ValidationPass-12

  • TestType: Automated
  • Requirement:
  • Title:
  • Expected Result: The document should pass the validation
  • File: Signature-C-ES_MIN-1.p7m

TestCaseID: EuPlug-ValidationPass-13

  • TestType: Automated
  • Requirement:
  • Title:
  • Expected Result: The document should pass the validation
  • File: Signature-C-ES_MIN-2.p7m

TestCaseID: EuPlug-ValidationPass-14

  • TestType: Automated
  • Requirement:
  • Title: Validation of Italian Cades signatures
  • Expected Result: The document should pass the validation
  • File: Signature-C-IT_BIT-5.p7m

TestCaseID: EuPlug-ValidationPass-15

  • TestType: Automated
  • Requirement:
  • Title: Validation of Poland CAdES B signature
  • Expected Result: The document should pass the validation
  • File: Signature-C-PL_ADS-4.p7m

TestCaseID: EuPlug-ValidationPass-16

  • TestType: Automated
  • Requirement:
  • Title: Validation of Poland CAdES T signature
  • Expected Result: The document should pass the validation
  • File: Signature-C-PL_ADS-7.p7m

TestCaseID: EuPlug-ValidationPass-17

  • TestType: Automated
  • Requirement:
  • Title: Validation of Belgium PAdES B signature
  • Expected Result: The document should pass the validation
  • File: Signature-P-BE_CONN-1.pdf

TestCaseID: EuPlug-ValidationPass-18

  • TestType: Automated
  • Requirement:
  • Title: Validation of Belgian PAdES LTA signature
  • Expected Result: The document should pass the validation
  • File: Signature-P-BE_CONN-7.pdf

TestCaseID: EuPlug-ValidationPass-19

  • TestType: Automated
  • Requirement:
  • Title: Validation of German PAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-P-DE_SCI-2.pdf

TestCaseID: EuPlug-ValidationPass-20

  • TestType: Automated
  • Requirement:
  • Title: Validation of Italian PAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-P-IT_MID-1.pdf

TestCaseID: EuPlug-ValidationPass-21

  • TestType: Automated
  • Requirement:
  • Title: Validation of Lithuanian PAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-P-LT_MIT-1.pdf

TestCaseID: EuPlug-ValidationPass-22

  • TestType: Automated
  • Requirement:
  • Title: Validation of Lithuanian PAdES signature 2
  • Expected Result: The document should pass the validation
  • File: Signature-P-LT_MIT-2.pdf

TestCaseID: EuPlug-ValidationPass-23

  • TestType: Automated
  • Requirement:
  • Title: Validation of Latvian PAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-P-LV_EUSO-1.pdf

TestCaseID: EuPlug-ValidationPass-24

  • TestType: Automated
  • Requirement:
  • Title:
  • Expected Result: The document should pass the validation
  • File: Signature-P-LV_EUSO-2.pdf

TestCaseID: EuPlug-ValidationPass-25

  • TestType: Automated
  • Requirement:
  • Title: Validation of Polish PAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-P-PL_ADS-6.pdf

TestCaseID: EuPlug-ValidationPass-26

  • TestType: Automated
  • Requirement:
  • Title: Validation of Polish PAdES QES signature
  • Expected Result: The document should pass the validation
  • File: Signature-P-PL_ADS-8.pdf

TestCaseID: EuPlug-ValidationPass-27

  • TestType: Automated
  • Requirement:
  • Title:
  • Expected Result: The document should pass the validation
  • File: Signature-A-LT_MIT-1.asice

TestCaseID: EuPlug-ValidationPass-28

  • TestType: Automated
  • Requirement:
  • Title:
  • Expected Result: The document should pass the validation
  • File: Signature-A-LT_MIT-1.asice

TestCaseID: EuPlug-ValidationPass-29

  • TestType: Automated
  • Requirement:
  • Title: Validation of Belgian XAdES signature
  • Expected Result: The document should pass the validation
  • File: Signature-X-BE_CONN-1.xml

TestCaseID: EuPlug-ValidationPass-30

  • TestType: Automated
  • Requirement:
  • Title:
  • Expected Result: The document should pass the validation
  • File: Signature-X-BE_CONN-21.xml

LargeFileIT.java

Open file

TestCaseID: PDF-LargeFiles-1

TestCaseID: Bdoc-LargeFiles-1

TestCaseID: Bdoc-LargeFiles-2

TestCaseID: Ddoc-LargeFiles-1

MonitoringIT.java

Open file

TestCaseID: WebApp-Monitoring-1

PdfBaselineProfileIT.java

Open file

TestCaseID: PDF-BaselineProfile-1

TestCaseID: PDF-BaselineProfile-3

TestCaseID: PDF-BaselineProfile-5

TestCaseID: PDF-BaselineProfile-6

TestCaseID: PDF-BaselineProfile-7

TestCaseID: PDF-BaselineProfile-8

TestCaseID: PDF-BaselineProfile-9

TestCaseID: PDF-BaselineProfile-10

TestCaseID: PDF-BaselineProfile-11

PdfSignatureCryptographicAlgorithmIT.java

Open file

TestCaseID: PDF-SigCryptoAlg-1

TestCaseID: PDF-SigCryptoAlg-2

TestCaseID: PDF-SigCryptoAlg-4

TestCaseID: PDF-SigCryptoAlg-5

TestCaseID: PDF-SigCryptoAlg-6

TestCaseID: PDF-SigCryptoAlg-7

TestCaseID: PDF-SigCryptoAlg-8

TestCaseID: PDF-SigCryptoAlg-9

PdfValidationFailIT.java

Open file

TestCaseID: PDF-ValidationFail-1

TestCaseID: PDF-ValidationFail-2

TestCaseID: PDF-ValidationFail-4

TestCaseID: PDF-ValidationFail-5

**Attention! This test is disabled: Needs new test file

TestCaseID: PDF-ValidationFail-6

**Attention! This test is disabled: le needed

TestCaseID: PDF-ValidationFail-7

TestCaseID: PDF-ValidationFail-8

PdfValidationPassIT.java

Open file

TestCaseID: PDF-ValidationPass-1

TestCaseID: PDF-ValidationPass-2

  • TestType: Automated
  • Requirement: http://open-eid.github.io/SiVa/siva3/appendix/validation_policy/#POLv4
  • Title: The PDF-file has been signed with certificate that will expire in 7 days after signing (PAdES Baseline LT)
  • Expected Result: Document signed with certificate that expired after signing should pass.
  • File: hellopades-lt-sha256-rsa2048-7d.pdf

TestCaseID: PDF-ValidationPass-4

TestCaseID: PDF-ValidationPass-5

TestCaseID: PDF-ValidationPass-6

ReportSignatureIT.java

Open file

TestCaseID: Detailed-Report-Signature-1

TestCaseID: Detailed-Report-Signature-2

TestCaseID: Detailed-Report-Signature-3

TestCaseID: Detailed-Report-Signature-4

TestCaseID: Detailed-Report-Signature-5

**Attention! This test is disabled: est should be ran manually after configuring the report signature feature

SignaturePolicyIT.java

Open file

TestCaseID: POLv4-Signature-Policy-1

TestCaseID: POLv4-Signature-Policy-2

TestCaseID: POLv4-Signature-Policy-3

**Attention! This test is disabled: test file needed

TestCaseID: POLv4-Signature-Policy-4

**Attention! This test is disabled: test file needed

TestCaseID: POLv4-Signature-Policy-5

**Attention! This test is disabled: test file needed

TestCaseID: POLv4-Signature-Policy-6

**Attention! This test is disabled: test file needed

TestCaseID: POLv4-Signature-Policy-7

TestCaseID: POLv4-Signature-Policy-8

TestCaseID: POLv4-Signature-Policy-9

TestCaseID: POLv4-Signature-Policy-10

TestCaseID: POLv4-Signature-Policy-11

**Attention! This test is disabled: file needed

TestCaseID: POLv4-Signature-Policy-12

**Attention! This test is disabled: file needed

TestCaseID: POLv4-Signature-Policy-13

TestCaseID: POLv4-Signature-Policy-14

TestCaseID: POLv4-Signature-Policy-15

TestCaseID: POLv4-Signature-Policy-16

TestCaseID: POLv4-Signature-Policy-17

TestCaseID: POLv4-Signature-Policy-18

TestCaseID: POLv3-Signature-Policy-1

TestCaseID: POLv3-Signature-Policy-2

TestCaseID: POLv3-Signature-Policy-3

**Attention! This test is disabled: test file needed

TestCaseID: POLv3-Signature-Policy-4

**Attention! This test is disabled: test file needed

TestCaseID: POLv3-Signature-Policy-5

**Attention! This test is disabled: test file needed

TestCaseID: POLv3-Signature-Policy-6

**Attention! This test is disabled: test file needed

TestCaseID: POLv3-Signature-Policy-7

TestCaseID: POLv3-Signature-Policy-8

TestCaseID: POLv3-Signature-Policy-9

TestCaseID: POLv3-Signature-Policy-10

TestCaseID: POLv3-Signature-Policy-11

**Attention! This test is disabled: file needed

TestCaseID: POLv3-Signature-Policy-12

**Attention! This test is disabled: file needed

TestCaseID: POLv3-Signature-Policy-13

TestCaseID: POLv3-Signature-Policy-14

TestCaseID: POLv3-Signature-Policy-15

TestCaseID: POLv3-Signature-Policy-16

TestCaseID: POLv3-Signature-Policy-17

TestCaseID: POLv3-Signature-Policy-18

TestCaseID: Revocation-Signature-Policy-1

TestCaseID: Revocation-Signature-Policy-2

XadesHashcodeValidationFailIT.java

Open file

TestCaseID: Xades-Hashcode-Validation-Fail-1

TestCaseID: Xades-Hashcode-Validation-Fail-2

TestCaseID: Xades-Hashcode-Validation-Fail-3

TestCaseID: Xades-Hashcode-Validation-Fail-4

XadesHashcodeValidationPassIT.java

Open file

TestCaseID: Xades-Hashcode-Validation-Pass-1

TestCaseID: Xades-Hashcode-Validation-Pass-2

TestCaseID: Xades-Hashcode-Validation-Pass-3

TestCaseID: Xades-Hashcode-Validation-Pass-4

TestCaseID: Xades-Hashcode-Validation-Pass-5

TestCaseID: Xades-Hashcode-Validation-Algorithms-1

TestCaseID: Xades-Hashcode-Validation-Algorithms-2

TestCaseID: Xades-Hashcode-Validation-Algorithms-3

TestCaseID: Xades-Hashcode-Validation-Algorithms-4

TestCaseID: Xades-Hashcode-Validation-Algorithms-5

XRoadValidationFailIT.java

Open file

TestCaseID: Xroad-ValidationFail-1

XRoadValidationPassIT.java

Open file

TestCaseID: Xroad-ValidationPass-1

TestCaseID: Xroad-ValidationPass-2

TestCaseID: Xroad-ValidationPass-3

DetailedReportValidationManualIT.java

Open file

TestCaseID: Detailed-Report-Validation-1

TestCaseID: Detailed-Report-Validation-2

TestCaseID: Detailed-Report-Validation-3

TestCaseID: Detailed-Report-Validation-4

TestCaseID: Detailed-Report-Validation-5

TestCaseID: Detailed-Report-Validation-6

**Attention! This test is disabled: The sequence of blocks changes

TestCaseID: Detailed-Report-Validation-7

TestCaseID: Detailed-Report-Validation-8

TestCaseID: Detailed-Report-Validation-9

TestCaseID: Detailed-Report-Validation-10

**Attention! This test is disabled: Needs possibility to configure report signing in tests

DiagnosticReportValidationManualIT.java

Open file

TestCaseID: Diagnostic-Report-Validation-1

TestCaseID: Diagnostic-Report-Validation-2

TestCaseID: Diagnostic-Report-Validation-3

TestCaseID: Diagnostic-Report-Validation-4

TestCaseID: Diagnostic-Report-Validation-5

**Attention! This test is disabled:

TestCaseID: Diagnostic-Report-Validation-6

ReportSignatureManuallT.java

Open file

TestCaseID: Detailed-Report-Signatures-2

**Attention! This test is disabled:

TestCaseID: Detailed-Report-Signatures-3

**Attention! This test is disabled:

TestCaseID: Detailed-Report-Signatures-4

**Attention! This test is disabled:

TestCaseID: Detailed-Report-Signatures-5

**Attention! This test is disabled:

TestCaseID: Detailed-Report-Signatures-6

**Attention! This test is disabled:

TestCaseID: Detailed-Report-Signatures-7

**Attention! This test is disabled:

TestCaseID: Detailed-Report-Signatures-8

**Attention! This test is disabled:

TestCaseID: Detailed-Report-Signatures-9

**Attention! This test is disabled:

TestCaseID: Detailed-Report-Signatures-10

TestCaseID: Detailed-Report-Signatures-11

TestCaseID: Detailed-Report-Signatures-12

**Attention! This test is disabled:

TestCaseID: Detailed-Report-Signatures-13

TestCaseID: Detailed-Report-Signatures-14

**Attention! This test is disabled:

StatisticsToGAManualIT.java

Note

All tests in this class expect manual configuration of Google Analytics before executing the tests. The test are made to prepare test data and ease the test execution, all results must be checked manually in GA! Check all the fields presence and correctness even though tests prepare data for specific cases.

TestCaseID: Xauth-Statistics-GA-1

TestCaseID: Xauth-Statistics-GA-2

TestCaseID: Xauth-Statistics-GA-3

TestCaseID: Bdoc-Statistics-GA-1

TestCaseID: Bdoc-Statistics-GA-2

TestCaseID: Xroad-Statistics-GA-1

  • TestType: Manual
  • Requirement: http://open-eid.github.io/SiVa/pdf-files/SiVa_statistics.pdf
  • Title: Xroad valid container is validated
  • Expected Result: Country code XX is sent to GA (GA shows ZZ as the XX is unknown code), Signature container type is ASiC-E (BatchSignature)
  • File: xroad-batchsignature.asice

TestCaseID: Ddoc-Statistics-GA-1

TestCaseID: Ddoc-Statistics-Log-2

TestCaseID: Xauth-Statistics-GA-1

StatisticsToLogsManualIT.java

Note

All tests in this class expect manual verification of responses in log! The tests are made to prepare test data and ease the test execution.

TestCaseID: Bdoc-Statistics-Log-1

TestCaseID: Bdoc-Statistics-Log-2

TestCaseID: Bdoc-Statistics-Log-3

TestCaseID: Bdoc-Statistics-Log-4

TestCaseID: Ddoc-Statistics-Log-1

TestCaseID: Ddoc-Statistics-Log-2

TestCaseID: Ddoc-Statistics-Log-3

TestCaseID: Ddoc-Statistics-Log-4

**Attention! This test is disabled: 2-126")

TestCaseID: Pdf-Statistics-Log-1

TestCaseID: Pdf-Statistics-Log-2

TestCaseID: Pdf-Statistics-Log-4

TestCaseID: Xroad-Statistics-Log-1

TestCaseID: Xroad-Statistics-Log-2

TestCaseID: Xroad-Statistics-Log-3

TestCaseID: Asics-Statistics-Log-1

TestCaseID: Asics-Statistics-Log-3

GetDataFileRequestIT.java

Open file

TestCaseID: Get-Data-Files-Request-1

TestCaseID: Get-Data-Files-Request-2

TestCaseID: Get-Data-Files-Request-3

TestCaseID: Get-Data-Files-Request-4

TestCaseID: Get-Data-Files-Request-5

TestCaseID: Get-Data-Files-Request-6

TestCaseID: Get-Data-Files-Request-8

TestCaseID: Get-Data-Files-Request-9

TestCaseID: Get-Data-Files-Request-10

TestCaseID: Get-Data-Files-Request-11

TestCaseID: Get-Data-Files-Request-12

TestCaseID: Get-Data-Files-Request-13

TestCaseID: Get-Data-Files-Request-14

TestCaseID: Get-Data-Files-Request-15

HashcodeValidationRequestIT.java

Open file

TestCaseID: Hascode-Validation-Request-Report-Type-1

TestCaseID: Hascode-Validation-Request-Report-Type-2

TestCaseID: Hascode-Validation-Request-Report-Type-3

TestCaseID: Hascode-Validation-Request-Report-Type-4

TestCaseID: Hascode-Validation-Request-Report-Type-5

TestCaseID: Hascode-Validation-Request-Report-Type-2

TestCaseID: Hascode-Validation-Request-Policy-1

TestCaseID: Hascode-Validation-Request-Policy-2

TestCaseID: Hascode-Validation-Request-Policy-3

TestCaseID: Hascode-Validation-Request-Policy-4

TestCaseID: Hascode-Validation-Request-Policy-5

TestCaseID: Hascode-Validation-Request-Policy-6

TestCaseID: Hascode-Validation-Request-Policy-7

TestCaseID: Hascode-Validation-Request-Policy-8

TestCaseID: Hascode-Validation-Request-Signature-1

TestCaseID: Hascode-Validation-Request-Signature-2

TestCaseID: Hascode-Validation-Request-Signature-3

TestCaseID: Hascode-Validation-Request-Signature-4

TestCaseID: Hascode-Validation-Request-Signature-5

TestCaseID: Hascode-Validation-Request-Datafiles-1

TestCaseID: Hascode-Validation-Request-Datafiles-2

TestCaseID: Hascode-Validation-Request-Datafiles-3

TestCaseID: Hascode-Validation-Request-Datafiles-4

TestCaseID: Hascode-Validation-Request-Datafiles-5

TestCaseID: Hascode-Validation-Request-Datafiles-6

TestCaseID: Hascode-Validation-Request-Datafiles-7

TestCaseID: Hascode-Validation-Request-Datafiles-8

TestCaseID: Hascode-Validation-Request-Datafiles-9

TestCaseID: Hascode-Validation-Request-Datafiles-10

TestCaseID: Hascode-Validation-Request-Datafiles-11

TestCaseID: Hascode-Validation-Request-Policy-12

TestCaseID: Hascode-Validation-Request-Datafiles-12

TestCaseID: Hascode-Validation-Request-Signatures-1

TestCaseID: Hascode-Validation-Request-Signatures-2

TestCaseID: Hascode-Validation-Request-Signatures-2

ValidationReportValueVerificationIT.java

Open file

TestCaseID: Bdoc-ValidationReportVerification-1

TestCaseID: Bdoc-ValidationReportVerification-2

TestCaseID: Bdoc-ValidationReportVerification-3

TestCaseID: Bdoc-ValidationReportVerification-5

TestCaseID: Bdoc-ValidationReportVerification-6

TestCaseID: Bdoc-ValidationReportVerification-7

**Attention! This test is disabled: needs investigation why the signature is determined as XAdES_BASELINE_T not as XAdES_BASELINE_LT_TM

TestCaseID: Bdoc-ValidationReportVerification-8

TestCaseID: Pdf-ValidationReportVerification-1

TestCaseID: Pdf-ValidationReportVerification-2

TestCaseID: Pdf-ValidationReportVerification-3

TestCaseID: Pdf-ValidationReportVerification-4

TestCaseID: Pdf-ValidationReportVerification-5

TestCaseID: Ddoc-ValidationReportVerification-1

TestCaseID: Ddoc-ValidationReportVerification-2

TestCaseID: Ddoc-ValidationReportVerification-4

TestCaseID: Ddoc-ValidationReportVerification-5

TestCaseID: Ddoc-ValidationReportVerification-6

**Attention! This test is disabled: DDOC 1.0 fails in Travis CI. Needs investigation

TestCaseID: Ddoc-ValidationReportVerification-7

TestCaseID: Ddoc-ValidationReportVerification-8

TestCaseID: Ddoc-ValidationReportVerification-9

TestCaseID: Xroad-ValidationReportVerification-1

TestCaseID: Xroad-ValidationReportVerification-2

TestCaseID: Xroad-ValidationReportVerification-3

TestCaseID: Xroad-ValidationReportVerification-4

ValidationRequestIT.java

Open file

TestCaseID: ValidationRequest-Parameters-1

TestCaseID: ValidationRequest-Parameters-2

TestCaseID: ValidationRequest-Parameters-3

TestCaseID: ValidationRequest-Parameters-4

TestCaseID: ValidationRequest-Parameters-5

TestCaseID: ValidationRequest-Parameters-6

TestCaseID: ValidationRequest-Parameters-7

TestCaseID: ValidationRequest-Parameters-8

TestCaseID: ValidationRequest-Parameters-9

TestCaseID: ValidationRequest-Parameters-10

TestCaseID: ValidationRequest-Parameters-11

TestCaseID: ValidationRequest-Parameters-12

TestCaseID: ValidationRequest-Parameters-13

TestCaseID: ValidationRequest-Parameters-15

TestCaseID: ValidationRequest-Parameters-16

TestCaseID: ValidationRequest-Parameters-17

TestCaseID: ValidationRequest-Parameters-18

TestCaseID: ValidationRequest-Parameters-19

TestCaseID: ValidationRequest-Parameters-20

TestCaseID: ValidationRequest-Parameters-21

TestCaseID: ValidationRequest-Parameters-22

TestCaseID: ValidationRequest-Parameters-23

TestCaseID: ValidationRequest-Parameters-24

TestCaseID: ValidationRequest-Parameters-25

TestCaseID: ValidationRequest-Parameters-26

TestCaseID: ValidationRequest-Parameters-27

TestCaseID: ValidationRequest-Parameters-28

TestCaseID: ValidationRequest-Parameters-29

TestCaseID: ValidationRequest-Parameters-30

TestCaseID: ValidationRequest-Parameters-31

TestCaseID: ValidationRequest-Validator-1

TestCaseID: ValidationRequest-Validator-2

TestCaseID: ValidationRequest-Validator-3

TestCaseID: ValidationRequest-Validator-4

TestCaseID: ValidationRequest-Validator-5

TestCaseID: ValidationRequest-Validator-6

TestCaseID: ValidationRequest-Validator-7

TestCaseID: ValidationRequest-Validator-8

SoapGetDataFileReportIT.java

Open file

TestCaseID: SoapGetDataFile-Report-1

TestCaseID: SoapGetDataFile-Report-2

TestCaseID: SoapGetDataFile-Report-3

TestCaseID: SoapGetDataFile-Report-4

**Attention! This test is disabled: Run this test manually as it fails in Travis because of big response data

SoapGetDataFileRequestIT.java

Open file

TestCaseID: Soap-Validation-Request-For-Data-Files-1

TestCaseID: Soap-Validation-Request-For-Data-Files-2

TestCaseID: Soap-Validation-Request-For-Data-Files-3

TestCaseID: Soap-Validation-Request-For-Data-Files-4

TestCaseID: Soap-Validation-Request-For-Data-Files-5

TestCaseID: Soap-Validation-Request-For-Data-Files-6

TestCaseID: Soap-Validation-Request-For-Data-Files-7

TestCaseID: Soap-Validation-Request-For-Data-Files-9

TestCaseID: Soap-Validation-Request-For-Data-Files-10

TestCaseID: Soap-Validation-Request-For-Data-Files-11

TestCaseID: Soap-Validation-Request-For-Data-Files-12

TestCaseID: Soap-Validation-Request-For-Data-Files-13

TestCaseID: Soap-Validation-Request-For-Data-Files-14

SoapHashcodeValidationRequestIT.java

Open file

TestCaseID: Soap-Hashcode-Validation-Report-Type-1

TestCaseID: Soap-Hashcode-Validation-Report-Type-2

TestCaseID: Soap-Hashcode-Validation-Report-Type-3

TestCaseID: Soap-Hashcode-Validation-Report-Type-4

TestCaseID: Soap-Hashcode-Validation-Report-Type-5

TestCaseID: Soap-Hashcode-Validation-Report-Type-6

TestCaseID: Soap-Hashcode-Validation-Policy-1

TestCaseID: Soap-Hashcode-Validation-Policy-2

TestCaseID: Soap-Hashcode-Validation-Policy-3

TestCaseID: Soap-Hashcode-Validation-Policy-4

TestCaseID: Soap-Hashcode-Validation-Policy-5

TestCaseID: Soap-Hashcode-Validation-Policy-6

TestCaseID: Soap-Hashcode-ValidationRequest-Signature-1

TestCaseID: Soap-Hashcode-ValidationRequest-Signature-2

TestCaseID: Soap-Hashcode-ValidationRequest-Signature-3

TestCaseID: Soap-Hashcode-ValidationRequest-Signature-4

TestCaseID: Soap-Hashcode-ValidationRequest-Signature-5

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-1

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-2

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-3

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-4

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-5

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-6

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-7

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-8

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-9

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-10

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-11

TestCaseID: Soap-Hashcode-ValidationRequest-Datafile-12

TestCaseID: Soap-Hashcode-ValidationRequest-1

TestCaseID: Soap-Hashcode-ValidationRequest-2

TestCaseID: Soap-Hashcode-ValidationRequest-3

TestCaseID: Soap-Hashcode-ValidationRequest-4

TestCaseID: Xades-Hashcode-Validation-Special-1

TestCaseID: Xades-Hashcode-Validation-Special-2

TestCaseID: Xades-Hashcode-Validation-Special-3

TestCaseID: Xades-Hashcode-Validation-Special-4

SoapValidationReportValueIT.java

Open file

TestCaseID: Bdoc-SoapValidationReportValue-1

TestCaseID: Bdoc-SoapValidationReportValue-2

TestCaseID: Bdoc-SoapValidationReportValue-3

**Attention! This test is disabled: New testfile needed

TestCaseID: Bdoc-SoapValidationReportValue-4

**Attention! This test is disabled: Testfile needed

TestCaseID: Bdoc-SoapValidationReportValue-5

TestCaseID: Ddoc-SoapValidationReportValue-1

**Attention! This test is disabled: DDOC 1.0 fails in Travis CI. Needs investigation

TestCaseID: Ddoc-SoapValidationReportValue-2

TestCaseID: Ddoc-SoapValidationReportValue-3

TestCaseID: Ddoc-SoapValidationReportValue-4

TestCaseID: Pdf-SoapValidationReportValue-1

TestCaseID: Pdf-SoapValidationReportValue-2

TestCaseID: Xroad-SoapValidationReportValue-1

TestCaseID: Xroad-SoapValidationReportValue-2

SoapValidationRequestIT.java

Open file

TestCaseID: Soap-ValidationRequest-1

TestCaseID: Soap-ValidationRequest-2

TestCaseID: Soap-ValidationRequest-3

TestCaseID: Soap-ValidationRequest-4

TestCaseID: Soap-ValidationRequest-5

TestCaseID: Soap-ValidationRequest-6

TestCaseID: Soap-ValidationRequest-7

TestCaseID: Soap-ValidationRequest-8

TestCaseID: Soap-ValidationRequest-9

TestCaseID: Soap-ValidationRequest-10

TestCaseID: Soap-ValidationRequest-11

TestCaseID: Soap-ValidationRequest-12

TestCaseID: Soap-ValidationRequest-13

TestCaseID: Soap-ValidationRequest-14

TestCaseID: Soap-ValidationRequest-15

TestCaseID: Soap-ValidationRequest-16

TestCaseID: Soap-ValidationRequest-17

TestCaseID: Soap-ValidationRequest-18

TestCaseID: Soap-ValidationRequest-19

TestCaseID: Soap-ValidationRequest-20

TestCaseID: Soap-BdocValidationRequest-1

TestCaseID: Soap-BdocValidationRequest-2

TestCaseID: Soap-BdocValidationRequest-3

TestCaseID: Soap-BdocValidationRequest-5

TestCaseID: Soap-BdocValidationRequest-6

TestCaseID: Soap-DdocValidationRequest-7

TestCaseID: Soap-DdocValidationRequest-1

TestCaseID: Soap-DdocValidationRequest-2

TestCaseID: Soap-DdocValidationRequest-3

TestCaseID: Soap-DdocValidationRequest-4

TestCaseID: Soap-DdocValidationRequest-5

TestCaseID: Soap-DdocValidationRequest-6

TestCaseID: Soap-PdfValidationRequest-1

TestCaseID: Soap-PdfValidationRequest-4

TestCaseID: Soap-XroadValidationRequest-1

TestCaseID: Soap-XroadValidationRequest-2

TestCaseID: Soap-XroadValidationRequest-3

TestCaseID: Soap-XroadValidationRequest-4

TestCaseID: Soap-ValidationRequest-ReportType-1

TestCaseID: Soap-ValidationRequest-ReportType-2

TestCaseID: Soap-ValidationRequest-ReportType-3

SoapXRoadRequestHeaderIT.java

Open file

TestCaseID: XroadSoap-RequestVerification-1

TestCaseID: XroadSoap-RequestVerification-2

TestCaseID: XroadSoap-RequestVerification-3

TestCaseID: XroadSoap-GetDataFiles-RequestVerification-1

TestCaseID: XroadSoap-GetDataFiles-RequestVerification-2

TestCaseID: XroadSoap-GetDataFiles-RequestVerification-3

Sample Application Integration Test

TestCaseID: Sample-Application-Elements-1

  • TestType: Manual
  • Requirement:
  • Title: Upload of correct file type
  • Expected Result: Its possible to upload the file by dropping in download area or by browsing a file
  • File: Šužlikud sõid ühe õuna ära.bdoc

TestCaseID: Sample-Application-Elements-2

  • TestType: Manual
  • Requirement:
  • Title: Upload of invalid file type
  • Expected Result: File is not validated, corresponding errors are returned
  • File: XML.xml

TestCaseID: Sample-Application-Elements-3

  • TestType: Manual
  • Requirement:
  • Title: Upload file larger than 10MB
  • Expected Result: File is not validated
  • File: hellopades-lta-no-ocsp.pdf

TestCaseID: Sample-Application-Elements-4

  • TestType: Manual
  • Requirement:
  • Title: Page layout
  • Expected Result: All elements are properly displayed and can be used with different window sizes
  • File: not relevant

TestCaseID: Sample-Application-Validation-1

TestCaseID: Sample-Application-Validation-1

TestCaseID: Sample-Application-Validation-2

TestCaseID: Sample-Application-Validation-3

X-Road Soap System Test

TestCaseID: Xroad-Validate-Ddoc-1

TestCaseID: Xroad-Validate-Ddoc-2

TestCaseID: Xroad-Validate-Ddoc-3

TestCaseID: Xroad-Validate-Bdoc-1

  • TestType: Automated SoapUI
  • Requirement: http://open-eid.github.io/SiVa/siva/v2/interfaces/
  • Title: Validate valid Bdoc
  • Expected Result: The document should return validation report with one valid signature
  • File: Šužlikud sõid ühe õuna ära.bdoc

TestCaseID: Xroad-Validate-Bdoc-2

TestCaseID: Xroad-Validate-Bdoc-3

TestCaseID: Xroad-Validate-Pdf-1

TestCaseID: Xroad-Validate-Pdf-2

TestCaseID: Xroad-Validate-Pdf-3

TestCaseID: Xroad-Validate-Xroad-1

TestCaseID: Xroad-Validate-Xroad-2

TestCaseID: Xroad-Validate-Xroad-3

TestCaseID: Xroad-GetDataFiles-DDOC-1

TestCaseID: Xroad-GetDataFiles-DDOC-2

TestCaseID: Xroad-GetDataFiles-DDOC-3

Configuration System Test

TestCaseID: Configuration-Webapp-TSL-1

TestCaseID: Configuration-Webapp-TSL-3

TestCaseID: Configuration-Webapp-TSL-4

TestCaseID: Configuration-Webapp-TSL-5

TestCaseID: Configuration-Webapp-Keystore-1

TestCaseID: Configuration-Webapp-Scheduler-1

TestCaseID: Configuration-Webapp-Xroad-1

TestCaseID: Configuration-Webapp-GA-1

TestCaseID: Configuration-Webapp-Policy-1

TestCaseID: Configuration-Webapp-Policy-2

TestCaseID: Configuration-Webapp-Monitoring-1

TestCaseID: Configuration-Webapp-Monitoring-2

TestCaseID: Configuration-Webapp-Monitoring-3

TestCaseID: Configuration-XroadService-Monitoring-1

TestCaseID: Configuration-SampleApplication-1

TestCaseID: Configuration-SampleApplication-Monitoring-1