mirror of
https://github.com/falk-werner/webfuse-provider
synced 2026-03-02 04:09:18 +00:00
added implementation of mountpoint
This commit is contained in:
12
test/adapter/test_mountpoint.cc
Normal file
12
test/adapter/test_mountpoint.cc
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include "webfuse/adapter/mountpoint.h"
|
||||
|
||||
TEST(mountpoint, get_path)
|
||||
{
|
||||
wf_mountpoint * mountpoint = wf_mountpoint_create("/some/path");
|
||||
|
||||
ASSERT_NE(nullptr, mountpoint);
|
||||
ASSERT_STREQ("/some/path", wf_mountpoint_get_path(mountpoint));
|
||||
|
||||
wf_mountpoint_dispose(mountpoint);
|
||||
}
|
||||
Reference in New Issue
Block a user