From 36643c8dafcd4637d55a9d6559ad45942079a1f3 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 30 Mar 2015 16:15:13 +1100 Subject: [PATCH] Added test names. --- samples/forgetfs/forget_fs.go | 6 +++--- samples/forgetfs/forget_fs_test.go | 22 +++++++++++++++++++++- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/samples/forgetfs/forget_fs.go b/samples/forgetfs/forget_fs.go index d49fafd..4d3b820 100644 --- a/samples/forgetfs/forget_fs.go +++ b/samples/forgetfs/forget_fs.go @@ -20,9 +20,9 @@ import "github.com/jacobsa/fuse" // directory named "bar". // // The file "foo" may be opened for reading and/or writing, but reads and -// writes aren't supported. Additionally, a file named "bar" may be created -// anew an arbitrary number of times in any directory, but it will never exist -// in lookups by name. +// writes aren't supported. Additionally, any non-existent file or directory +// name may be created within any directory, but the resulting inode will +// appear to have been unlinked immediately. // // The file system maintains reference counts for the inodes involved. It will // panic if a reference count becomes negative or if an inode ID is re-used diff --git a/samples/forgetfs/forget_fs_test.go b/samples/forgetfs/forget_fs_test.go index 224a880..6032131 100644 --- a/samples/forgetfs/forget_fs_test.go +++ b/samples/forgetfs/forget_fs_test.go @@ -47,6 +47,26 @@ func (t *ForgetFSTest) TearDown() { // Tests //////////////////////////////////////////////////////////////////////// -func (t *ForgetFSTest) DoesFoo() { +func (t *ForgetFSTest) Open_Foo() { + AssertTrue(false, "TODO") +} + +func (t *ForgetFSTest) Open_Dir() { + AssertTrue(false, "TODO") +} + +func (t *ForgetFSTest) Stat_Foo() { + AssertTrue(false, "TODO") +} + +func (t *ForgetFSTest) Stat_Dir() { + AssertTrue(false, "TODO") +} + +func (t *ForgetFSTest) CreateFile() { + AssertTrue(false, "TODO") +} + +func (t *ForgetFSTest) MkDir() { AssertTrue(false, "TODO") }