Last change
on this file since 12747 was 12747, checked in by hock@…, 11 years ago |
Exemplary test that actually involves ariba.
|
File size:
340 bytes
|
Rev | Line | |
---|
[12747] | 1 | #include "gtest/gtest.h"
|
---|
| 2 | #include "ariba/utility/system/SystemQueue.h"
|
---|
| 3 |
|
---|
| 4 | using namespace ::testing;
|
---|
| 5 | using namespace ariba::utility;
|
---|
| 6 |
|
---|
| 7 |
|
---|
| 8 | TEST(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.