File: TestTestSuite.cpp

package info (click to toggle)
unittest%2B%2B 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 684 kB
  • sloc: cpp: 6,468; makefile: 24
file content (11 lines) | stat: -rw-r--r-- 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#include "UnitTest++/UnitTestPP.h"

// We're really testing if it's possible to use the same suite in two files
// to compile and link successfuly (TestTestSuite.cpp has suite with the same name)
// Note: we are outside of the anonymous namespace
SUITE(SameTestSuite)
{
   TEST(DummyTest2)
   {}
}