Commit graph

11 commits

Author SHA1 Message Date
Patrick O'brien 488e203c0b Change objectSlice to be exported (ObjectSlice) 2016-07-17 00:15:14 +10:00
Patrick O'brien 726fae9af1 Add MustTx helper, move deletes to bottom of tests 2016-07-15 15:32:36 +10:00
Patrick O'brien c424780458 Refactored and finished insert tests 2016-07-14 15:09:05 +10:00
Patrick O'brien b7f8c132df Refactored select tests
* Delete unecessary helpers
2016-07-14 14:12:26 +10:00
Patrick O'brien 4036786b6a Got insert testing in a better state
* Split up insert function for testing
* Add DBType to global state
* Move test reflection helpers to testing.go
* Add incremental seed to randomizeField to avoid duplicate constraint
  error messages
* Fixed Viper SSL default bug
* Fixed pgpass SSL inclusion bug
* Add MakeStringMap strmangle helper
* Change test errors from error to skip
2016-07-14 02:51:40 +10:00
Aaron L d7adb7006e Rename IsNullable -> Nullable
- Skip insert test
- Fix whitespacing issue
2016-07-09 10:13:35 -07:00
Aaron L 0cea9b1edc Fix bug in insert output. 2016-07-09 09:31:09 -07:00
Patrick O'brien 013b3ae0f8 Added more reflect helpers 2016-07-09 02:39:36 +10:00
Patrick O'brien 08d168605f Added more insert test, added comments
* Added IsZeroValue helper
2016-07-08 01:59:07 +10:00
Patrick O'brien 7a0b84848f Add more tests to insert template tests
* Add helpers to assist with template tests
* Change null []byte from string to []byte
2016-07-06 16:02:35 +10:00
Aaron L 8757c8a184 Refactor entire project :D
- Move most files to root
- Remove cmds directory in favor of cmd directory with binary
- Remove all cobra from main
2016-06-11 18:25:00 -07:00
Renamed from cmds/templates_test/insert.tpl (Browse further)