aboutsummaryrefslogtreecommitdiffstats
path: root/fixtures/fixtures.go
Commit message (Collapse)AuthorAgeFilesLines
* Typo in fixtures (#240)Sergio Arbeo2017-01-301-1/+1
|
* fixtures: support more than one source folder (fix #217) (#219)Antonio Navarro Perez2017-01-231-7/+18
| | | | | GOPATH can contain more than one folder separated by ':'. To check it correctly, we use SrcDirs() method to be able to check into all the source folders if fixtures exists.
* fixtures: initialize fixtures into separated methods (#214)v4.0.0-rc7Antonio Navarro Perez2017-01-191-5/+19
| | | | | To be able to use fixtures with other test frameworks than go-check, we created two methods, one to set fixtures path correctly, and another to remove all the temporal data created when testing.
* fixtures: new fixture with multiple root commits (#212)Antonio Navarro Perez2017-01-161-0/+7
|
* Extract billy (#173)Sergio Arbeo2016-12-191-6/+6
| | | | | | | | | | | | | | | * Extract billy Billy is a new library directly extracted from go-git. It abstract several storages systems in a filesystem interface. More in github.com/src-d/billy * Fix grouping in imports block * Update billy to v1 * Re-remove fs_implementation example
* fixtures: fix empty repository fixture .git (#171)Santiago M. Mola2016-12-121-1/+1
| | | | | | Previous fixture for empty.git was created with clone without --bare. That was not valid for push tests. Replaced with a .git created with git init --bare.
* fixtures: always returna a new directory with DotGit. (#169)Santiago M. Mola2016-12-081-9/+6
| | | | | | | DotGit now creates a new temporary directory on every call. This allows test to easily get multiple copies of the same repository (e.g. to test fetch/push cases). It also ensures that tests do not have side effects on other tests unless they share the path from the same DotGit call.
* protocol/packp: UploadPackResponse implementation (#161)Máximo Cuadros2016-12-061-0/+20
| | | | | | | | | | | | | | | | * plumbing/protocol: paktp avoid duplication of haves, wants and shallow * protocol/pakp: UploadPackResponse implementation * changes * changes * changes * debug * changes
* BaseSuite improvements, usage of file:// protoMáximo Cuadros2016-12-021-6/+12
|
* transport: add local transport (#145)Santiago M. Mola2016-11-291-0/+5
| | | | | * transport: move common packp protocol out of ssh transport. * fixtures: add fixture for empty repository. * transport: add file:// transport
* new plumbing package (#118)Máximo Cuadros2016-11-081-36/+36
| | | * plumbing: now core was renamed to core, and formats and clients moved inside
* fixtures: Add missing ObjectsCount (#115)v4.0.0-rc2Antonio Navarro Perez2016-11-041-0/+1
|
* fixtures: Add DotGitHash to tags repository (#113)Antonio Navarro Perez2016-11-041-1/+2
|
* utils: fs, new memory filesystem (#108)Máximo Cuadros2016-11-041-1/+1
| | | | | | | | * utils: fs, new memory filesystem * utils: fs, renamed os.NewOS to os.New * utils: fs, memory changes requested by @alcortes
* formats: Index read support (#91)Máximo Cuadros2016-10-261-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | * utils: fs generic TestSuite * fs: fs.TempFile * utils: fs small changes requested * utils: fs, test fs.Create overwriting files * formats: index, basic v2 reader * formats: index, tree extension support * formats: index, stage decoding * formats: index, extended flags, v3 support * formats: index, v4 support * formats: index, Resolve undo support * formats: index, fix error when decoding invalidated entries * formats: index, fix style issues
* utils/fs: move 'os' and 'test' to separate packages. (#93)Santiago M. Mola2016-10-241-1/+2
| | | | | | * 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.
* cleanup old fixturesMáximo Cuadros2016-09-221-0/+28
|
* tags tests, Tag.String and Commit.StringMáximo Cuadros2016-09-211-0/+5
|
* fixtures: new fixture package being use in all packagesMáximo Cuadros2016-09-121-9/+56
|
* format: packfile fix ReadObjectAt without decodeMáximo Cuadros2016-09-111-26/+34
|
* storage: filesystem ref storage, and not not exists file handlingMáximo Cuadros2016-09-101-3/+4
|
* storage: filesystem iter implementationMáximo Cuadros2016-09-091-3/+7
|
* storage: filessytem read multiple packfiles support and index decodingMáximo Cuadros2016-09-091-1/+32
|
* format: packfile based on ObjectStorage and CRC32 calculationMáximo Cuadros2016-09-081-0/+102