???????????cppunit??????????
???????????? ???????[ 2016/1/19 13:34:43 ] ??????????????? ???????
??????????????????????????????????????????????????????????ο???
????1.fatal error C1083: ????????????:“Point.h”: No such file or directory?????????????????£?????????????????λ????????????? ->C/C++ ->????->????????????????????λ?÷?????
????2. error C2011: “Point”:“class”????????壻????Point.h??????????????ú??壬???????в?????????Point.h????????????Point.h????м??????#ifndef POINT_H #define POINT_H #endif???ɡ?
??????????????????
????1.class testpoint :public CppUnit::TestFixture ?????TestFixture????testpoint??
????2.CPPUNIT_TEST_SUITE(testpoint);??testpoint?????????
????CPPUNIT_TEST??testget??;testget????????
????3.CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(testpoint?? "alltest");???????testpoint????alltest
????4.main??????????????????????
????CppUnit::TestResult r;
????CppUnit::TestResultCollector rc;
????r.addListener(&rc); // ???乲????????????????????
????CppUnit::TestRunner runner; // ??????????
????runner.addTest(CppUnit::TestFactoryRegistry::getRegistry("alltest").makeTest());
????runner.run(r); // ???в???
????CppUnit::TextOutputter o(&rc?? std::cout);
????o.write(); // ????????
????system("pause");//?????????exe???????к??????????
????return rc.wasSuccessful() ? 0 : -1;//????????????????0??
?????????????????д??????????????????????????Щ????
??????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44