source: tests/SystemQueue-tests.cc@ 12747

Last change on this file since 12747 was 12747, checked in by hock@…, 10 years ago

Exemplary test that actually involves ariba.

File size: 340 bytes
RevLine 
[12747]1#include "gtest/gtest.h"
2#include "ariba/utility/system/SystemQueue.h"
3
4using namespace ::testing;
5using namespace ariba::utility;
6
7
8TEST(SystemQueue, Test1)
9{
10 SystemQueue& sysq = SystemQueue::instance();
11 SystemQueue& sysq2 = SystemQueue::instance();
12
13 ASSERT_FALSE( sysq.isRunning() );
14 ASSERT_TRUE( &sysq == &sysq2 );
15}
Note: See TracBrowser for help on using the repository browser.