[cpp-xmltooling COMMIT] in /branches/REL_1/xmltoolingtest: Makefile.am PKIXEngineTest.h data/x509/ data/x509/AnyPolic...
noreply at shibboleth.net
noreply at shibboleth.net
Thu Aug 11 19:56:32 BST 2011
Author: scantor
Date: Thu Aug 11 19:56:32 2011
New Revision: 901
URL: http://svn.shibboleth.net/view/cpp-xmltooling?rev=901&view=rev
Log:
Add non-working PKIX unit test and test data.
Added:
branches/REL_1/xmltoolingtest/PKIXEngineTest.h
branches/REL_1/xmltoolingtest/data/x509/
branches/REL_1/xmltoolingtest/data/x509/AnyPolicy.xml
branches/REL_1/xmltoolingtest/data/x509/ExplicitPolicy.xml
branches/REL_1/xmltoolingtest/data/x509/ExplicitPolicyMap.xml
branches/REL_1/xmltoolingtest/data/x509/ExplicitPolicyNoMap.xml
branches/REL_1/xmltoolingtest/data/x509/mdt-ica.1.crt.pem
branches/REL_1/xmltoolingtest/data/x509/mdt-ica.2.crt.pem
branches/REL_1/xmltoolingtest/data/x509/mdt-ica.3.crt.pem
branches/REL_1/xmltoolingtest/data/x509/mdt-root.crt.pem
branches/REL_1/xmltoolingtest/data/x509/mdt-signer.crt.pem
branches/REL_1/xmltoolingtest/data/x509/mdt-signer.key
Modified:
branches/REL_1/xmltoolingtest/Makefile.am
branches/REL_1/xmltoolingtest/xmltoolingtest.vcxproj
branches/REL_1/xmltoolingtest/xmltoolingtest.vcxproj.filters
Modified: branches/REL_1/xmltoolingtest/Makefile.am
URL: http://svn.shibboleth.net/view/cpp-xmltooling/branches/REL_1/xmltoolingtest/Makefile.am?rev=901&r1=900&r2=901&view=diff
==============================================================================
--- branches/REL_1/xmltoolingtest/Makefile.am (original)
+++ branches/REL_1/xmltoolingtest/Makefile.am Thu Aug 11 19:56:32 2011
@@ -23,6 +23,7 @@
FilesystemCredentialResolverTest.h \
InlineKeyResolverTest.h \
MemoryStorageServiceTest.h \
+ PKIXEngineTest.h \
SecurityHelperTest.h \
SignatureTest.h
else
@@ -43,14 +44,17 @@
${xmlsec_sources}
noinst_HEADERS = \
- XMLObjectBaseTestCase.h
+ XMLObjectBaseTestCase.h \
+ $(xmltoolingtest_h)
nodist_xmltoolingtest_SOURCES = $(xmltoolingtest_h:.h=.cpp)
+
+BUILT_SOURCES = $(nodist_xmltoolingtest_SOURCES)
CLEANFILES = $(nodist_xmltoolingtest_SOURCES)
do-cxxtestgen:
- if test $(HFILE) = "xmltoolingtest.h"; then \
+ if test "$(CPPFILE)" = "xmltoolingtest.cpp"; then \
$(CXXTEST) --error-printer --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \
else \
$(CXXTEST) --part --have-eh --have-std --abort-on-fail -o $(CPPFILE) $(HFILE); \
@@ -59,4 +63,4 @@
$(nodist_xmltoolingtest_SOURCES): %.cpp: %.h
$(MAKE) do-cxxtestgen HFILE=$< CPPFILE=$@
-EXTRA_DIST = xmltoolingtest.vcxproj xmltoolingtest.vcxproj.filters $(xmltoolingtest_h) data
+EXTRA_DIST = xmltoolingtest.vcxproj xmltoolingtest.vcxproj.filters data
Modified: branches/REL_1/xmltoolingtest/xmltoolingtest.vcxproj
URL: http://svn.shibboleth.net/view/cpp-xmltooling/branches/REL_1/xmltoolingtest/xmltoolingtest.vcxproj?rev=901&r1=900&r2=901&view=diff
==============================================================================
--- branches/REL_1/xmltoolingtest/xmltoolingtest.vcxproj (original)
+++ branches/REL_1/xmltoolingtest/xmltoolingtest.vcxproj Thu Aug 11 19:56:32 2011
@@ -175,6 +175,7 @@
<ClCompile Include="MarshallingTest.cpp" />
<ClCompile Include="MemoryStorageServiceTest.cpp" />
<ClCompile Include="NonVisibleNamespaceTest.cpp" />
+ <ClCompile Include="PKIXEngineTest.cpp" />
<ClCompile Include="SecurityHelperTest.cpp" />
<ClCompile Include="SignatureTest.cpp" />
<ClCompile Include="SOAPTest.cpp" />
@@ -310,6 +311,18 @@
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(Filename).cpp;%(Outputs)</Outputs>
</CustomBuild>
<CustomBuild Include="NonVisibleNamespaceTest.h">
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">perl.exe -w $(CxxTestRoot)\cxxtestgen.pl --part --have-eh --have-std --abort-on-fail -o "%(Filename)".cpp "%(FullPath)"
+</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename).cpp;%(Outputs)</Outputs>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">perl.exe -w $(CxxTestRoot)\cxxtestgen.pl --part --have-eh --have-std --abort-on-fail -o "%(Filename)".cpp "%(FullPath)"
+</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Filename).cpp;%(Outputs)</Outputs>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">perl.exe -w $(CxxTestRoot)\cxxtestgen.pl --part --have-eh --have-std --abort-on-fail -o "%(Filename)".cpp "%(FullPath)"</Command>
+ <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">perl.exe -w $(CxxTestRoot)\cxxtestgen.pl --part --have-eh --have-std --abort-on-fail -o "%(Filename)".cpp "%(FullPath)"</Command>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(Filename).cpp;%(Outputs)</Outputs>
+ <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(Filename).cpp;%(Outputs)</Outputs>
+ </CustomBuild>
+ <CustomBuild Include="PKIXEngineTest.h">
[... 30 lines stripped ...]
More information about the commits
mailing list