p4bridge-unit-test.cpp #3

  • //
  • guest/
  • eskopljak/
  • p4api.net/
  • main/
  • p4bridge-unit-test/
  • p4bridge-unit-test.cpp
  • View
  • Commits
  • Open Download .zip Download (724 B)
// 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
#3 28480 eskopljak submit
#2 28479 eskopljak submit
#1 28441 eskopljak Merging using p4api.net_branch
//guest/perforce_software/p4api-net/main/p4bridge-unit-test/p4bridge-unit-test.cpp
#1 19043 Liz Lam Rename p4api.net to p4api-net
//guest/perforce_software/p4api.net/main/p4bridge-unit-test/p4bridge-unit-test.cpp
#1 19042 Liz Lam Rename/move file(s) to proper main branch.
//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
#2 8964 Bill fix line endings
#1 8873 Matt Attaway Initial add of the P4API.NET source code