Dustin Oprea
d69a43ee6a
common/testing_common.go: Bugfix for empty module-path introduced by recent commit
2020-06-07 00:55:05 -04:00
Dustin Oprea
ca8584a0e1
Minor sensible testing refactors
2020-06-04 15:34:36 -04:00
Dustin Oprea
7a76510c2b
Revert "Refactor module-detection to use go/build instead of static file"
...
This reverts commit c23f7a10661b5308af9619b5d577a1754acf8412.
The package-path will be a build-path rather than a source-path, and any
assets being referred to will not be found.
2020-06-04 01:37:15 -04:00
Dustin Oprea
eb6d1c16a5
Revert "common/testing_common.go: Bugfix for package-path finder"
...
This reverts commit 77cb76cd34b585821d04892f166ac4a126d0cf3e.
The package-path will be a build-path rather than a source-path, and any
assets being referred to will not be found.
2020-06-04 01:35:32 -04:00
Dustin Oprea
77cb76cd34
common/testing_common.go: Bugfix for package-path finder
2020-06-02 15:01:38 -04:00
Dustin Oprea
c23f7a1066
Refactor module-detection to use go/build instead of static file
2020-06-02 04:23:08 -04:00
Dustin Oprea
eee9ff13c7
Removed init()'s from tests so they don't run when imported
...
Otherwise they'll break for other projects' tests. We now initialize our
paths on-demand, which will only happen when running from our own tests.
2020-01-13 12:00:23 -05:00
Dustin Oprea
ebd20ffc59
Do not include v1/legacy in coverage
2020-01-12 18:56:35 -05:00
Dustin Oprea
3b18b2295e
common/testing_common.go: Tighten error checking for module-find
2020-01-12 18:56:35 -05:00
Dustin Oprea
db9a0b3a24
common/testing_common.go: Add verbosity for module-path find failure
2020-01-12 18:56:35 -05:00
Dustin Oprea
817d4b2856
Fix module resolution with subpackages
...
exif-read-tool/main_test.go: Fix test broken by moving to V2.
2020-01-12 18:56:35 -05:00
Dustin Oprea
32a5d88770
New integration of common/ and undefined/ subpackages
...
- common/type.go: Add FormatFromType() .
- Renamed common/type_encode.go to common/value_encoder.go .
2020-01-12 18:56:35 -05:00