opencover integration for code coverage reporting
This commit is contained in:
17
Spring.build
17
Spring.build
@@ -131,6 +131,8 @@ Commandline Examples:
|
||||
<property name="project.build.config" value="debug"/>
|
||||
<property name="project.build.package" value="false"/>
|
||||
<property name="project.build.sign" value="false" overwrite="false" />
|
||||
|
||||
<property name="test.withcoverage" value="false" />
|
||||
|
||||
<!-- import non-redistributables if available -->
|
||||
<!-- to build certain libraries (e.g. Spring.Messaging.Ems), 3rd party libraries are required
|
||||
@@ -585,6 +587,9 @@ Commandline Examples:
|
||||
|
||||
<target name="compile-net-4.0" description="Builds .NET Framework 4.0 version"
|
||||
depends="set-net-4.0-runtime-configuration, check-spring-basedir, clean-current-bin-dir">
|
||||
|
||||
<property name="test.withcoverage" value="true"/>
|
||||
|
||||
<if test="${property::exists('mstest.exe')}">
|
||||
<property name="mstest.exe.current" value="${string::replace(property::get-value('mstest.exe'), 'Microsoft Visual Studio 9.0', 'Microsoft Visual Studio 10.0')}" />
|
||||
</if>
|
||||
@@ -602,6 +607,18 @@ Commandline Examples:
|
||||
<property name="build-msmq-tests" value="true" overwrite="true" />
|
||||
<property name="build-velocity" value="true" overwrite="true" />
|
||||
<call target="compile-test" />
|
||||
|
||||
<call target="GenerateCoverageReport" />
|
||||
|
||||
</target>
|
||||
|
||||
|
||||
<target name="GenerateCoverageReport" >
|
||||
<exec program="${tool.dir}\ReporterGenerator\bin\ReportGenerator.exe" workingdir="${spring.basedir}\build\net\4.0\debug" verbose="true">
|
||||
<!-- <arg path="${spring.basedir}\build\net\4.0\debug\Spring.Core.Tests.dll-TestCoverage.xml" /> -->
|
||||
<arg value="Spring.Aop.Tests.dll-TestCoverage.xml;Spring.Core.Tests.dll-TestCoverage.xml;Spring.Data.NHibernate30.Tests.dll-TestCoverage.xml;Spring.Data.NHibernate31.Tests.dll-TestCoverage.xml;Spring.Data.NHibernate32.Tests.dll-TestCoverage.xml;Spring.Data.Tests.dll-TestCoverage.xml;Spring.Messaging.Nms.Tests.dll-TestCoverage.xml;Spring.Template.Velocity.Tests.dll-TestCoverage.xml;Spring.Testing.NUnit.Tests.dll-TestCoverage.xml;Spring.Web.Mvc.Tests.dll-TestCoverage.xml;Spring.Web.Mvc3.Tests.dll-TestCoverage.xml;Spring.Web.Tests.dll-TestCoverage.xml" />
|
||||
<arg path="${spring.basedir}\build\net\4.0\debug\CoverageReport" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="compile-mono-2.0" description="Builds MONO Framework 2.0 version"
|
||||
|
||||
202
build-support/tools/ReporterGenerator/LICENSE.txt
Normal file
202
build-support/tools/ReporterGenerator/LICENSE.txt
Normal file
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
122
build-support/tools/ReporterGenerator/Readme.txt
Normal file
122
build-support/tools/ReporterGenerator/Readme.txt
Normal file
@@ -0,0 +1,122 @@
|
||||
=======================================================================
|
||||
= =
|
||||
= =
|
||||
= ReportGenerator =
|
||||
= Generation of reports based on PartCover/ OpenCover / NCover =
|
||||
= =
|
||||
= http://www.palmmedia.de =
|
||||
= =
|
||||
= =
|
||||
=======================================================================
|
||||
|
||||
DESCRIPTION
|
||||
|
||||
ReportGenerator converts XML reports generated by PartCover, OpenCover
|
||||
or NCover into a readable HTML report.
|
||||
In contrast to the XSLT-Transformation included in PartCover, the
|
||||
report is more detailed.
|
||||
It does not only show the coverage quota, but also includes the source
|
||||
code and visualizes which line has been covered.
|
||||
|
||||
ReportGenerator supports merging several reports into one.
|
||||
If you pass several reports to ReportGenerator, the reports will be
|
||||
merged into one.
|
||||
It is also possible to pass one XML file containing several reports to
|
||||
ReportGenerator (e.g. a build log file).
|
||||
|
||||
Several output formats are supported by ReportGenerator. The following
|
||||
report types can be generated:
|
||||
|
||||
-HTML, HTMLSummary
|
||||
-XML, XMLSummary
|
||||
-Latex, LatexSummary
|
||||
|
||||
=======================================================================
|
||||
|
||||
COMPATIBILITY
|
||||
|
||||
OpenCover
|
||||
PartCover 4.0
|
||||
PartCover 2.2, 2.3
|
||||
NCover (tested version 1.5.8, other versions may not work)
|
||||
|
||||
=======================================================================
|
||||
|
||||
LICENSE
|
||||
|
||||
This program is licensed under the Apache License 2.0.
|
||||
This means you may use this program in any project.
|
||||
You are allowed to modify the program as you like.
|
||||
|
||||
For further details take a look at LICENSE.txt.
|
||||
|
||||
=======================================================================
|
||||
|
||||
CHANGELOG
|
||||
|
||||
1.1.0.0
|
||||
|
||||
* New: Added support for OpenCover
|
||||
* New: Added XML and Latex as output formats
|
||||
|
||||
1.0.0.0
|
||||
|
||||
* New: Return code now indicates success/failure
|
||||
* New: Added MSBuild Task
|
||||
|
||||
0.7.2.0
|
||||
|
||||
* New: Upgraded to .NET 4.0 and VS 2010
|
||||
* Fix: Improved performance by using TPL
|
||||
|
||||
0.7.1.0
|
||||
|
||||
* Fix: Improved performance
|
||||
|
||||
0.7.0.0
|
||||
|
||||
* New: Coverage information of unexecuted methods for
|
||||
PartCover 2.3.0.35109
|
||||
|
||||
0.6.2.0
|
||||
|
||||
* Fix: Improved performance
|
||||
|
||||
0.6.1.0
|
||||
|
||||
* New: Added support for PartCover 2.3.0.35109
|
||||
|
||||
0.6.0.0
|
||||
|
||||
* New: Included log4net
|
||||
|
||||
0.5.0.0
|
||||
|
||||
* New: Added more statistics
|
||||
* Fix: Coverage quota is now calculated exactly
|
||||
|
||||
0.4.0.0
|
||||
|
||||
* Fix: Improved performance
|
||||
|
||||
0.3.0.0
|
||||
|
||||
* New: Merging of reports
|
||||
* New: Multicore support
|
||||
|
||||
0.2.0.0
|
||||
|
||||
* New: Added NCover support
|
||||
* New: Automatical detection of parser
|
||||
* Fix: Improved performance
|
||||
|
||||
0.1.0.0
|
||||
|
||||
* New: Initial release
|
||||
|
||||
=======================================================================
|
||||
|
||||
KNOWN ISSUES
|
||||
|
||||
The reports generated by PartCover do not contain enough information to
|
||||
correctly get the coverage of 'Auto Properties'.
|
||||
Binary file not shown.
202
build-support/tools/ReporterGenerator/bin/LICENSE.txt
Normal file
202
build-support/tools/ReporterGenerator/bin/LICENSE.txt
Normal file
@@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
122
build-support/tools/ReporterGenerator/bin/Readme.txt
Normal file
122
build-support/tools/ReporterGenerator/bin/Readme.txt
Normal file
@@ -0,0 +1,122 @@
|
||||
=======================================================================
|
||||
= =
|
||||
= =
|
||||
= ReportGenerator =
|
||||
= Generation of reports based on PartCover/ OpenCover / NCover =
|
||||
= =
|
||||
= http://www.palmmedia.de =
|
||||
= =
|
||||
= =
|
||||
=======================================================================
|
||||
|
||||
DESCRIPTION
|
||||
|
||||
ReportGenerator converts XML reports generated by PartCover, OpenCover
|
||||
or NCover into a readable HTML report.
|
||||
In contrast to the XSLT-Transformation included in PartCover, the
|
||||
report is more detailed.
|
||||
It does not only show the coverage quota, but also includes the source
|
||||
code and visualizes which line has been covered.
|
||||
|
||||
ReportGenerator supports merging several reports into one.
|
||||
If you pass several reports to ReportGenerator, the reports will be
|
||||
merged into one.
|
||||
It is also possible to pass one XML file containing several reports to
|
||||
ReportGenerator (e.g. a build log file).
|
||||
|
||||
Several output formats are supported by ReportGenerator. The following
|
||||
report types can be generated:
|
||||
|
||||
-HTML, HTMLSummary
|
||||
-XML, XMLSummary
|
||||
-Latex, LatexSummary
|
||||
|
||||
=======================================================================
|
||||
|
||||
COMPATIBILITY
|
||||
|
||||
OpenCover
|
||||
PartCover 4.0
|
||||
PartCover 2.2, 2.3
|
||||
NCover (tested version 1.5.8, other versions may not work)
|
||||
|
||||
=======================================================================
|
||||
|
||||
LICENSE
|
||||
|
||||
This program is licensed under the Apache License 2.0.
|
||||
This means you may use this program in any project.
|
||||
You are allowed to modify the program as you like.
|
||||
|
||||
For further details take a look at LICENSE.txt.
|
||||
|
||||
=======================================================================
|
||||
|
||||
CHANGELOG
|
||||
|
||||
1.1.0.0
|
||||
|
||||
* New: Added support for OpenCover
|
||||
* New: Added XML and Latex as output formats
|
||||
|
||||
1.0.0.0
|
||||
|
||||
* New: Return code now indicates success/failure
|
||||
* New: Added MSBuild Task
|
||||
|
||||
0.7.2.0
|
||||
|
||||
* New: Upgraded to .NET 4.0 and VS 2010
|
||||
* Fix: Improved performance by using TPL
|
||||
|
||||
0.7.1.0
|
||||
|
||||
* Fix: Improved performance
|
||||
|
||||
0.7.0.0
|
||||
|
||||
* New: Coverage information of unexecuted methods for
|
||||
PartCover 2.3.0.35109
|
||||
|
||||
0.6.2.0
|
||||
|
||||
* Fix: Improved performance
|
||||
|
||||
0.6.1.0
|
||||
|
||||
* New: Added support for PartCover 2.3.0.35109
|
||||
|
||||
0.6.0.0
|
||||
|
||||
* New: Included log4net
|
||||
|
||||
0.5.0.0
|
||||
|
||||
* New: Added more statistics
|
||||
* Fix: Coverage quota is now calculated exactly
|
||||
|
||||
0.4.0.0
|
||||
|
||||
* Fix: Improved performance
|
||||
|
||||
0.3.0.0
|
||||
|
||||
* New: Merging of reports
|
||||
* New: Multicore support
|
||||
|
||||
0.2.0.0
|
||||
|
||||
* New: Added NCover support
|
||||
* New: Automatical detection of parser
|
||||
* Fix: Improved performance
|
||||
|
||||
0.1.0.0
|
||||
|
||||
* New: Initial release
|
||||
|
||||
=======================================================================
|
||||
|
||||
KNOWN ISSUES
|
||||
|
||||
The reports generated by PartCover do not contain enough information to
|
||||
correctly get the coverage of 'Auto Properties'.
|
||||
BIN
build-support/tools/ReporterGenerator/bin/ReportGenerator.exe
Normal file
BIN
build-support/tools/ReporterGenerator/bin/ReportGenerator.exe
Normal file
Binary file not shown.
BIN
build-support/tools/ReporterGenerator/bin/log4net.dll
Normal file
BIN
build-support/tools/ReporterGenerator/bin/log4net.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/Gendarme.Framework.dll
Normal file
BIN
build-support/tools/opencover/Gendarme.Framework.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/Gendarme.Rules.Maintainability.dll
Normal file
BIN
build-support/tools/opencover/Gendarme.Rules.Maintainability.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/Microsoft.Practices.Unity.dll
Normal file
BIN
build-support/tools/opencover/Microsoft.Practices.Unity.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/Mono.Cecil.Pdb.dll
Normal file
BIN
build-support/tools/opencover/Mono.Cecil.Pdb.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/Mono.Cecil.Pdb.pdb
Normal file
BIN
build-support/tools/opencover/Mono.Cecil.Pdb.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/Mono.Cecil.dll
Normal file
BIN
build-support/tools/opencover/Mono.Cecil.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/Mono.Cecil.pdb
Normal file
BIN
build-support/tools/opencover/Mono.Cecil.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/Moq.dll
Normal file
BIN
build-support/tools/opencover/Moq.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/Moq.pdb
Normal file
BIN
build-support/tools/opencover/Moq.pdb
Normal file
Binary file not shown.
4788
build-support/tools/opencover/Moq.xml
Normal file
4788
build-support/tools/opencover/Moq.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
build-support/tools/opencover/OpenCover.Console.exe
Normal file
BIN
build-support/tools/opencover/OpenCover.Console.exe
Normal file
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
||||
</startup>
|
||||
|
||||
</configuration>
|
||||
BIN
build-support/tools/opencover/OpenCover.Console.pdb
Normal file
BIN
build-support/tools/opencover/OpenCover.Console.pdb
Normal file
Binary file not shown.
15
build-support/tools/opencover/OpenCover.Console.xml
Normal file
15
build-support/tools/opencover/OpenCover.Console.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>OpenCover.Console</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="M:OpenCover.Console.Program.Main(System.String[])">
|
||||
<summary>
|
||||
This is the initial console harness - it may become the full thing
|
||||
</summary>
|
||||
<param name="args"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
build-support/tools/opencover/OpenCover.Framework.dll
Normal file
BIN
build-support/tools/opencover/OpenCover.Framework.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Framework.pdb
Normal file
BIN
build-support/tools/opencover/OpenCover.Framework.pdb
Normal file
Binary file not shown.
422
build-support/tools/opencover/OpenCover.Framework.xml
Normal file
422
build-support/tools/opencover/OpenCover.Framework.xml
Normal file
@@ -0,0 +1,422 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>OpenCover.Framework</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:OpenCover.Framework.CommandLineParser">
|
||||
<summary>
|
||||
Parse the command line arguments and set the appropriate properties
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.CommandLineParserBase">
|
||||
<summary>
|
||||
Parse the command line arguments based on the following syntax: <br/>
|
||||
[-argument[:optional-value]] [-argument[:optional-value]]
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.CommandLineParserBase.HasArgument(System.String)">
|
||||
<summary>
|
||||
Check if an argument of the name given was part of the supplied arguments
|
||||
</summary>
|
||||
<param name="argument">an argument name</param>
|
||||
<returns>true - if argument was supplied</returns>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.CommandLineParserBase.GetArgumentValue(System.String)">
|
||||
<summary>
|
||||
Get the the value of a named argument
|
||||
</summary>
|
||||
<param name="argument">an argument name</param>
|
||||
<returns>the value supplied by an argument</returns>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParserBase.ArgumentCount">
|
||||
<summary>
|
||||
Get the number of extracted arguments
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.ICommandLine">
|
||||
<summary>
|
||||
properties exposed by the command line object for use in other entities
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.ICommandLine.TargetDir">
|
||||
<summary>
|
||||
the target directory
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.ICommandLine.MergeByHash">
|
||||
<summary>
|
||||
If specified then results to be merged by matching hash
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.ICommandLine.ShowUnvisited">
|
||||
<summary>
|
||||
Show the unvisited classes/methods at the end of the coverage run
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.CommandLineParser.#ctor(System.String[])">
|
||||
<summary>
|
||||
Constructs the parser
|
||||
</summary>
|
||||
<param name="arguments">An array of command line arguments</param>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.CommandLineParser.Usage">
|
||||
<summary>
|
||||
Get the usage string
|
||||
</summary>
|
||||
<returns>The usage string</returns>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.CommandLineParser.ExtractAndValidateArguments">
|
||||
<summary>
|
||||
Extract the arguments and validate them; also validate the supplied options when simple
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.Register">
|
||||
<summary>
|
||||
the switch -register was supplied
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.UserRegistration">
|
||||
<summary>
|
||||
the switch -register with the user argument was supplied i.e. -register:user
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.Target">
|
||||
<summary>
|
||||
The target executable that is to be profiles
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.TargetDir">
|
||||
<summary>
|
||||
The working directory that the action is to take place
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.TargetArgs">
|
||||
<summary>
|
||||
The arguments that are to be passed to the Target
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.PrintUsage">
|
||||
<summary>
|
||||
Requests that the user wants to see the commandline help
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.OutputFile">
|
||||
<summary>
|
||||
The name of the output file
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.NoDefaultFilters">
|
||||
<summary>
|
||||
If specified then the default filters should not be applied
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.MergeByHash">
|
||||
<summary>
|
||||
If specified then results to be merged by matching hash
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.ShowUnvisited">
|
||||
<summary>
|
||||
Show the unvisited classes/methods at the end of the coverage run
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.ReturnTargetCode">
|
||||
<summary>
|
||||
Show the unvisited classes/methods at the end of the coverage run
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.Filters">
|
||||
<summary>
|
||||
A list of filters
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.CommandLineParser.ReturnCodeOffset">
|
||||
<summary>
|
||||
The offset for the return code - this is to help avoid collisions between opencover return codes and the target
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Manager.ProfilerManager">
|
||||
<summary>
|
||||
This is the core manager for integrating the host the target
|
||||
application and the profiler
|
||||
</summary>
|
||||
<remarks>It probably does too much!</remarks>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Model.BranchPoint">
|
||||
<summary>
|
||||
a branch point
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Model.InstrumentationPoint">
|
||||
<summary>
|
||||
An instrumentable point
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Model.InstrumentationPoint.GetCount(System.UInt32)">
|
||||
<summary>
|
||||
Get the number of recorded visit points for this identifier
|
||||
</summary>
|
||||
<param name="spid">the sequence point identifier - NOTE 0 is not used</param>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Model.InstrumentationPoint.AddCount(System.UInt32,System.Int32)">
|
||||
<summary>
|
||||
Add a number of recorded visit pints against this identifier
|
||||
</summary>
|
||||
<param name="spid">the sequence point identifier - NOTE 0 is not used</param>
|
||||
<param name="sum">the number of visit points to add</param>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.BranchPoint.Path">
|
||||
<summary>
|
||||
A path that can be taken
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Persistance.IPersistance">
|
||||
<summary>
|
||||
A persistant entiry
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Persistance.IPersistance.PersistModule(OpenCover.Framework.Model.Module)">
|
||||
<summary>
|
||||
A module that is to be persisted
|
||||
</summary>
|
||||
<param name="module"></param>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Persistance.IPersistance.Commit">
|
||||
<summary>
|
||||
Save the instrumented data
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Persistance.IPersistance.GetSequencePointsForFunction(System.String,System.Int32,OpenCover.Framework.Model.InstrumentationPoint[]@)">
|
||||
<summary>
|
||||
Get the sequence points for a function
|
||||
</summary>
|
||||
<param name="modulePath">The identifying path to the module</param>
|
||||
<param name="functionToken">The token of the function</param>
|
||||
<param name="sequencePoints">The sequence points that make up that function</param>
|
||||
<returns>true - if sequence points exist</returns>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Persistance.IPersistance.GetBranchPointsForFunction(System.String,System.Int32,OpenCover.Framework.Model.BranchPoint[]@)">
|
||||
<summary>
|
||||
Get the branch points for a function
|
||||
</summary>
|
||||
<param name="modulePath">The identifying path to the module</param>
|
||||
<param name="functionToken">The token of the function</param>
|
||||
<param name="branchPoints">The branch points that make up that function</param>
|
||||
<returns>true - if sequence points exist</returns>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Persistance.IPersistance.IsTracking(System.String)">
|
||||
<summary>
|
||||
Check if the module is to be tracked i.e. instrumented
|
||||
</summary>
|
||||
<param name="modulePath"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Persistance.IPersistance.GetClassFullName(System.String,System.Int32)">
|
||||
<summary>
|
||||
Get the full class name i.e. including namespace that the function is contained in
|
||||
</summary>
|
||||
<param name="modulePath"></param>
|
||||
<param name="functionToken"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Persistance.IPersistance.SaveVisitData(System.Byte[])">
|
||||
<summary>
|
||||
extract and save the visit data
|
||||
</summary>
|
||||
<param name="data"></param>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Persistance.IPersistance.CoverageSession">
|
||||
<summary>
|
||||
The coverage session - this is the root entity of a persisted document
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.IFilter">
|
||||
<summary>
|
||||
A filter that is used to decide whether an assembly/class pair is instrumented
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.IFilter.AddFilter(System.String)">
|
||||
<summary>
|
||||
Add a filter
|
||||
</summary>
|
||||
<param name="assemblyClassName">A filter is of the format (+ or -)[assemblyName]className, wildcards are allowed. <br/>
|
||||
i.e. -[mscorlib], -[System.*]*, +[App.*]*, +[*]*
|
||||
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.IFilter.UseAssembly(System.String)">
|
||||
<summary>
|
||||
Decides whether an assembly should be included in the instrumentation
|
||||
</summary>
|
||||
<param name="assemblyName">the name of the assembly under profile</param>
|
||||
<returns>the name of the class under profile</returns>
|
||||
<remarks>All assemblies matching either the inclusion or exclusion filter should be included
|
||||
as it is the class that is being filtered within these unless the class filter is *</remarks>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.IFilter.InstrumentClass(System.String,System.String)">
|
||||
<summary>
|
||||
Determine if an [assemblyname]classname pair matches the current Exclusion or Inclusion filters
|
||||
</summary>
|
||||
<param name="assemblyName">the name of the assembly under profile</param>
|
||||
<param name="className">the name of the class under profile</param>
|
||||
<returns>false - if pair matches the exclusion filter or matches no filters, true - if pair matches in the inclusion filter</returns>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.FilterType">
|
||||
<summary>
|
||||
The type of filter, an exclusion filter takes precedence over inclusion filter
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:OpenCover.Framework.FilterType.Inclusion">
|
||||
<summary>
|
||||
The filter is an inclusion type, i.e. if a assembly/class pair
|
||||
matches the filter then it is included for instrumentation
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:OpenCover.Framework.FilterType.Exclusion">
|
||||
<summary>
|
||||
The filter is an exclusion type, i.e. if a assembly/class pair
|
||||
matches the filter then it is excluded for instrumentation
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Filter">
|
||||
<summary>
|
||||
A filter that is used to decide whether an assembly/class pair is instrumented
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Filter.#ctor">
|
||||
<summary>
|
||||
Standard constructor
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Model.InstrumentationModelBuilder.#ctor(OpenCover.Framework.Symbols.ISymbolManager,OpenCover.Framework.IFilter)">
|
||||
<summary>
|
||||
Standard constructor
|
||||
</summary>
|
||||
<param name="symbolManager">the symbol manager that will provide the data</param>
|
||||
<param name="filter">A filter to decide whether to include or exclude an assembly or its classes</param>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Model.Class">
|
||||
<summary>
|
||||
An entity that contains methods
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Model.CoverageSession">
|
||||
<summary>
|
||||
A coverage session
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.CoverageSession.SessionId">
|
||||
<summary>
|
||||
A unique session identifier
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.CoverageSession.Modules">
|
||||
<summary>
|
||||
A list of modules that have been profiled under the session
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Model.FileRef">
|
||||
<summary>
|
||||
A file reference within the coverage session and is used to point to an existing File entity
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Model.File">
|
||||
<summary>
|
||||
File details of a source file
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Model.File.#ctor">
|
||||
<summary>
|
||||
A standard constructor
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.File.FullPath">
|
||||
<summary>
|
||||
The path to file
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Model.Method">
|
||||
<summary>
|
||||
An entity that can be instrumented
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Model.Module">
|
||||
<summary>
|
||||
The details of a module
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.Model.Module.#ctor">
|
||||
<summary>
|
||||
simple constructor
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.Module.FullName">
|
||||
<summary>
|
||||
The full path name to the module
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.Module.Aliases">
|
||||
<summary>
|
||||
A list of aliases
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.Module.ModuleName">
|
||||
<summary>
|
||||
The name of the module
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.Module.Files">
|
||||
<summary>
|
||||
The files that make up the module
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.Module.Classes">
|
||||
<summary>
|
||||
The classes that make up the module
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:OpenCover.Framework.Model.Module.ModuleHash">
|
||||
<summary>
|
||||
A hash of the file used to group them together (especially when running against mstest)
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.Model.SequencePoint">
|
||||
<summary>
|
||||
a sequence point
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:OpenCover.Framework.ProfilerRegistration">
|
||||
<summary>
|
||||
Used to register and unregister the profiler
|
||||
</summary>
|
||||
<remarks>
|
||||
Intentionally not unit tested - as this is calling regsvr32 which does what it does and does not need more testing from me
|
||||
</remarks>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.ProfilerRegistration.Register(System.Boolean)">
|
||||
<summary>
|
||||
Register the profiler using %SystemRoot%\system\regsvr32.exe
|
||||
</summary>
|
||||
<param name="userRegistration">true - user the /n /i:user switches</param>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.ProfilerRegistration.Unregister(System.Boolean)">
|
||||
<summary>
|
||||
Unregister the profiler using %SystemRoot%\system\regsvr32.exe
|
||||
</summary>
|
||||
<param name="userRegistration">true - user the /n /i:user switches</param>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.ProfilerRegistration.GetAssemblyLocation">
|
||||
<summary>
|
||||
Get the current location of this assembly
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:OpenCover.Framework.ProfilerRegistration.GetProfilerPath(System.Boolean)">
|
||||
<summary>
|
||||
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
build-support/tools/opencover/OpenCover.Integration.Test.dll
Normal file
BIN
build-support/tools/opencover/OpenCover.Integration.Test.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Integration.Test.pdb
Normal file
BIN
build-support/tools/opencover/OpenCover.Integration.Test.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Samples.CS.dll
Normal file
BIN
build-support/tools/opencover/OpenCover.Samples.CS.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Samples.CS.pdb
Normal file
BIN
build-support/tools/opencover/OpenCover.Samples.CS.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Samples.Framework.dll
Normal file
BIN
build-support/tools/opencover/OpenCover.Samples.Framework.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Samples.Framework.pdb
Normal file
BIN
build-support/tools/opencover/OpenCover.Samples.Framework.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Samples.IL.dll
Normal file
BIN
build-support/tools/opencover/OpenCover.Samples.IL.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Samples.IL.pdb
Normal file
BIN
build-support/tools/opencover/OpenCover.Samples.IL.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Samples.VB.dll
Normal file
BIN
build-support/tools/opencover/OpenCover.Samples.VB.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Samples.VB.pdb
Normal file
BIN
build-support/tools/opencover/OpenCover.Samples.VB.pdb
Normal file
Binary file not shown.
24
build-support/tools/opencover/OpenCover.Samples.VB.xml
Normal file
24
build-support/tools/opencover/OpenCover.Samples.VB.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>
|
||||
OpenCover.Samples.VB
|
||||
</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="P:OpenCover.Samples.VB.My.Resources.Resources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member><member name="P:OpenCover.Samples.VB.My.Resources.Resources.Culture">
|
||||
<summary>
|
||||
Overrides the current thread's CurrentUICulture property for all
|
||||
resource lookups using this strongly typed resource class.
|
||||
</summary>
|
||||
</member><member name="T:OpenCover.Samples.VB.My.Resources.Resources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
build-support/tools/opencover/OpenCover.Test.Profiler.exe
Normal file
BIN
build-support/tools/opencover/OpenCover.Test.Profiler.exe
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Test.Profiler.ilk
Normal file
BIN
build-support/tools/opencover/OpenCover.Test.Profiler.ilk
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Test.Profiler.pdb
Normal file
BIN
build-support/tools/opencover/OpenCover.Test.Profiler.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Test.dll
Normal file
BIN
build-support/tools/opencover/OpenCover.Test.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/OpenCover.Test.pdb
Normal file
BIN
build-support/tools/opencover/OpenCover.Test.pdb
Normal file
Binary file not shown.
1
build-support/tools/opencover/dogfood.cmd
Normal file
1
build-support/tools/opencover/dogfood.cmd
Normal file
@@ -0,0 +1 @@
|
||||
OpenCover.Console.exe -register:user -target:..\..\..\tools\NUnit-2.5.10.11092\bin\net-2.0\nunit-console-x86.exe -targetargs:"OpenCover.Test.dll /noshadow" -filter:"+[Open*]* -[OpenCover.T*]*" -output:opencovertests.xml
|
||||
1
build-support/tools/opencover/dogfood64.cmd
Normal file
1
build-support/tools/opencover/dogfood64.cmd
Normal file
@@ -0,0 +1 @@
|
||||
OpenCover.Console.exe -register:user -target:..\..\..\tools\NUnit-2.5.10.11092\bin\net-2.0\nunit-console.exe -targetargs:"OpenCover.Test.dll /noshadow" -filter:"+[Open*]* -[OpenCover.T*]*" -output:opencovertests.xml
|
||||
2
build-support/tools/opencover/dogfood_shadow.cmd
Normal file
2
build-support/tools/opencover/dogfood_shadow.cmd
Normal file
@@ -0,0 +1,2 @@
|
||||
rem run dogfood tests with shadow
|
||||
OpenCover.Console.exe -register:user -targetdir:"%cd%" -target:..\..\..\tools\NUnit-2.5.10.11092\bin\net-2.0\nunit-console-x86.exe -targetargs:"OpenCover.Test.dll" -filter:"+[Open*]* -[OpenCover.T*]*" -output:opencovertests.xml
|
||||
1
build-support/tools/opencover/mstest.opencover.cmd
Normal file
1
build-support/tools/opencover/mstest.opencover.cmd
Normal file
@@ -0,0 +1 @@
|
||||
OpenCover.Console.exe -register:user -target:"c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe" -targetargs:"/testcontainer:OpenCover.Test.dll" -filter:"+[Open*]* -[OpenCover.T*]*" -output:opencovertests.xml
|
||||
BIN
build-support/tools/opencover/nunit.framework.dll
Normal file
BIN
build-support/tools/opencover/nunit.framework.dll
Normal file
Binary file not shown.
1
build-support/tools/opencover/opencovertests.cmd
Normal file
1
build-support/tools/opencover/opencovertests.cmd
Normal file
@@ -0,0 +1 @@
|
||||
..\..\..\tools\NUnit-2.5.10.11092\bin\net-2.0\nunit-console-x86.exe OpenCover.Test.dll /noshadow
|
||||
3814
build-support/tools/opencover/opencovertests.xml
Normal file
3814
build-support/tools/opencover/opencovertests.xml
Normal file
File diff suppressed because it is too large
Load Diff
1
build-support/tools/opencover/opencovertests64.cmd
Normal file
1
build-support/tools/opencover/opencovertests64.cmd
Normal file
@@ -0,0 +1 @@
|
||||
..\..\..\tools\NUnit-2.5.10.11092\bin\net-2.0\nunit-console.exe OpenCover.Test.dll /noshadow
|
||||
1
build-support/tools/opencover/partcover.cmd
Normal file
1
build-support/tools/opencover/partcover.cmd
Normal file
@@ -0,0 +1 @@
|
||||
..\..\..\..\..\partcover.git\working\partcover.net4\main\bin\PartCover.exe --register --target ..\..\..\tools\NUnit-2.5.9.10348\bin\net-2.0\nunit-console-x86.exe --target-args "OpenCover.Test.dll /noshadow" --include [Open*]* --exclude [OpenCover.T*]* --output partcover.results.xml
|
||||
1
build-support/tools/opencover/pedigree.cmd
Normal file
1
build-support/tools/opencover/pedigree.cmd
Normal file
@@ -0,0 +1 @@
|
||||
OpenCover.Console.exe -register:user -target:dogfood.cmd -filter:+[OpenCover*]* -output:pedigree_results.xml
|
||||
1
build-support/tools/opencover/report_coverage.cmd
Normal file
1
build-support/tools/opencover/report_coverage.cmd
Normal file
@@ -0,0 +1 @@
|
||||
..\..\..\tools\ReportGenerator\ReportGenerator.exe opencovertests.xml report
|
||||
1
build-support/tools/opencover/test.cmd
Normal file
1
build-support/tools/opencover/test.cmd
Normal file
@@ -0,0 +1 @@
|
||||
OpenCover.Console.exe -register:user -target:..\..\..\tools\NUnit-2.5.10.11092\bin\net-2.0\nunit-console-x86.exe -targetargs:"OpenCover.Test.dll /noshadow" -filter:"+[Open*]* -[OpenCover.T*]*" -output:opencovertests.xml
|
||||
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.dll
Normal file
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.exp
Normal file
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.exp
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.ilk
Normal file
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.ilk
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.lib
Normal file
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.lib
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.pdb
Normal file
BIN
build-support/tools/opencover/x64/OpenCover.Profiler.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x64/OpenCover.Simple.Target.exe
Normal file
BIN
build-support/tools/opencover/x64/OpenCover.Simple.Target.exe
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x64/OpenCover.Simple.Target.pdb
Normal file
BIN
build-support/tools/opencover/x64/OpenCover.Simple.Target.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.dll
Normal file
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.dll
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.exp
Normal file
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.exp
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.ilk
Normal file
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.ilk
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.lib
Normal file
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.lib
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.pdb
Normal file
BIN
build-support/tools/opencover/x86/OpenCover.Profiler.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x86/OpenCover.Simple.Target.exe
Normal file
BIN
build-support/tools/opencover/x86/OpenCover.Simple.Target.exe
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/x86/OpenCover.Simple.Target.pdb
Normal file
BIN
build-support/tools/opencover/x86/OpenCover.Simple.Target.pdb
Normal file
Binary file not shown.
BIN
build-support/tools/opencover/xunit.dll
Normal file
BIN
build-support/tools/opencover/xunit.dll
Normal file
Binary file not shown.
1
build-support/tools/opencover/xunit.opencover.cmd
Normal file
1
build-support/tools/opencover/xunit.opencover.cmd
Normal file
@@ -0,0 +1 @@
|
||||
OpenCover.Console.exe -register:administrator -target:"..\..\..\tools\xunit-1.8\xunit.console.clr4.x86.exe" -targetargs:"OpenCover.Test.dll /noshadow" -filter:"+[Open*]* -[OpenCover.T*]*" -output:opencovertests.xml
|
||||
2439
build-support/tools/opencover/xunit.xml
Normal file
2439
build-support/tools/opencover/xunit.xml
Normal file
File diff suppressed because it is too large
Load Diff
@@ -183,14 +183,16 @@ ${current.bin.dir}: the binary directory to pick the assembly + app.config from
|
||||
${project.name} : (optional), the name of the assembly
|
||||
${tool.dir} : dir for tools
|
||||
-->
|
||||
<target name="common.run-tests">
|
||||
<!--
|
||||
<call target="common.run-tests.nunit" />
|
||||
-->
|
||||
<call target="common.run-tests.ncover" />
|
||||
|
||||
|
||||
</target>
|
||||
<target name="common.run-tests">
|
||||
<if test="${test.withcoverage}" >
|
||||
<call target="common.run-tests.opencover" />
|
||||
</if>
|
||||
|
||||
<if test="${not test.withcoverage}" >
|
||||
<call target="common.run-tests.nunit" />
|
||||
</if>
|
||||
<property name="test.withcoverage" value="false"/>
|
||||
</target>
|
||||
|
||||
<!--
|
||||
*******************************************************************************
|
||||
@@ -297,6 +299,27 @@ ${tool.dir} : dir for tools
|
||||
-->
|
||||
</target>
|
||||
|
||||
<target name="common.run-tests.opencover" description="Run NUnit tests">
|
||||
|
||||
<property name="test.assemblyname" value="${project::get-name()}" overwrite="false" />
|
||||
<property name="test.assemblyfile" value="${test.assemblyname}.dll" overwrite="false" />
|
||||
<property name="test.assemblyname.tocover" value="${string::substring(test.assemblyname,0,string::last-index-of(test.assemblyname, '.Tests') )}" overwrite="false" />
|
||||
|
||||
<property name="test.bin.dir" value="${current.bin.dir}" if="${not property::exists('test.bin.dir')}" />
|
||||
|
||||
<echo message="Coverage Testing ${test.assemblyname} in ${test.bin.dir}" />
|
||||
|
||||
<exec program="${tool.dir}/opencover/OpenCover.Console.exe" workingdir="${test.bin.dir}" verbose="true">
|
||||
<arg value="-register:user" />
|
||||
<arg value="-target:${tool.dir}/nunit/net-2.0/nunit-console-x86.exe" />
|
||||
<arg value="-targetargs:${test.assemblyfile} /xml:${test.assemblyname}.dll-TestResults.xml /noshadow /nologo /framework:${nant.settings.currentframework}" />
|
||||
<arg value="-filter:"+[Spring*]* -[*Test*]* -[*nunit*]*"" />
|
||||
<arg value="-output:${test.bin.dir}/${test.assemblyname}.dll-TestCoverage.xml" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<target name="common.run-tests.partcover" description="Run NUnit tests">
|
||||
|
||||
<exec program="${tool.dir}\partcover\partcover.exe"
|
||||
|
||||
Reference in New Issue
Block a user