platform_system_core/base
Spencer Low cf168a82e9 adb_test/libbase_test: win32: get some tests working
adb_test:

* Fix adb_utils directory_exists test for Windows. The test actually
fails because directory_exists() is not aware of junctions or symlinks,
but I'm not really sure if that is a bad thing (since these are rare on
Windows to begin with).

* Fix crash during transport tests due to mutex not being initialized.

* io tests fail for various reasons (see adb_io_test.cpp for more info).

libbase_test:

* Get it building on Win32 by implementing mkstemp() and mkdtemp().

* Run StringPrintf %z test on Windows because it passes because we build
with __USE_MINGW_ANSI_STDIO which implements %z.

* I didn't fixup the logging tests: some logging tests fail because when
abort() is called on Windows, by default it pops up UI asking whether a
crash dump should be sent to Microsoft. To some degree this makes sense,
as I think LOG(FATAL) does crash dumping in Chromium. This should be
revisited in the future.

Change-Id: Iaa2433e5294ff162e0b2aa9fe6e4ec09a6893f7a
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-08-03 12:44:43 -07:00
..
include/base libbase_test: win32: get some tests working 2015-08-03 10:54:17 -07:00
.clang-format Revert "Revert "Create libbase."" 2015-03-16 10:08:46 -07:00
Android.mk Write mkdirs in more idiomatic C++ style. 2015-07-30 15:08:53 -07:00
CPPLINT.cfg Don't show lint errors for rvalue references. 2015-04-02 18:38:01 -07:00
file.cpp Don't use TEMP_FAILURE_RETRY on close() 2015-05-20 09:02:29 -07:00
file_test.cpp adb_test/libbase_test: win32: get some tests working 2015-08-03 12:44:43 -07:00
logging.cpp adb / libbase: clean up NOGDI and evil ERROR macro 2015-05-20 12:25:19 -07:00
logging_test.cpp Write mkdirs in more idiomatic C++ style. 2015-07-30 15:08:53 -07:00
stringprintf.cpp Revert "Revert "Create libbase."" 2015-03-16 10:08:46 -07:00
stringprintf_test.cpp libbase_test: win32: get some tests working 2015-08-03 10:54:17 -07:00
strings.cpp Generalize Join to work for any container/element. 2015-05-22 10:07:06 -07:00
strings_test.cpp Generalize Join to work for any container/element. 2015-05-22 10:07:06 -07:00
test_main.cpp Support base::logging on Windows. 2015-04-29 18:01:53 -07:00
test_utils.cpp libbase_test: win32: get some tests working 2015-08-03 10:54:17 -07:00