<?xml version="1.0" encoding="UTF-8"?>
<!--
DsigSdk the PHP XML Digital Signature recomendation SDK,
source http://www.w3.org/2000/09/xmldsig#
Copyright 2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved
Author Kjell-Inge Gustafsson, kigkonsult
Link https://kigkonsult.se
Version 0.965
License Subject matter of licence is the software DsigSdk.
The above copyright, link, package and version notices,
this licence notice shall be included in all copies or substantial
portions of the DsigSdk.
DsigSdk is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
DsigSdk is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with DsigSdk. If not, see <https://www.gnu.org/licenses/>.
This file is a part of DsigSdk.
-->
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
syntaxCheck="false"
bootstrap="autoload.php"
>
<testsuites>
<testsuite name="Dsig Dto Tests">
<file>./test/SignatureTest.php</file>
</testsuite>
<testsuite name="Impl Tests">
<file>./test/Impl/CommonFactoryTest.php</file>
<file>./test/Impl/HashFactoryTest.php</file>
<file>./test/Impl/HmacHashFactoryTest.php</file>
<file>./test/Impl/PKCSFactoryTest.php</file>
<file>./test/Impl/OpenSSLBaseTest.php</file>
<file>./test/Impl/OpenSSLFactoryTest.php</file>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist='true' processUncoveredFilesFromWhitelist="true">
<file>./src/DsigBase.php</file>
<file>./src/DsigInterface.php</file>
<file>./src/DsigIdentifiersInterface.php</file>
<file>./src/XMLAttributesInterface.php</file>
<file>./src/Dto/Any.php</file>
<file>./src/Dto/AnyType.php</file>
<file>./src/Dto/CanonicalizationMethod.php</file>
<file>./src/Dto/CanonicalizationMethodType.php</file>
<file>./src/Dto/DigestMethod.php</file>
<file>./src/Dto/DigestMethodType.php</file>
<file>./src/Dto/DSAKeyValue.php</file>
<file>./src/Dto/DSAKeyValueType.php</file>
<file>./src/Dto/DsigBase.php</file>
<file>./src/Dto/KeyInfo.php</file>
<file>./src/Dto/KeyInfoType.php</file>
<file>./src/Dto/KeyValue.php</file>
<file>./src/Dto/KeyValueType.php</file>
<file>./src/Dto/Manifest.php</file>
<file>./src/Dto/ManifestType.php</file>
<file>./src/Dto/Object.php</file>
<file>./src/Dto/ObjectType.php</file>
<file>./src/Dto/PGPData.php</file>
<file>./src/Dto/PGPDataType.php</file>
<file>./src/Dto/Reference.php</file>
<file>./src/Dto/ReferenceType.php</file>
<file>./src/Dto/RetrievalMethod.php</file>
<file>./src/Dto/RetrievalMethodType.php</file>
<file>./src/Dto/RSAKeyValue.php</file>
<file>./src/Dto/RSAKeyValueType.php</file>
<file>./src/Dto/Signature.php</file>
<file>./src/Dto/SignatureMethod.php</file>
<file>./src/Dto/SignatureMethodType.php</file>
<file>./src/Dto/SignatureProperties.php</file>
<file>./src/Dto/SignaturePropertiesType.php</file>
<file>./src/Dto/SignatureProperty.php</file>
<file>./src/Dto/SignaturePropertyType.php</file>
<file>./src/Dto/SignatureType.php</file>
<file>./src/Dto/SignatureValue.php</file>
<file>./src/Dto/SignatureValueType.php</file>
<file>./src/Dto/SignedInfo.php</file>
<file>./src/Dto/SignedInfoType.php</file>
<file>./src/Dto/SPKIData.php</file>
<file>./src/Dto/SPKIDataType.php</file>
<file>./src/Dto/Transform.php</file>
<file>./src/Dto/Transforms.php</file>
<file>./src/Dto/TransformsType.php</file>
<file>./src/Dto/TransformType.php</file>
<file>./src/Dto/X509Data.php</file>
<file>./src/Dto/X509DataType.php</file>
<file>./src/Dto/X509IssuerSerialType.php</file>
<file>./src/XMLParse/AnyTypeParser.php</file>
<file>./src/XMLParse/CanonicalizationMethodTypeParser.php</file>
<file>./src/XMLParse/DigestMethodTypeParser.php</file>
<file>./src/XMLParse/DSAKeyValueTypeParser.php</file>
<file>./src/XMLParse/DsigParser.php</file>
<file>./src/XMLParse/DsigParserBase.php</file>
<file>./src/XMLParse/KeyInfoTypeParser.php</file>
<file>./src/XMLParse/KeyValueTypeParser.php</file>
<file>./src/XMLParse/LibXmlUtilTrait.php</file>
<file>./src/XMLParse/ManifestTypeParser.php</file>
<file>./src/XMLParse/ObjectTypeParser.php</file>
<file>./src/XMLParse/PGPDataTypeParser.php</file>
<file>./src/XMLParse/ReferenceTypeParser.php</file>
<file>./src/XMLParse/RetrievalMethodTypeParser.php</file>
<file>./src/XMLParse/RSAKeyValueTypeParser.php</file>
<file>./src/XMLParse/SignatureMethodTypeParser.php</file>
<file>./src/XMLParse/SignaturePropertiesTypeParser.php</file>
<file>./src/XMLParse/SignaturePropertyTypeParser.php</file>
<file>./src/XMLParse/SignatureTypeParser.php</file>
<file>./src/XMLParse/SignatureValueTypeParser.php</file>
<file>./src/XMLParse/SignedInfoTypeParser.php</file>
<file>./src/XMLParse/SPKIDataTypeParser.php</file>
<file>./src/XMLParse/TransformsTypeParser.php</file>
<file>./src/XMLParse/TransformTypeParser.php</file>
<file>./src/XMLParse/X509DataTypeParser.php</file>
<file>./src/XMLParse/X509IssuerSerialTypeParser.php</file>
<file>./src/XMLWrite/AnyTypeWriter.php</file>
<file>./src/XMLWrite/CanonicalizationMethodTypeWriter.php</file>
<file>./src/XMLWrite/DigestMethodTypeWriter.php</file>
<file>./src/XMLWrite/DSAKeyValueTypeWriter.php</file>
<file>./src/XMLWrite/DsigWriter.php</file>
<file>./src/XMLWrite/DsigWriterBase.php</file>
<file>./src/XMLWrite/KeyInfoTypeWriter.php</file>
<file>./src/XMLWrite/KeyValueTypeWriter.php</file>
<file>./src/XMLWrite/ManifestTypeWriter.php</file>
<file>./src/XMLWrite/ObjectTypeWriter.php</file>
<file>./src/XMLWrite/PGPDataTypeWriter.php</file>
<file>./src/XMLWrite/ReferenceTypeWriter.php</file>
<file>./src/XMLWrite/RetrievalMethodTypeWriter.php</file>
<file>./src/XMLWrite/RSAKeyValueTypeWriter.php</file>
<file>./src/XMLWrite/SignatureMethodTypeWriter.php</file>
<file>./src/XMLWrite/SignaturePropertiesTypeWriter.php</file>
<file>./src/XMLWrite/SignaturePropertyTypeWriter.php</file>
<file>./src/XMLWrite/SignatureTypeWriter.php</file>
<file>./src/XMLWrite/SignatureValueTypeWriter.php</file>
<file>./src/XMLWrite/SignedInfoTypeWriter.php</file>
<file>./src/XMLWrite/SPKIDataTypeWriter.php</file>
<file>./src/XMLWrite/TransformsTypeWriter.php</file>
<file>./src/XMLWrite/TransformTypeWriter.php</file>
<file>./src/XMLWrite/X509DataTypeWriter.php</file>
<file>./src/XMLWrite/X509IssuerSerialTypeWriter.php</file>
<file>./src/Impl/ImplBase.php</file>
<file>./src/Impl/CommonFactory.php</file>
<file>./src/Impl/HashFactory.php</file>
<file>./src/Impl/HmacHashFactory.php</file>
<file>./src/Impl/OpenSSLInterface.php</file>
<file>./src/Impl/OpenSSLBase.php</file>
<file>./src/Impl/OpenSSLFactory.php</file>
<file>./src/Impl/PhpErrorException.php</file>
<file>./src/Impl/PKCSFactory.php</file>
</whitelist>
</filter>
<logging>
<!-- Remove or comment after your own choice-->
<!-- All logs will be saved in 'testDocs' folder -->
<log type="coverage-html"
target="testDocs/PHPUnitCoverage"
lowUpperBound="35"
highLowerBound="70"/>
<!-- log type="coverage-clover"
target="testDocs/coverage.xml"/ -->
<!-- log type="coverage-php"
target="testDocs/coverage.serialized"/ -->
<!-- log type="coverage-text"
target="testDocs/PHPUnitReport.txt"
showUncoveredFiles="true"/ -->
<!-- log type="json"
target="testDocs/logfile.json"/ -->
<!-- log type="tap"
target="testDocs/logfile.tap"/ -->
<!-- log type="junit"
target="testDocs/logfile.xml"
logIncompleteSkipped="false"/ -->
<!-- log type="testdox-html"
target="testDocs/testdox.html"/ -->
<!-- log type="testdox-text"
target="testDocs/testdox.txt"/ -->
</logging>
<php>
<!-- if LOG set, will (debug-)log to dir "testDocs", named '__FUNCTION__'.log -->
<const name="LOG" value="testDocs"/>
<!--
SigntureTest only
if SAVEXML set, will save xml-result from test in "testDocs", named '__FUNCTION__'.xml
-->
<const name="SAVEXML" value="testDocs"/>
<!-- OpenSSLFactory encrypt/decrypt tests only, OPENSSLMODE (default 0)
0 : cipher algorithm 'aes-256-ctr' - default + md (hash) 'sha256' - default
1 : cipher algorithm 'aes-256-ctr' + All md algorithms (excl aliases)
2 : cipher algorithm 'aes-256-ctr' + All md algorithms (incl aliases)
3 : ALL cipher algorithms (excl aliases) + md (hash) 'sha256'
4 : ALL cipher algorithms (excl aliases) + All md algorithms (excl aliases)
5 : ALL cipher algorithms (excl aliases) + All md algorithms (incl aliases)
6 : ALL cipher algorithms (incl aliases) + md (hash) 'sha256'
7 : ALL cipher algorithms (1ncl aliases) + All md algorithms (excl aliases)
8 : ALL cipher algorithms (1ncl aliases) + All md algorithms (incl aliases)
If LOG is set, statistics (aside from LOG above) are saved in (in LOG dir)
cipherAndMdOk.txt
cipherEncryptErrors.txt
cipherDecryptErrors.txt
-->
<const name="OPENSSLMODE" value="0"/>
</php>
</phpunit>
|