1
0
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:
Falk Werner
2020-02-15 15:11:35 +01:00
parent 16705acf81
commit e727a9a54d
8 changed files with 100 additions and 1 deletions

View 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);
}