diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-06-02 00:48:30 +0100 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-06-02 00:48:30 +0100 | 
| commit | 56273b4a56877705c4ea47a42972dc0d9221c00e (patch) | |
| tree | 2b1f79818154d7f2b2e814a267a39a6a398f231d | |
| parent | Add missing drop table (diff) | |
| download | gentoobrowse-api-56273b4a56877705c4ea47a42972dc0d9221c00e.tar.bz2 gentoobrowse-api-56273b4a56877705c4ea47a42972dc0d9221c00e.tar.xz gentoobrowse-api-56273b4a56877705c4ea47a42972dc0d9221c00e.zip | |
No need to expose stuff publically for testing if we just compile them into the test
| -rw-r--r-- | gentoobrowse-api/service/depend.h | 3 | ||||
| -rw-r--r-- | gentoobrowse-api/service/news.h | 3 | ||||
| -rw-r--r-- | gentoobrowse-api/unittests/Jamfile.jam | 4 | 
3 files changed, 4 insertions, 6 deletions
| diff --git a/gentoobrowse-api/service/depend.h b/gentoobrowse-api/service/depend.h index 3acae7f..487c6da 100644 --- a/gentoobrowse-api/service/depend.h +++ b/gentoobrowse-api/service/depend.h @@ -1,7 +1,6 @@  #ifndef GENTOOBROWSE_SERVICE_DEPEND_H  #define GENTOOBROWSE_SERVICE_DEPEND_H -#include <visibility.h>  #include <istream>  #include <vector>  #include <portage-models.h> @@ -15,7 +14,7 @@ namespace Portage {  				Gentoo::StringList when;  			public: -				DLL_PUBLIC static std::vector<Gentoo::DependencyPtr> parse(const std::string &); +				static std::vector<Gentoo::DependencyPtr> parse(const std::string &);  				std::vector<Gentoo::DependencyPtr> ds;  		};  	} diff --git a/gentoobrowse-api/service/news.h b/gentoobrowse-api/service/news.h index ae82bb7..2887b5d 100644 --- a/gentoobrowse-api/service/news.h +++ b/gentoobrowse-api/service/news.h @@ -1,7 +1,6 @@  #ifndef GENTOOBROWSE_SERVICE_DEPEND_H  #define GENTOOBROWSE_SERVICE_DEPEND_H -#include <visibility.h>  #include <istream>  #include <vector>  #include <portage-models.h> @@ -15,7 +14,7 @@ namespace Portage {  			public:  				Gentoo::NewsItemPtr news; -				DLL_PUBLIC static Gentoo::NewsItemPtr parse(const gchar * string, size_t length); +				static Gentoo::NewsItemPtr parse(const gchar * string, size_t length);  		};  	}  } diff --git a/gentoobrowse-api/unittests/Jamfile.jam b/gentoobrowse-api/unittests/Jamfile.jam index c8a440f..e41a194 100644 --- a/gentoobrowse-api/unittests/Jamfile.jam +++ b/gentoobrowse-api/unittests/Jamfile.jam @@ -43,14 +43,14 @@ lib testCommon :  	;  run -	testDepend.cpp +	testDepend.cpp ../service/depend.cpp ../service/utils/lexer.cpp  	: : :  	<define>BOOST_TEST_DYN_LINK  	<library>testCommon  	: testDepend ;  run -	testNews.cpp ../service/utils/fileUtils.cpp +	testNews.cpp ../service/utils/fileUtils.cpp ../service/news.cpp ../service/utils/lexer.cpp  	: : :  	<define>BOOST_TEST_DYN_LINK  	<library>testCommon | 
