Skip to content

Commit

Permalink
Merge 3dfb074 into a556cb1
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed May 21, 2020
2 parents a556cb1 + 3dfb074 commit 5b0aa97
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions fused-src/Makefile
Expand Up @@ -4,5 +4,8 @@
fused:
make -C ../tools/fused

clean:
make -C ../tools/fused clean

ls:
ls -lh .
4 changes: 3 additions & 1 deletion include/iutest_typed_tests.hpp
Expand Up @@ -6,7 +6,7 @@
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2011-2019, Takazumi Shirayanagi\n
* Copyright (C) 2011-2020, Takazumi Shirayanagi\n
* This software is released under the new BSD License,
* see LICENSE
*/
Expand Down Expand Up @@ -225,6 +225,8 @@
static ::iutest::detail::TypedTestCasePState IIUT_TYPED_TEST_CASE_PSTATE_NAME_(testcase_)

#define IIUT_TYPED_TEST_P_(testcase_, testname_) \
IUTEST_STATIC_ASSERT_MSG(sizeof(IUTEST_PP_TOSTRING(testcase_)) > 1, "testcase_ must not be empty"); \
IUTEST_STATIC_ASSERT_MSG(sizeof(IUTEST_PP_TOSTRING(testname_)) > 1, "testname_ must not be empty"); \
namespace IIUT_TYPED_TEST_P_NAMESPACE_(testcase_) { \
template<typename iutest_TypeParam> \
class testname_ : public testcase_<iutest_TypeParam> { \
Expand Down
3 changes: 2 additions & 1 deletion projects/vscode/iutest.code-workspace
Expand Up @@ -111,5 +111,6 @@
}
],
"compounds": []
}
},
"C_Cpp.default.cppStandard": "c++17",
}
5 changes: 5 additions & 0 deletions test/static_assertion_failure_tests.cpp
Expand Up @@ -42,4 +42,9 @@ IUTEST(StaticAssertTypeEqTest, Fail3)
IUTEST_STATIC_ASSERT(test_struct<false, false>::value);
}

IUTEST(,)
{

}

#endif

0 comments on commit 5b0aa97

Please sign in to comment.