(c *C)
| 100 | var _ = Suite(&PublishedStorageSuite{}) |
| 101 | |
| 102 | func (s *PublishedStorageSuite) SetUpTest(c *C) { |
| 103 | s.root = c.MkDir() |
| 104 | s.storage = NewPublishedStorage(filepath.Join(s.root, "public"), "", "") |
| 105 | s.storageSymlink = NewPublishedStorage(filepath.Join(s.root, "public_symlink"), "symlink", "") |
| 106 | s.storageCopy = NewPublishedStorage(filepath.Join(s.root, "public_copy"), "copy", "") |
| 107 | s.storageCopySize = NewPublishedStorage(filepath.Join(s.root, "public_copysize"), "copy", "size") |
| 108 | s.cs = NewMockChecksumStorage() |
| 109 | } |
| 110 | |
| 111 | func (s *PublishedStorageSuite) TestLinkMethodField(c *C) { |
| 112 | c.Assert(s.storage.linkMethod, Equals, LinkMethodHardLink) |
nothing calls this directly
no test coverage detected