Skip to content

Commit

Permalink
Conditionally compiling Java components of State tests.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/incubator/mesos/trunk@1338401 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
benh committed May 14, 2012
1 parent 9b44d4f commit 22bfadc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/state_tests.cpp
Expand Up @@ -34,7 +34,9 @@

#include "state/state.hpp"

#ifdef MESOS_HAS_JAVA
#include "tests/base_zookeeper_test.hpp"
#endif
#include "tests/utils.hpp"

using namespace mesos;
Expand Down Expand Up @@ -236,6 +238,7 @@ TEST_F(LevelDBStateTest, GetGetSetSetGet)
}


#ifdef MESOS_HAS_JAVA
class ZooKeeperStateTest : public mesos::internal::test::BaseZooKeeperTest
{
public:
Expand Down Expand Up @@ -275,3 +278,4 @@ TEST_F(ZooKeeperStateTest, GetGetSetSetGet)
{
GetGetSetSetGet(state);
}
#endif // MESOS_HAS_JAVA

0 comments on commit 22bfadc

Please sign in to comment.