// p4bridge-unit-test.cpp : Defines the entry point for the console application. // #include "StdAfx.h" #include "UnitTestFrameWork.h" #include <conio.h> #include <string.h> int main(int argc, char* argv[]) { if (argc > 0) for (int idx = 1; idx < argc; idx++) { if (strcmp(argv[idx], "-b") == 0) // break on fail UnitTestSuite::BreakOnFailure(true); if (strcmp(argv[idx], "-e") == 0) // end on fail UnitTestSuite::EndOnFailure(true); } UnitTestFrameWork::RunTests(); #ifdef _DEBUG_MEMORY p4base::PrintMemoryState("After test complete"); p4base::DumpMemoryState("After test complete"); #endif printf("Hit 'x' to exit"); _getch(); return 0; }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12428 | YourUncleBob |
Populate -o //guest/perforce_software/p4connect/src/P4Bridge/... //guest/YourUncleBob/p4connect/src/P4Bridge/.... |
||
//guest/perforce_software/p4connect/src/P4Bridge/p4bridge-unit-test/p4bridge-unit-test.cpp | |||||
#2 | 12135 | Norman Morse |
Integrate dev branch changes into main. This code is the basiis of the 2.7 BETA release which provides Unity 5 compatibility |
||
#1 | 10940 | Norman Morse |
Inital Workshop release of P4Connect. Released under BSD-2 license |