/*
 * gtest_main.cpp
 *
 *  Created on: May 12, 2015
 *      Author: Vance Zuo
 */

#include "gmock/gmock.h"
#include <stdio.h>

int main(int argc, char **argv) {
  printf("Running main() from gtest_main.cpp\n");
  testing::InitGoogleMock(&argc, argv);
  return RUN_ALL_TESTS();
}


Add google testing framework main
Add google testing framework main

To run, requires gmock/gmock.h, gmock/gmock-gtest-all.cc, and
gtest/gtest.h (obtainable from https://code.google.com/p/googlemock/).