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 This file contains the stage_1 test cases that do not have any other suitable
7 category to put them in.
8 */
9 module dextool_test.stage_1;
10 
11 import std.typecons : Flag, Yes, No;
12 
13 import dextool_test.utility;
14 
15 // dfmt makes it hard to read the test cases.
16 // dfmt off
17 
18 @(testId ~ "shall produce a mock from a derived class. The methods in the produced mock shall have a unique signature. This case test same signature in the derived- and super class where the parameters have different names for the same method")
19 unittest {
20     mixin(EnvSetup(globalTestdir));
21     makeDextool(testEnv)
22         .addInputArg(pluginTestData ~ "stage_1/bug_class_inherit.hpp")
23         .run;
24     dextool_test.makeCompile(testEnv, "g++")
25         .addInclude(pluginTestData ~ "stage_1")
26         .addArg(pluginTestData ~ "stage_1/bug_class_inherit.cpp")
27         .outputToDefaultBinary
28         .addGtestArgs
29         .run;
30 }