/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
mount_http_test.cc | 69 MountHttpForTesting mnt_; member in class:__anon8840::MountHttpTest 73 mnt_(MakeStringMap(GetParam()), &ppapi_) { 82 ASSERT_EQ(0, mnt_.Access(Path("/foo"), R_OK)); 83 ASSERT_EQ(EACCES, mnt_.Access(Path("/foo"), W_OK)); 84 ASSERT_EQ(EACCES, mnt_.Access(Path("/foo"), X_OK)); 85 ASSERT_EQ(ENOENT, mnt_.Access(Path("/bar"), F_OK)); 92 ASSERT_EQ(EIO, mnt_.Open(Path("/file"), O_RDONLY, &node)); 106 ASSERT_EQ(0, mnt_.Open(Path("/file"), O_RDONLY, &node)); 136 ASSERT_EQ(0, mnt_.Open(Path("/file"), O_RDONLY, &node)); 160 ASSERT_EQ(0, mnt_.Open(Path("/file"), O_WRONLY, &node)) [all...] |
mount_fuse_test.cc | 187 MountFuseForTesting mnt_; member in class:__anon8837::MountFuseTest 190 MountFuseTest::MountFuseTest() : mnt_(&g_fuse_operations) {} 210 ASSERT_EQ(0, mnt_.Open(Path("/hello"), O_RDONLY, &node)); 223 ASSERT_EQ(0, mnt_.Open(Path("/foobar"), O_RDWR | O_CREAT, &node)); 244 ASSERT_EQ(0, mnt_.Open(Path("/hello"), O_RDONLY, &node)); 250 ASSERT_EQ(0, mnt_.Open(Path("/"), O_RDONLY, &node)); 256 ASSERT_EQ(0, mnt_.Open(Path("/foobar"), O_RDWR | O_CREAT, &node)); 266 ASSERT_EQ(0, mnt_.Open(Path("/"), O_RDONLY, &root)); 288 ASSERT_EQ(0, mnt_.Open(Path("/foobar"), O_RDWR | O_CREAT, &node));
|
mount_node_tty_test.cc | 32 ASSERT_EQ(0, mnt_.Access(Path("/tty"), R_OK | W_OK)); 33 ASSERT_EQ(EACCES, mnt_.Access(Path("/tty"), X_OK)); 34 ASSERT_EQ(0, mnt_.Open(Path("/tty"), O_RDWR, &dev_tty_)); 44 MountDevMock mnt_; member in class:__anon8842::TtyTest
|
kernel_proxy_test.cc | 608 KernelProxyError() : mnt_(new MountMock) {} 612 factories_["testfs"] = new SingletonMountFactory(mnt_); 614 EXPECT_CALL(*mnt_, Destroy()).Times(1); 618 ScopedRef<MountMock> mnt() { return mnt_; } 621 ScopedRef<MountMock> mnt_; member in class:__anon8835::KernelProxyError
|