- // 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();
- p4base::PrintMemoryState("After test complete");
- p4base::DumpMemoryState("After test complete");
- printf("Hit 'x' to exit");
- _getch();
- return 0;
- }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 13946 | OmegaNemesis28 | Merging //guest/perforce_software/p4api.net/... to //guest/omeganemesis28/p4api.net/...... « |
10 years ago | |
//guest/perforce_software/p4api.net/p4bridge-unit-test/p4bridge-unit-test.cpp | |||||
#3 | 11220 | Matt Attaway | Update Workshop version with most recent 14.2 patch of p4api.net | 10 years ago | |
#2 | 8964 | Bill | fix line endings | 11 years ago | |
#1 | 8873 | Matt Attaway | Initial add of the P4API.NET source code | 11 years ago |