From 1fc603800cf092e0d5750caf01ec46335109cb7f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 14 Dec 2019 23:19:22 +0100 Subject: [PATCH] new is the new old: remove _new from tests --- .gitignore | 2 -- src/bank-lib/.gitignore | 5 +++-- src/bank-lib/Makefile.am | 18 ++++++++---------- .../{test_bank_api_new.c => test_bank_api.c} | 4 ++-- 4 files changed, 13 insertions(+), 16 deletions(-) rename src/bank-lib/{test_bank_api_new.c => test_bank_api.c} (99%) diff --git a/.gitignore b/.gitignore index 5bb95cb46..a4b9928b1 100644 --- a/.gitignore +++ b/.gitignore @@ -37,10 +37,8 @@ src/auditor/taler-auditor src/auditor/taler-auditor-dbinit src/auditor/taler-auditor-sign src/bank-lib/taler-fakebank-run -src/bank-lib/test_bank_api src/bank-lib/test_bank_api_with_fakebank src/bank-lib/test_bank_api_with_fakebank_twisted -src/bank-lib/test_bank_api_with_pybank_new src/bank-lib/test_bank_api_with_pybank_twisted src/lib/test_exchange_api src/lib/test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/live-keys/ diff --git a/src/bank-lib/.gitignore b/src/bank-lib/.gitignore index e8c3b964a..bfd73cca0 100644 --- a/src/bank-lib/.gitignore +++ b/src/bank-lib/.gitignore @@ -1,2 +1,3 @@ -test_bank_api_new -test_bank_api_with_fakebank_new +test_bank_api +test_bank_api_with_fakebank +test_bank_api_with_pybank diff --git a/src/bank-lib/Makefile.am b/src/bank-lib/Makefile.am index de022efcc..35173e48e 100644 --- a/src/bank-lib/Makefile.am +++ b/src/bank-lib/Makefile.am @@ -89,8 +89,8 @@ endif endif check_PROGRAMS = \ - test_bank_api_with_fakebank_new \ - test_bank_api_with_pybank_new + test_bank_api_with_fakebank \ + test_bank_api_with_pybank if HAVE_TWISTER check_PROGRAMS += \ @@ -133,20 +133,18 @@ endif TESTS = \ $(check_PROGRAMS) -test_bank_api_with_pybank_new_SOURCES = \ - test_bank_api_new.c - -test_bank_api_with_pybank_new_LDADD = \ +test_bank_api_with_pybank_SOURCES = \ + test_bank_api.c +test_bank_api_with_pybank_LDADD = \ $(top_builddir)/src/lib/libtalertesting.la \ libtalerbanktesting.la \ -ltalerexchange \ -lgnunetutil \ libtalerbank.la -test_bank_api_with_fakebank_new_SOURCES = \ - test_bank_api_new.c - -test_bank_api_with_fakebank_new_LDADD = \ +test_bank_api_with_fakebank_SOURCES = \ + test_bank_api.c +test_bank_api_with_fakebank_LDADD = \ $(top_builddir)/src/lib/libtalertesting.la \ libtalerbanktesting.la \ -ltalerexchange \ diff --git a/src/bank-lib/test_bank_api_new.c b/src/bank-lib/test_bank_api.c similarity index 99% rename from src/bank-lib/test_bank_api_new.c rename to src/bank-lib/test_bank_api.c index ebcc65ee9..a7b6aef7e 100644 --- a/src/bank-lib/test_bank_api_new.c +++ b/src/bank-lib/test_bank_api.c @@ -18,7 +18,7 @@ */ /** - * @file bank/test_bank_api_new.c + * @file bank/test_bank_api.c * @brief testcase to test bank's HTTP API * interface against the fakebank * @author Marcello Stanisci @@ -239,4 +239,4 @@ main (int argc, } -/* end of test_bank_api_new.c */ +/* end of test_bank_api.c */