Added test case for context filter outward direction (#274)

This commit is contained in:
Bartek Kryza
2024-06-13 18:55:30 +02:00
parent 30337c1aa3
commit dca616328c
6 changed files with 150 additions and 4 deletions

69
tests/t00077/t00077.cc Normal file
View File

@@ -0,0 +1,69 @@
namespace clanguml {
namespace t00077 {
enum Color { red, green, blue };
struct F;
struct GG { };
struct G {
GG gg;
};
struct GGG {
G g;
};
struct H { };
struct J { };
struct Base { };
struct A : public Base { };
struct B : public A {
F *f;
Color c;
G g;
/// @uml{composition[0..1:1..*]}
J j;
void a(H *h) { (void)h; }
};
struct C : public B { };
struct D : public C { };
struct EE { };
struct E {
B *b;
EE *ee;
};
struct EEE {
E *e;
};
struct FF { };
struct F {
FF *ff;
};
struct FFF {
F *f;
};
struct I {
void i(B *b) { (void)b; }
};
struct KKK { };
struct K {
B b;
KKK kkk;
};
struct KK {
K k;
};
}
}