Browse Source

Fixed tests after introducing util/.

pull/239/head
EinMByte 10 years ago
parent
commit
9e5c33bce7
  1. 2
      filelist.mk
  2. 6
      tests/Base64.cpp
  3. 2
      tests/Utility.cpp

2
filelist.mk

@ -28,4 +28,4 @@ LIB_SRC := $(COMMON_SRC) \ @@ -28,4 +28,4 @@ LIB_SRC := $(COMMON_SRC) \
api.cpp
TESTS_SRC := $(COMMON_SRC) \
tests/Utility.cpp tests/Identity.cpp tests/Data.cpp
tests/Utility.cpp tests/Identity.cpp tests/Base64.cpp

6
tests/Data.cpp → tests/Base64.cpp

@ -1,11 +1,11 @@ @@ -1,11 +1,11 @@
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include "../Identity.h"
#include "util/base64.h"
BOOST_AUTO_TEST_SUITE(DataTests)
BOOST_AUTO_TEST_SUITE(Base64and32Tests)
using namespace i2p::data;
using namespace i2p::util;
BOOST_AUTO_TEST_CASE(Base64EncodeEmpty)
{

2
tests/Utility.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#include <boost/test/unit_test.hpp>
#include "../util.h"
#include "util/util.h"
BOOST_AUTO_TEST_SUITE(UtilityTests)

Loading…
Cancel
Save