From 4ff08bb5811ddfe554e597d129ec48a774364480 Mon Sep 17 00:00:00 2001 From: Reinaldo de Souza Jr Date: Mon, 7 Sep 2015 12:22:33 -0500 Subject: Add tests for directory_handle_command_get --- src/or/dirvote.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/or/dirvote.h') diff --git a/src/or/dirvote.h b/src/or/dirvote.h index dca8540870..966d163088 100644 --- a/src/or/dirvote.h +++ b/src/or/dirvote.h @@ -136,8 +136,10 @@ int dirvote_add_signatures(const char *detached_signatures_body, const char **msg_out); /* Item access */ -const char *dirvote_get_pending_consensus(consensus_flavor_t flav); -const char *dirvote_get_pending_detached_signatures(void); +MOCK_DECL(const char*, dirvote_get_pending_consensus, + (consensus_flavor_t flav)); +MOCK_DECL(const char*, dirvote_get_pending_detached_signatures, (void)); + #define DGV_BY_ID 1 #define DGV_INCLUDE_PENDING 2 #define DGV_INCLUDE_PREVIOUS 4 -- cgit v1.2.3-54-g00ecf