summaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb_fees.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-03 19:23:34 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-03 19:24:08 +0100
commit4d2faa5ec92213efc4ee40f707ab0ad3615e5433 (patch)
tree4bb94dba0c77cca9d0ba6b7fb223bc9476edc08e /src/exchangedb/test_exchangedb_fees.c
parentd06dac625072cad6888c9d0a77f6bd19faa5f2d9 (diff)
downloadexchange-4d2faa5ec92213efc4ee40f707ab0ad3615e5433.tar.gz
exchange-4d2faa5ec92213efc4ee40f707ab0ad3615e5433.tar.bz2
exchange-4d2faa5ec92213efc4ee40f707ab0ad3615e5433.zip
changing wire plugin specification from [exchange]WIREFORMAT to [exchange-wire-PLUGIN]enable=YES/NO
Diffstat (limited to 'src/exchangedb/test_exchangedb_fees.c')
-rw-r--r--src/exchangedb/test_exchangedb_fees.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/exchangedb/test_exchangedb_fees.c b/src/exchangedb/test_exchangedb_fees.c
new file mode 100644
index 000000000..e23879ead
--- /dev/null
+++ b/src/exchangedb/test_exchangedb_fees.c
@@ -0,0 +1,46 @@
+/*
+ This file is part of TALER
+ Copyright (C) 2017 Inria & GNUnet e. V.
+
+ TALER is free software; you can redistribute it and/or modify it under the
+ terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 3, or (at your option) any later version.
+
+ TALER is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along with
+ TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+*/
+/**
+ * @file exchangedb/test_exchangedb_fees.c
+ * @brief test cases for functions in exchangedb/exchangedb_fees.c
+ * @author Christian Grothoff
+ */
+#include "platform.h"
+#include "gnunet/gnunet_util_lib.h"
+#include "taler_signatures.h"
+#include "taler_exchangedb_lib.h"
+
+
+int
+main (int argc,
+ const char *const argv[])
+{
+ struct GNUNET_CONFIGURATION_Handle *cfg;
+ int ret;
+
+ ret = 1;
+ GNUNET_log_setup ("test-exchangedb-fees",
+ "WARNING",
+ NULL);
+ cfg = GNUNET_CONFIGURATION_create ();
+
+ GNUNET_CONFIGURATION_set_value_string (cfg,
+ "exchangedb",
+ "AUDITOR_BASE_DIR",
+ tmpdir);
+ ret = 0;
+ return ret;
+}