changed to automatically allow regex of test group name.
This commit is contained in:
parent
593edd59f1
commit
487040e99b
1 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ extern "C"
|
||||||
#include "module_name.h"
|
#include "module_name.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_GROUP(FirstTestGroup)
|
TEST_GROUP(test_module_name)
|
||||||
{
|
{
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
|
@ -24,12 +24,12 @@ TEST_GROUP(FirstTestGroup)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
TEST(FirstTestGroup, FirstTest)
|
TEST(test_module_name, FirstTest)
|
||||||
{
|
{
|
||||||
FAIL("Fail me!");
|
FAIL("Fail me!");
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(FirstTestGroup, SecondTest)
|
TEST(test_module_name, SecondTest)
|
||||||
{
|
{
|
||||||
STRCMP_EQUAL("hello", "world");
|
STRCMP_EQUAL("hello", "world");
|
||||||
LONGS_EQUAL(1, 2);
|
LONGS_EQUAL(1, 2);
|
||||||
|
|
Loading…
Add table
Reference in a new issue