Mat Ryer
463b834355
Merge branch 'master' into fix-test-execution-in-forks
2017-07-31 14:59:37 +01:00
Mat Ryer
9999c4d497
Merge pull request #24 from fvosberg/fix-test-chdir-sideeffect
...
[PATCH] Remove side effect caused by chdir from test - fixes #23
2017-07-31 14:59:10 +01:00
Frederik Vosberg
ede55fbbe7
[PATCH] Omit sync package while mocking empty interface
...
when just an empty interface is has beeing mocked, the import of the sync package caused an error. In production it isn't important, because mocking empty interfaces might be stupid, but while writing tests it might happen, that you create an interface, which is beeing filled later on.
2017-07-27 21:08:06 +02: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
Mat Ryer
1b59660688
Merge pull request #22 from steveoc64/master
...
update template header to conform to https://github.com/golang/go/iss …
2017-07-18 09:33:24 +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
941b573418
Go fmt
2017-07-11 21:42:55 +01:00
Mat Ryer
d6bc24ab27
Merge pull request #20 from matryer/cleaner-locks
...
Cleaner locks
2017-07-11 21:32:51 +01:00
Mat Ryer
da5a33a852
New preview image
2017-07-11 21:31:14 +01:00
Mat Ryer
a0446da590
Updated README
2017-07-11 21:30:08 +01: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
c156bf3a75
Merge pull request #19 from matryer/vendoring-18
...
Vendoring 18
2017-07-11 20:58:00 +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
Mat Ryer
be1d7ca86c
Merge pull request #17 from matryer/remove-enabled
...
Remove enabled
2017-07-07 20:09:14 +01:00
Mat Ryer
50ce4e36c7
Improved generated code
2017-07-07 20:04:25 +01:00
Mat Ryer
feae1301cf
Removed confusing Enabled field
2017-07-07 20:00:46 +01:00
Mat Ryer
cd75290540
Merge pull request #16 from matryer/counters
...
Counters and imports
2017-07-07 17:53:15 +01:00
Mat Ryer
1bd8336f70
Added customer importer
2017-07-07 17:49:29 +01:00
Mat Ryer
be50dca16d
removed go 1.6
2017-07-07 16:43:42 +01:00
Mat Ryer
c7ad6da2dd
added more versions
2017-07-07 16:37:38 +01:00
Mat Ryer
22e780f18a
better preview image
2017-07-07 16:19:02 +01:00
Mat Ryer
1144d8ca2f
fixed typos
2017-07-07 16:15:27 +01:00
Mat Ryer
4a63da4c32
new preview image
2017-07-07 15:43:29 +01:00
Mat Ryer
c9e7d899aa
improved comments
2017-07-07 15:37:55 +01:00
Mat Ryer
295237bb43
fixed broken test after changes
2017-07-07 15:13:33 +01:00
Mat Ryer
000d593524
improved the way calls worked
2017-07-07 15:12:32 +01:00
Mat Ryer
09e12df472
added tip
2017-07-07 14:49:48 +01:00
Mat Ryer
bc529fe78c
fixed typo
2017-07-07 14:47:24 +01:00
Mat Ryer
3c6751fed4
de-duped imports
2017-07-07 14:42:53 +01:00
Mat Ryer
ae57d77f27
fixed imports and improved counters
2017-07-07 14:38:24 +01:00
Mat Ryer
3dbdbe86c1
Added concurrency safe counters
2017-07-04 18:09:47 -06:00
Mat Ryer
78083d2e52
Neatened up generated code
2017-07-04 17:48:32 -06:00
Mat Ryer
ac5bfca30c
Merge pull request #13 from piotrrojek/fix-11-chanel-directions-not-handled-correctly
...
Change `html/template` to `text/template`
2017-03-07 13:40:25 +00:00
Piotr Rojek
22752b6056
Fix the issue by using text/template instead of html/template
2017-03-07 14:24:56 +01:00
Piotr Rojek
8e7263835a
Confirm erroneous encoding of "<" sign
2017-03-07 14:21:58 +01:00
Mat Ryer
9153bd984b
Fixes #12
2017-03-07 12:56:15 +00:00
Mat Ryer
9cb6c4999f
removed linefeed
2016-11-26 11:47:46 -08:00
Mat Ryer
2ab8b1850c
improved nil panics to include service name
2016-11-26 11:24:53 -08:00
Mat Ryer
b76739db6c
improved report card
2016-11-06 12:37:57 +00:00
Mat Ryer
6b7993bc61
added Go report card
2016-11-06 12:36:57 +00:00
Mat Ryer
e7fe845de9
Update README.md
2016-10-14 14:01:13 +01:00
Mat Ryer
5456e7d511
added preview screenshot
2016-10-14 10:59:38 +01:00