aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Laszlo Csomor <laszlocsomor@google.com>2016-12-06 17:24:53 +0000
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2016-12-06 18:29:11 +0000
commit4e33ac6326ce93ab1645b5caccb4582ddb6fe9a4 (patch)
tree78690858ede8c3b5367cf53191cbb206d8eed982 /src/test
parent12d766df10fbc5eba16ec1e6c20c8cd85f9c616f (diff)
Windows JNI library: prepare for widechar WinAPI
This change: - renames windows_error_handling.* to windows_util.* - moves most stuff except for the JNI method implementations into the new windows_util namespace - implements a jstring to wchar string converter - uses GetFileAttributesW in windows_file_operations.cc See https://github.com/bazelbuild/bazel/issues/2181 -- PiperOrigin-RevId: 141187291 MOS_MIGRATED_REVID=141187291
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/google/devtools/build/lib/windows/WindowsFileOperationsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/windows/WindowsFileOperationsTest.java b/src/test/java/com/google/devtools/build/lib/windows/WindowsFileOperationsTest.java
index c899f4d369..84f7752e3b 100644
--- a/src/test/java/com/google/devtools/build/lib/windows/WindowsFileOperationsTest.java
+++ b/src/test/java/com/google/devtools/build/lib/windows/WindowsFileOperationsTest.java
@@ -116,7 +116,7 @@ public class WindowsFileOperationsTest {
WindowsFileOperations.isJunction(root + "/non-existent");
fail("expected to throw");
} catch (IOException e) {
- assertThat(e.getMessage()).contains("GetFileAttributesA");
+ assertThat(e.getMessage()).contains("GetFileAttributes");
}
assertThat(Arrays.asList(new File(root + "/shrtpath/a").list())).containsExactly("file1.txt");
assertThat(Arrays.asList(new File(root + "/shrtpath/b").list())).containsExactly("file2.txt");