aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/stubs/io_win32_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge master branch.Feng Xiao2018-08-081-8/+8
|\
| * 4593 Replace all occurrences of "NULL" to nullptr in src/google/protobug/stubsDhruv2018-08-071-8/+8
| |
* | Down-integrate from google3.Feng Xiao2018-08-081-6/+6
|/
* Integrated internal changes from GoogleAdam Cozzette2018-03-131-4/+3
|
* io_win32_unittest: remove incorrect error checkLaszlo Csomor2017-12-071-3/+3
| | | | | | Unlike GetEnvironmentVariableW, GetCurrentDirectoryW doesn't set ERROR_INSUFFICIENT_BUFFER.
* io_win32_unittest: fix condition in GetCwdAsUtf8Laszlo Csomor2017-12-071-1/+1
|
* io_win32_unittest: use CWD as last tempdirLaszlo Csomor2017-12-071-3/+26
| | | | | | | | | | | | If the test cannot find a temp directory by checking environment variables, it will fall back to using the current working directory as the temp directory root. This is what the test used to do as of commit https://github.com/google/protobuf/commit/6de51caed52d798815954646b230c5aef3e4d2fc and what was then changed by commit https://github.com/google/protobuf/pull/3978/commits/792d098769d8e000d8d474c8ffd201d2eabc2134
* io_win32: add more encoding-related testsLaszlo Csomor2017-12-071-26/+73
|
* io_win32: support non-ASCII pathsLaszlo Csomor2017-12-071-30/+60
| | | | Fixes https://github.com/google/protobuf/issues/3951
* io_win32_unittest: make //:win32_test run againLaszlo Csomor2017-12-071-49/+29
| | | | | | | | | Do not use "googletest.h", apprently that leads to linking errors on Windows which I couldn't figure out how to solve, and decided to just go with plain gTest instead. See https://github.com/google/protobuf/issues/3951
* Support win32 long path for cross compiled buildJisi Liu2017-11-101-2/+2
|
* Fix bazel buildJisi Liu2017-10-181-4/+2
|
* Fix unsiged underflowJisi Liu2017-10-181-1/+1
|
* Remove C++11 only usages in io_win32 tests.Jisi Liu2017-10-181-13/+21
|
* Windows: support long pathsLaszlo Csomor2017-07-111-0/+367
Add implementations of open(2), mkdir(2), stat(2), etc. that support long paths under Windows (paths longer than MAX_PATH in <windows.h>, which is 260 characters). The implementations are in a separate namespace (google::protobuf::internal::win32), so they won't collide with the standard implementations in <io.h>, but after importing them with `using` they can be drop-in replacements. Fixes https://github.com/bazelbuild/bazel/issues/2634 Fixes https://github.com/google/protobuf/issues/2891