Frederik Vosberg
e2c68b96ea
Merge branch 'master' into fix-test-execution-in-forks
2017-08-02 10:13:34 +02:00
Mat Ryer
fc157a141f
added go fmt
2017-07-31 15:09:54 +01:00
Mat Ryer
463b834355
Merge branch 'master' into fix-test-execution-in-forks
2017-07-31 14:59:37 +01:00
Frederik Vosberg
10bc283502
[PATCH] Made tests independent from package path
...
The test case checked for a whole package path, which should exist in a generated moq file, but that failed for obvious reasons in forks
2017-07-27 21:05:01 +02:00
Frederik Vosberg
c4b6b29db7
[PATCH] Remove side effect caused by chdir from test - fixes #23
...
The TestDotImports changed the directory, so every test afterwards was executed from another directory and calls like New("testpackages/emptyinterface", "") failed.
2017-07-27 21:02:36 +02:00
Mat Ryer
df933a7865
Cleaned up files
2017-07-18 10:06:16 +01:00
Mat Ryer
e71b1c1ebe
Better solution for #21
2017-07-18 10:00:26 +01:00
Mat Ryer
879118f880
Single dot imports explicitly not-included - fixes #21
2017-07-18 09:45:29 +01:00
SteveOC
afd0cccab1
update template header to conform to https://github.com/golang/go/issues/13560 'new standard way of denoting generated code'
2017-07-18 14:00:03 +10:00
Mat Ryer
9dfde8fc79
Improved the way calls and locks work
2017-07-11 21:27:08 +01:00
Mat Ryer
b442eec838
changed the way locks work to keep them out of the mock structure itself
2017-07-11 21:00:24 +01:00
Mat Ryer
2b8f74f90c
better path parsing
2017-07-11 20:45:51 +01:00
Mat Ryer
2abe0a029a
added code that checks vendor folders
2017-07-11 20:42:36 +01:00
Mat Ryer
63b6f24493
test data -> testpackages
2017-07-11 20:21:07 +01:00
Mat Ryer
df49857c18
added vendor example
2017-07-11 20:02:46 +01:00