1 /** 2 Copyright: Copyright (c) 2017, Joakim Brännström. All rights reserved. 3 License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) 4 Author: Joakim Brännström (joakim.brannstrom@gmx.com) 5 */ 6 module dextool_test.component_integration; 7 8 import dextool_test.utility; 9 10 @(testId ~ "shall not crash when a component have a relation to an excluded component") 11 unittest { 12 mixin(EnvSetup(globalTestdir)); 13 makeDextool(testEnv).addInputArg(testData ~ "cli/included/b.hpp").addInputArg( 14 testData ~ "cli/excluded/bug_component_relating_to_excluded_component.hpp") 15 .addArg("--file-exclude=.*/cli/excluded/.*").addIncludeFlag(testData ~ "cli").run; 16 }