Skip to content

Commit

Permalink
include bareos.h before gtest
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Jan 2, 2018
1 parent 52690fa commit 382c711
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/findlib/unittests/fstype_test.cc
Expand Up @@ -27,9 +27,9 @@
* Philipp Storz, November 2017
*/

#include "gtest/gtest.h"
#include <stdio.h>
#include "bareos.h"
#include "gtest/gtest.h"
#include "findlib/find.h"

TEST(FstypeTest, RootFs) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/alist_test.cc
Expand Up @@ -27,8 +27,8 @@
* Philipp Storz, November 2017
*/

#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"

struct FILESET {
alist mylist;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/base64_test.cc
Expand Up @@ -30,8 +30,8 @@



#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"

#ifdef HAVE_WIN32
#define BINARYNAME "test_lib.exe"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/bsnprintf_test.cc
Expand Up @@ -26,8 +26,8 @@
*
* Philipp Storz, November 2017
*/
#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"
#include "../lib/protos.h"
#include "protos.h"

Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/dlist_test.cc
Expand Up @@ -27,8 +27,8 @@
* Philipp Storz, November 2017
*/

#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"
#include "../lib/protos.h"
#include "protos.h"

Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/edit_test.cc
Expand Up @@ -28,8 +28,8 @@
* Philipp Storz, November 2017
*/

#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"
#include "../lib/protos.h"
#include "protos.h"

Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/htable_test.cc
Expand Up @@ -26,8 +26,8 @@
*
* Philipp Storz, November 2017
*/
#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"
#include "../lib/protos.h"
#include "protos.h"

Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/junction_test.cc
Expand Up @@ -24,8 +24,8 @@
*/

#ifdef HAVE_WIN32
#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"
#include "winapi.h"

bool CreateJunction(const char *szJunction, const char *szPath);
Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/passphrase_test.cc
Expand Up @@ -24,8 +24,8 @@
*
* Philipp Storz, November 2017
*/
#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"
#define PASSWORDLEN 10

TEST(passphrase,passphrase) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/rblist_test.cc
Expand Up @@ -27,8 +27,8 @@
* Philipp Storz, November 2017
*/

#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"
#include "../lib/protos.h"
#include "protos.h"

Expand Down
2 changes: 1 addition & 1 deletion src/lib/unittests/scan_test.cc
Expand Up @@ -27,8 +27,8 @@
* Philipp Storz, November 2017
*/

#include "gtest/gtest.h"
#include "bareos.h"
#include "gtest/gtest.h"

TEST(scan,scan) {

Expand Down

0 comments on commit 382c711

Please sign in to comment.