summaryrefslogtreecommitdiff
path: root/slicer/test/preprocessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'slicer/test/preprocessor.cpp')
-rw-r--r--slicer/test/preprocessor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/slicer/test/preprocessor.cpp b/slicer/test/preprocessor.cpp
index 430efd9..49c5c88 100644
--- a/slicer/test/preprocessor.cpp
+++ b/slicer/test/preprocessor.cpp
@@ -40,6 +40,12 @@ BOOST_AUTO_TEST_CASE( slicer_test_counts_nullfilestar )
BOOST_REQUIRE_EQUAL(COMPONENTS_IN_TEST_ICE, count);
}
+BOOST_AUTO_TEST_CASE( slicer_test_counts_interfacesOnly )
+{
+ auto count = Slicer::Slicer::Apply(root / "interfaces.ice", NULL);
+ BOOST_REQUIRE_EQUAL(0, count);
+}
+
BOOST_AUTO_TEST_CASE( slicer_test_ice )
{
const fs::path cpp = fs::change_extension(tmp / base, ".cpp");