aboutsummaryrefslogtreecommitdiffstats
path: root/utils/fs/test
Commit message (Collapse)AuthorAgeFilesLines
* utils: fs, memory fix read offsetMáximo Cuadros2016-11-201-0/+22
|
* utils: fs, memory fix ReadDir, error getting filenameMáximo Cuadros2016-11-201-0/+42
|
* utils/fs: add ReadAt to memory file and tests. (#122)Santiago M. Mola2016-11-111-0/+34
| | | | * memory files now implement io.ReaderAt. * tests now check ReadAt behaviour.
* utils/fs: added test for open-read-seek. (#117)v4.0.0-rc3Santiago M. Mola2016-11-071-1/+24
| | | | Previously we tested only seek on created files, not opened.
* utils: fs, new memory filesystem (#108)Máximo Cuadros2016-11-041-0/+43
| | | | | | | | * utils: fs, new memory filesystem * utils: fs, renamed os.NewOS to os.New * utils: fs, memory changes requested by @alcortes
* utils/fs: add OpenFile method to filesystem interface. (#104)Santiago M. Mola2016-10-311-11/+120
| | | | | | | | | | | | * utils/fs: add OpenFile method to filesystem interface. * added OpenFile to fs.Filesystem interface. * added OpenFile implementation to 'os' filesystem. * bring back BaseFile. * utils/fs/os: do not use wildcard import. * utils/fs/os: implement Open and Create using OpenFile.
* utils/fs/test: add testing of stat on subdirs. (#99)Santiago M. Mola2016-10-261-0/+18
| | | | * Some 3rd party implementations had bugs on this that went unnoticed.
* utils/fs: add test for create file in dir. (#95)Santiago M. Mola2016-10-251-0/+8
| | | | | | * Ensure that files can be created in a FS returned by Dir(). * Files created in a dir fs should have Filename() relative to dir's base.
* utils/fs: add Remove(). (#94)Santiago M. Mola2016-10-241-0/+22
|
* utils/fs: move 'os' and 'test' to separate packages. (#93)Santiago M. Mola2016-10-241-0/+158
* create utils/fs/test package to expose generic test suite to 3rd party fs implementations. * move 'os' to its own package to avoid cyclic dependency (test -> fs -> test, becomes test -> fs, os -> test, os -> fs). * remove TestCreateAndWrite: some of our implementations cannot read a file that was just created, written and not closed yet.