Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke committed Jul 8, 2024
1 parent 5c1878c commit ae96da6
Show file tree
Hide file tree
Showing 10 changed files with 2,584 additions and 20 deletions.
18 changes: 10 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,20 @@ gogen:
protos/*

mockgen:
mockgen -source=pkg/datatransfers/data_transfers.go -destination=pkg/mock/pgx/mock_pgxconn_iface.go -package=mock
mockgen -source=pkg/datatransfers/pgx_tx_iface.go -destination=pkg/mock/pgx/mock_pgx_tx.go -package=mock
mockgen -source=./pkg/datatransfers/data_transfers.go -destination=./pkg/mock/pgx/mock_pgxconn_iface.go -package=mock
mockgen -source=./pkg/datatransfers/pgx_tx_iface.go -destination=./pkg/mock/pgx/mock_pgx_tx.go -package=mock
mockgen -source=./pkg/conn/raw.go -destination=./pkg/mock/conn/raw_mock.go -package=mock
mockgen -source=./router/server/server.go -destination=router/mock/server/mock_server.go -package=mock
mockgen -source=./pkg/conn/instance.go -destination=pkg/mock/conn/mock_instance.go -package=mock
mockgen -source=./pkg/shard/shard.go -destination=pkg/mock/shard/mock_shard.go -package=mock
mockgen -source=./pkg/pool/pool.go -destination=pkg/mock/pool/mock_pool.go -package=mock
mockgen -source=./router/server/server.go -destination=./router/mock/server/mock_server.go -package=mock
mockgen -source=./pkg/conn/instance.go -destination=./pkg/mock/conn/mock_instance.go -package=mock
mockgen -source=./pkg/shard/shard.go -destination=./pkg/mock/shard/mock_shard.go -package=mock
mockgen -source=./pkg/pool/pool.go -destination=./pkg/mock/pool/mock_pool.go -package=mock
mockgen -source=./router/client/client.go -destination=./router/mock/client/mock_client.go -package=mock
mockgen -source=./router/poolmgr/pool_mgr.go -destination=./router/mock/poolmgr/mock_pool_mgr.go -package=mock
mockgen -source=./router/qrouter/qrouter.go -destination=./router/mock/qrouter/mock_qrouter.go -package=mock
mockgen -source=./pkg/clientinteractor/interactor.go -destination=pkg/mock/clientinteractor/mock_interactor.go -package=mock
mockgen -source=qdb/qdb.go -destination=qdb/mock/qdb.go -package=mock
mockgen -source=./pkg/clientinteractor/interactor.go -destination=./pkg/mock/clientinteractor/mock_interactor.go -package=mock
mockgen -source=./qdb/qdb.go -destination=./qdb/mock/mock_qdb.go -package=mock
mockgen -source=./router/relay/relay.go -destination=./router/mock/relay/mock_relay.go -package=mock
mockgen -source=./pkg/meta/meta.go -destination=./pkg/mock/meta/mock_meta.go -package=mock

yaccgen:
make -C ./yacc/console gen
Expand Down
Loading

0 comments on commit ae96da6

Please sign in to comment.