Skip to content

Commit

Permalink
Fix gomocks (#3606)
Browse files Browse the repository at this point in the history
This was broken with the monolith service commit:
#3590
  • Loading branch information
lukedirtwalker authored Jan 14, 2020
1 parent 1352c6c commit ea5caf5
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 19 deletions.
5 changes: 2 additions & 3 deletions go/cs/beacon/mock_beacon/beacon.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions go/cs/beaconing/mock_beaconing/beaconing.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions go/cs/keepalive/mock_keepalive/keepalive.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions go/cs/revocation/mock_revocation/revocation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions go/cs/segreq/mock_segreq/segreq.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions go/cs/segutil/mock_segutil/segutil.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions tools/gomocks
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ STD_LIB_MOCKS_DIRECTORY = os.path.join("go", "lib", "mocks")

MOCK_TARGETS = [
("net", "Addr,Conn,PacketConn"),
(SCION_PACKAGE_PREFIX + "/go/beacon_srv/internal/beacon", "DB,Transaction"),
(SCION_PACKAGE_PREFIX + "/go/beacon_srv/internal/beaconing",
(SCION_PACKAGE_PREFIX + "/go/cs/beacon", "DB,Transaction"),
(SCION_PACKAGE_PREFIX + "/go/cs/beaconing",
"BeaconInserter,BeaconProvider,SegmentProvider"),
(SCION_PACKAGE_PREFIX + "/go/beacon_srv/internal/keepalive", "IfStatePusher,RevDropper"),
(SCION_PACKAGE_PREFIX + "/go/beacon_srv/internal/revocation", "Store"),
(SCION_PACKAGE_PREFIX + "/go/cs/keepalive", "IfStatePusher,RevDropper"),
(SCION_PACKAGE_PREFIX + "/go/cs/revocation", "Store"),
(SCION_PACKAGE_PREFIX + "/go/cs/segreq", "LocalInfo"),
(SCION_PACKAGE_PREFIX + "/go/cs/segutil", "Policy"),
(SCION_PACKAGE_PREFIX + "/go/hidden_path_srv/internal/registration", "Validator"),
(SCION_PACKAGE_PREFIX + "/go/hidden_path_srv/internal/hpsegreq", "Fetcher"),
(SCION_PACKAGE_PREFIX + "/go/lib/ctrl/seg", "Signer"),
Expand Down Expand Up @@ -64,8 +66,6 @@ MOCK_TARGETS = [
(SCION_PACKAGE_PREFIX + "/go/lib/topology", "Topology"),
(SCION_PACKAGE_PREFIX + "/go/lib/periodic/internal/metrics", "ExportMetric"),
(SCION_PACKAGE_PREFIX + "/go/lib/xtest", "Callback"),
(SCION_PACKAGE_PREFIX + "/go/path_srv/internal/segreq", "LocalInfo"),
(SCION_PACKAGE_PREFIX + "/go/path_srv/internal/segutil", "Policy"),
(SCION_PACKAGE_PREFIX + "/go/sciond/internal/fetcher", "Policy"),
(SCION_PACKAGE_PREFIX + "/go/sig/internal/pathmgr", "Policy,Querier,Resolver"),
(SCION_PACKAGE_PREFIX + "/go/sig/egress/iface", "Session"),
Expand Down

0 comments on commit ea5caf5

Please sign in to comment.