CppUTest website
cpputest / cpputest.github.io Goto Github PK
View Code? Open in Web Editor NEWCppUTest website
CppUTest website
The page build completed successfully, but returned the following warning:
You are attempting to use the 'pygments' highlighter, which is currently unsupported on GitHub Pages. Your site will use 'rouge' for highlighting instead. To suppress this warning, change the 'highlighter' value to 'rouge' in your '_config.yml'. For more information, see https://help.github.com/articles/page-build-failed-config-file-error/#fixing-highlighting-errors.
GitHub Pages was recently upgraded to Jekyll 3.0. It may help to confirm you're using the correct dependencies:
https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0
For information on troubleshooting Jekyll see:
https://help.github.com/articles/troubleshooting-jekyll-builds
If you have any questions you can contact us by replying to this email.
The code coverage widget shows 100% when the code coverage is currently 99.87% (https://coveralls.io/github/cpputest/cpputest?branch=master). The rounding must be changed to only show 100% when it is exactly 100%. I believe that is often done by code coverage tools to ensure that you do not mistakenly believe that there is 100% coverage.
I'm having a problem compiling AllTests.cpp after adding the setup code which seems to be recommended in Plugin Manual re: SetPointerPlugin . My AllTests.cpp looks like this:
#include "CppUTest/CommandLineTestRunner.h"
int main(int ac, char** av)
{
TestRegistry* r = TestRegistry::getCurrentRegistry();
SetPointerPlugin ps("PointerStore");
r->installPlugin(&ps);
return CommandLineTestRunner::RunAllTests(ac, av);
}
but when I compile it (gcc:10), I get an error:
$ make ./test-obj/1/2/tests/AllTests.o
compiling AllTests.cpp
tests/AllTests.cpp: In function ‘int main(int, char**)’:
tests/AllTests.cpp:11:34: error: incomplete type ‘TestRegistry’ used in nested name specifier
11 | TestRegistry* r = TestRegistry::getCurrentRegistry();
| ^~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
make: *** [/home/keith/e2_studio/Ranger/CppUTest/build/MakefileWorker.mk:511: test-obj/1/2/tests/AllTests.o] Error 1
After searching for SetPointerPlugin in the CppUTest source files, in function int CommandLineTestRunner::runAllTestsMain()
the SetPointerPlugin is installed in the registry by default, with no extra setup code being needed in main(). So it seems that the setup code shown for installing it should be removed from Plugin Manual re: SetPointerPlugin.
There is a typo in the MyTypeComparator example code. Specifically on the line:
virtual SimpleString valueToString(cont void* object)
. I assume that cont
should be const
.
I am aware that this is a minor issue but it could still be fixed. I can make a PR if it is necessary.
Fixed in PR: #25
@basvodde - I am currently working on a PR to document the new functionality that will be part of CppUTest v3.8 (and also update some that has always been missing)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.