summaryrefslogtreecommitdiff
path: root/src/googletest.h
AgeCommit message (Collapse)AuthorFilesLines
2015-07-15allow to define TEST_SRC_DIR as a macroSergiu Dotenco1-1/+1
2013-10-31Add StrError and replace posix_strerror_r calls1-13/+5
For now, we do not remove the declaration of posix_strerror_r, but we might remove it in future. git-svn-id: https://google-glog.googlecode.com/svn/trunk@139 eb4d4688-79bd-11dd-afb4-1d65580434c0
2013-02-18Attempt to improve mingw-w64 support1-1/+1
- Set -Isrc/windows for mingw - Check existence of sigaction, pread, and pwrite - Provide alternative implementation of pread and pwrite - Eliminate symlink code for OS_WINDOWS - Don't check /proc/self/fd if the OS isn't linux - Don't use MSVC specific declarations in port.h for mingw git-svn-id: https://google-glog.googlecode.com/svn/trunk@135 eb4d4688-79bd-11dd-afb4-1d65580434c0
2012-01-12Remove trivial warnings produced by clang1-2/+2
git-svn-id: https://google-glog.googlecode.com/svn/trunk@107 eb4d4688-79bd-11dd-afb4-1d65580434c0
2012-01-12Add exception specification for operator new and operator delete1-4/+4
Unfortunately, clang produces warnings for them git-svn-id: https://google-glog.googlecode.com/svn/trunk@106 eb4d4688-79bd-11dd-afb4-1d65580434c0
2010-05-28Move TEST_SRC_DIR from googletest.h to config.h.1-1/+2
Now test passes out side tree. git-svn-id: https://google-glog.googlecode.com/svn/trunk@85 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-07-31Make the order of check for OS_WINDOWS|OS_CYGWIN and HAVE_PTHREAD consistent.1-8/+8
git-svn-id: https://google-glog.googlecode.com/svn/trunk@70 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-07-27Add virtual ~Thread() to avoid warnings.1-0/+2
git-svn-id: https://google-glog.googlecode.com/svn/trunk@58 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-07-08Suppress warnings. Most of this patch was given by keir (thanks!).1-18/+18
Corresponding glog bug: http://code.google.com/p/google-glog/issues/detail?id=10 The differences from keir's patch are: - For raw_logging.h.in, I just included time.h for struct tm. - Added a fprintf which warns that we should have died to avoid a warning for unused local variable. - Added inline for some functions which may be unused in googletest.h. - Removed DumpPCAndFrameSize as it was unused. git-svn-id: https://google-glog.googlecode.com/svn/trunk@56 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-07-07Run benchmarks only when --run_benchmark is specified.1-0/+5
git-svn-id: https://google-glog.googlecode.com/svn/trunk@52 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-03-10Fixes for GCC 4.4. Thanks John for this patch!1-0/+3
git-svn-id: https://google-glog.googlecode.com/svn/trunk@41 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-28Add license information for all source code.1-0/+32
git-svn-id: https://google-glog.googlecode.com/svn/trunk@39 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-22Better Cygwin support.1-3/+7
- configure.ac: Add -lpthread only if acx_pthread_ok is yes. In cygwin, we use Windows' thread so that we don't need -lpthread. - base/mutex.h: Define NOMINMAX before we include windows.h. - glog/*.h: Make sure that dllimport doesn't appear in cygwin. Note that windows.h may define _WIN32 macro. - utilities.h: Define OS_CYGWIN. git-svn-id: https://google-glog.googlecode.com/svn/trunk@30 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-15* Add LOG_TO_STRING.1-3/+2
* Add LOG_AT_LEVEL. * Add DVLOG. * Add LOG_TO_SINK_ONLY. * Log microseconds. * Add --log_backtrace_at option. * Introduce CrashReason class. * Fix some bugs. git-svn-id: https://google-glog.googlecode.com/svn/trunk@29 eb4d4688-79bd-11dd-afb4-1d65580434c0
2009-01-05Use gtest and gmock if installed.1-21/+37
git-svn-id: https://google-glog.googlecode.com/svn/trunk@26 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-12-19Initial windows support. Now we don't have the stacktrace and several unittests.1-9/+68
git-svn-id: https://google-glog.googlecode.com/svn/trunk@23 eb4d4688-79bd-11dd-afb4-1d65580434c0
2008-10-07glog 0.11-0/+483
git-svn-id: https://google-glog.googlecode.com/svn/trunk@2 eb4d4688-79bd-11dd-afb4-1d65580434c0