From e997c8fc912ebc530f87591862b84ce1e5a290c3 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 23 Mar 2015 16:11:01 +1100 Subject: [PATCH] Began categorizing tests. --- samples/flushfs/flush_fs_test.go | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/samples/flushfs/flush_fs_test.go b/samples/flushfs/flush_fs_test.go index 2421ede..6bcaedf 100644 --- a/samples/flushfs/flush_fs_test.go +++ b/samples/flushfs/flush_fs_test.go @@ -686,3 +686,37 @@ func (t *FlushFSTest) Mmap_CloseBeforeMunmap() { func (t *FlushFSTest) Directory() { AssertTrue(false, "TODO") } + +//////////////////////////////////////////////////////////////////////// +// No errors +//////////////////////////////////////////////////////////////////////// + +type NoErrorsTest struct { + flushFSTest +} + +func init() { RegisterTestSuite(&NoErrorsTest{}) } + +//////////////////////////////////////////////////////////////////////// +// Flush error +//////////////////////////////////////////////////////////////////////// + +type FlushErrorTest struct { + flushFSTest +} + +func init() { RegisterTestSuite(&FlushErrorTest{}) } + +func (t *FlushFSTest) SetUp(ti *TestInfo) + +//////////////////////////////////////////////////////////////////////// +// Fsync error +//////////////////////////////////////////////////////////////////////// + +type FsyncErrorTest struct { + flushFSTest +} + +func init() { RegisterTestSuite(&FsyncErrorTest{}) } + +func (t *FlushFSTest) SetUp(ti *TestInfo)