Updated test cases documentation
This commit is contained in:
@@ -22,6 +22,116 @@ diagrams:
|
||||
- "' t40003 test include diagram"
|
||||
```
|
||||
## Source code
|
||||
File `tests/t40003/src/dependencies/t2.cc`
|
||||
```cpp
|
||||
#include "../../include/dependencies/t3.h"
|
||||
#include "../../include/dependencies/t5.h"
|
||||
|
||||
namespace clanguml::t40003::dependencies {
|
||||
void t()
|
||||
{
|
||||
t3();
|
||||
t5();
|
||||
}
|
||||
}
|
||||
```
|
||||
File `tests/t40003/src/dependants/t1.cc`
|
||||
```cpp
|
||||
#include "../../include/dependants/t3.h"
|
||||
#include "../../include/dependants/t4.h"
|
||||
|
||||
namespace clanguml::t40003::dependants {
|
||||
void t()
|
||||
{
|
||||
t3();
|
||||
t4();
|
||||
}
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependencies/t2.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
#include "t1.h"
|
||||
|
||||
namespace clanguml::t40003::dependencies {
|
||||
void t2() { t1(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependencies/t1.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
namespace clanguml::t40003::dependencies {
|
||||
void t1() { }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependencies/t6.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
#include "t1.h"
|
||||
|
||||
namespace clanguml::t40003::dependencies {
|
||||
void t6() { t1(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependencies/t3.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
#include "t2.h"
|
||||
|
||||
namespace clanguml::t40003::dependencies {
|
||||
void t3() { t2(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependencies/t5.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
#include "t1.h"
|
||||
|
||||
namespace clanguml::t40003::dependencies {
|
||||
void t5() { t1(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependants/t2.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
#include "t1.h"
|
||||
|
||||
namespace clanguml::t40003::dependants {
|
||||
void t2() { t1(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependants/t4.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
namespace clanguml::t40003::dependants {
|
||||
void t4() { }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependants/t1.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
namespace clanguml::t40003::dependants {
|
||||
void t1() { }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependants/t3.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
#include "t2.h"
|
||||
|
||||
namespace clanguml::t40003::dependants {
|
||||
void t3() { t2(); }
|
||||
}
|
||||
```
|
||||
## Generated PlantUML diagrams
|
||||

|
||||
## Generated Mermaid diagrams
|
||||
|
||||
Reference in New Issue
Block a user