libStatGen Software  1
gtest.cpp
00001 /*
00002  * Copyright (c) 2009 Regents of the University of Michigan
00003  * 
00004  * Permission is hereby granted, free of charge, to any person
00005  * obtaining a copy of this software and associated documentation
00006  * files (the "Software"), to deal in the Software without
00007  * restriction, including without limitation the rights to use,
00008  * copy, modify, merge, publish, distribute, sublicense, and/or sell
00009  * copies of the Software, and to permit persons to whom the
00010  * Software is furnished to do so, subject to the following
00011  * conditions:
00012  * 
00013  * The above copyright notice and this permission notice shall be
00014  * included in all copies or substantial portions of the Software.
00015  * 
00016  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00017  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
00018  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00019  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
00020  * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
00021  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
00022  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
00023  * OTHER DEALINGS IN THE SOFTWARE.
00024  */
00025 
00026 #include <stdio.h>
00027 #include <stdlib.h>
00028 #include <iostream>
00029 #include <gtest/gtest.h>
00030 
00031 class GlobalTestEnvironment : public ::testing::Environment {
00032 public:
00033     virtual ~GlobalTestEnvironment();
00034     virtual void SetUp();
00035     virtual void TearDown();
00036 //public:
00037     // 
00038 };
00039 
00040 GlobalTestEnvironment::~GlobalTestEnvironment() 
00041 {
00042 }
00043 
00044 void GlobalTestEnvironment::SetUp()
00045 {
00046         
00047 }
00048 
00049 void GlobalTestEnvironment::TearDown()
00050 {
00051 }
00052 
00053 
00054 ::testing::Environment* const globalEnvironment = ::testing::AddGlobalTestEnvironment(new GlobalTestEnvironment);
00055 
00056 int main(int argc, char **argv) {
00057     ::testing::InitGoogleTest(&argc, argv);
00058     return RUN_ALL_TESTS();
00059 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends