Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
Carolyn Van Slyck d3135b8a1e Add MarshalTOML to manifest and lock 2017-04-04 21:10:43 -05:00
Carolyn Van Slyck 6f72258139 Don't leave open test file handles open 2017-03-09 13:28:46 -06:00
tro3 0c16a76633 Moving to want/got pattern and adding unit test coverage 2017-02-12 23:52:17 -05:00
tro3 38bce0cc56 Adding -update test flag for golden files 2017-02-12 23:52:17 -05:00
tro3 00de8c9707 Removing AreJSONEqual function 2017-02-12 23:52:17 -05:00
tro3 60d3a173ae Cleaning up test file functions 2017-02-12 23:52:17 -05:00
tro3 026ac7fd1c Converting analyzer_test.go to golden-file pattern 2017-02-12 23:52:17 -05:00
tro3 eee4cec19b Adding copyright and tossing extraneous comment 2017-02-12 23:52:17 -05:00
tro3 532fbe98ba Converting manifest_test.go to golden-file pattern 2017-02-12 23:52:17 -05:00
Miguel Molina 0acfd38c22 move command code into cmd subpackage
In this commit, the testing framework used in dep is moved to the
test package, since it's used either in dep and main.
All the code that is not part of a command has been moved to the
dep subpackage, as well as all those functions that were shared between
dep and main, since dep cannot depend on main.
Because of the movement to another package, many structs, methods and
functions have become public.
2017-01-28 01:45:37 -05:00
Jess Frazelle 0c0d9a6d96 fix gofmt errors
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-01-13 11:41:22 -08:00
sam boyer 5b2ff11262 chasing gps: s/NetworkName/Source/ 2017-01-04 13:07:28 -08:00
sam boyer 20bf102893 dep: internalize and improve JSON handling
manifest and lock's MarshalJSON methods were previously returning
HTML-escaped, unindented byte streams. Now they do that work internally,
and more gracefully via a json.Encoder.
2016-11-30 19:37:28 -05:00
sam boyer d1c74a8321 Add sorting TODO; revert vendor change 2016-11-30 12:52:53 -05:00
sam boyer 9d759ef83a Add tests for writing manifest 2016-11-30 12:48:06 -05:00
sam boyer 6f303c2b2f Update crufty logic, prop names in manifest tests 2016-11-30 11:57:14 -05:00
sam boyer 095637b4d3 Basic manifest implementation (#4)
* Basic first pass at JSON-based manifest

* Add rudimentary ReadManifest() tests

* Implement gps.RootManifest methods on Manifest

* Add copyright headers

* Fatalf on test that invalidates later checks

* Rewrite TestDependencyConstraints comment as TODO

* Consolidate types package back into main
2016-10-18 15:07:38 +11:00