Updated test cases documentation
This commit is contained in:
@@ -11,12 +11,19 @@ diagrams:
|
||||
- src/dependencies/t2.cc
|
||||
# Render the paths relative to this directory
|
||||
include:
|
||||
# Include only files which depend on t1.h
|
||||
# Include files which depend on t1.h
|
||||
dependants:
|
||||
- include/dependants/t1.h
|
||||
# and dependencies of t2.cc
|
||||
dependencies:
|
||||
- src/dependencies/t2.cc
|
||||
exclude:
|
||||
# Exclude files which depend on t10.h
|
||||
dependants:
|
||||
- include/dependants/t10.h
|
||||
# and other dependencies of t8.h
|
||||
dependencies:
|
||||
- include/dependencies/t8.h
|
||||
plantuml:
|
||||
before:
|
||||
- "' t40003 test include diagram"
|
||||
@@ -32,6 +39,7 @@ void t()
|
||||
{
|
||||
t3();
|
||||
t5();
|
||||
t8();
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -58,6 +66,16 @@ namespace clanguml::t40003::dependencies {
|
||||
void t3() { t2(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependencies/t8.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
#include "t7.h"
|
||||
|
||||
namespace clanguml::t40003::dependencies {
|
||||
void t8() { t7(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependencies/t1.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
@@ -81,9 +99,14 @@ File `tests/t40003/include/dependencies/t5.h`
|
||||
#pragma once
|
||||
|
||||
#include "t1.h"
|
||||
#include "t8.h"
|
||||
|
||||
namespace clanguml::t40003::dependencies {
|
||||
void t5() { t1(); }
|
||||
void t5()
|
||||
{
|
||||
t1();
|
||||
t8();
|
||||
}
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependencies/t2.h`
|
||||
@@ -96,6 +119,14 @@ namespace clanguml::t40003::dependencies {
|
||||
void t2() { t1(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependencies/t7.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
namespace clanguml::t40003::dependencies {
|
||||
void t7() { }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependants/t3.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
@@ -106,6 +137,16 @@ namespace clanguml::t40003::dependants {
|
||||
void t3() { t2(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependants/t10.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
#include "t3.h"
|
||||
|
||||
namespace clanguml::t40003::dependants {
|
||||
void t10() { t3(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependants/t4.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
@@ -122,6 +163,16 @@ namespace clanguml::t40003::dependants {
|
||||
void t1() { }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependants/t11.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
|
||||
#include "t10.h"
|
||||
|
||||
namespace clanguml::t40003::dependants {
|
||||
void t11() { t10(); }
|
||||
}
|
||||
```
|
||||
File `tests/t40003/include/dependants/t2.h`
|
||||
```cpp
|
||||
#pragma once
|
||||
@@ -150,12 +201,12 @@ void t2() { t1(); }
|
||||
{
|
||||
"display_name": "src/dependants/t1.cc",
|
||||
"file_kind": "implementation",
|
||||
"id": "1215324434184692437",
|
||||
"id": "9722595473477539496",
|
||||
"name": "t1.cc",
|
||||
"type": "file"
|
||||
}
|
||||
],
|
||||
"id": "1128556599972003761",
|
||||
"id": "9028452799776030089",
|
||||
"name": "dependants",
|
||||
"type": "folder"
|
||||
},
|
||||
@@ -165,17 +216,17 @@ void t2() { t1(); }
|
||||
{
|
||||
"display_name": "src/dependencies/t2.cc",
|
||||
"file_kind": "implementation",
|
||||
"id": "2215849176605856058",
|
||||
"id": "17726793412846848469",
|
||||
"name": "t2.cc",
|
||||
"type": "file"
|
||||
}
|
||||
],
|
||||
"id": "2015386828772336316",
|
||||
"id": "16123094630178690530",
|
||||
"name": "dependencies",
|
||||
"type": "folder"
|
||||
}
|
||||
],
|
||||
"id": "1387619747296316447",
|
||||
"id": "11100957978370531577",
|
||||
"name": "src",
|
||||
"type": "folder"
|
||||
},
|
||||
@@ -188,7 +239,7 @@ void t2() { t1(); }
|
||||
{
|
||||
"display_name": "include/dependants/t3.h",
|
||||
"file_kind": "header",
|
||||
"id": "60001020671836182",
|
||||
"id": "480008165374689457",
|
||||
"is_system": false,
|
||||
"name": "t3.h",
|
||||
"type": "file"
|
||||
@@ -196,7 +247,7 @@ void t2() { t1(); }
|
||||
{
|
||||
"display_name": "include/dependants/t2.h",
|
||||
"file_kind": "header",
|
||||
"id": "1921842892192045013",
|
||||
"id": "15374743137536360107",
|
||||
"is_system": false,
|
||||
"name": "t2.h",
|
||||
"type": "file"
|
||||
@@ -204,13 +255,13 @@ void t2() { t1(); }
|
||||
{
|
||||
"display_name": "include/dependants/t1.h",
|
||||
"file_kind": "header",
|
||||
"id": "2295271780650013565",
|
||||
"id": "18362174245200108524",
|
||||
"is_system": false,
|
||||
"name": "t1.h",
|
||||
"type": "file"
|
||||
}
|
||||
],
|
||||
"id": "1763526330848915994",
|
||||
"id": "14108210646791327956",
|
||||
"name": "dependants",
|
||||
"type": "folder"
|
||||
},
|
||||
@@ -220,7 +271,7 @@ void t2() { t1(); }
|
||||
{
|
||||
"display_name": "include/dependencies/t3.h",
|
||||
"file_kind": "header",
|
||||
"id": "1226843223635488673",
|
||||
"id": "9814745789083909391",
|
||||
"is_system": false,
|
||||
"name": "t3.h",
|
||||
"type": "file"
|
||||
@@ -228,7 +279,7 @@ void t2() { t1(); }
|
||||
{
|
||||
"display_name": "include/dependencies/t2.h",
|
||||
"file_kind": "header",
|
||||
"id": "1849348825646635129",
|
||||
"id": "14794790605173081035",
|
||||
"is_system": false,
|
||||
"name": "t2.h",
|
||||
"type": "file"
|
||||
@@ -236,7 +287,7 @@ void t2() { t1(); }
|
||||
{
|
||||
"display_name": "include/dependencies/t1.h",
|
||||
"file_kind": "header",
|
||||
"id": "1120257488305564427",
|
||||
"id": "8962059906444515418",
|
||||
"is_system": false,
|
||||
"name": "t1.h",
|
||||
"type": "file"
|
||||
@@ -244,18 +295,18 @@ void t2() { t1(); }
|
||||
{
|
||||
"display_name": "include/dependencies/t5.h",
|
||||
"file_kind": "header",
|
||||
"id": "2106129159239499468",
|
||||
"id": "16849033273915995749",
|
||||
"is_system": false,
|
||||
"name": "t5.h",
|
||||
"type": "file"
|
||||
}
|
||||
],
|
||||
"id": "1833478793852674517",
|
||||
"id": "14667830350821396139",
|
||||
"name": "dependencies",
|
||||
"type": "folder"
|
||||
}
|
||||
],
|
||||
"id": "989412417490706876",
|
||||
"id": "7915299339925655008",
|
||||
"name": "include",
|
||||
"type": "folder"
|
||||
}
|
||||
@@ -263,48 +314,58 @@ void t2() { t1(); }
|
||||
"name": "t40003_include",
|
||||
"relationships": [
|
||||
{
|
||||
"destination": "60001020671836182",
|
||||
"source": "1215324434184692437",
|
||||
"destination": "480008165374689457",
|
||||
"source": "9722595473477539496",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "1882940911178525353",
|
||||
"source": "1215324434184692437",
|
||||
"destination": "15063527289428202824",
|
||||
"source": "9722595473477539496",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "1226843223635488673",
|
||||
"source": "2215849176605856058",
|
||||
"destination": "9814745789083909391",
|
||||
"source": "17726793412846848469",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "2106129159239499468",
|
||||
"source": "2215849176605856058",
|
||||
"destination": "16849033273915995749",
|
||||
"source": "17726793412846848469",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "1921842892192045013",
|
||||
"source": "60001020671836182",
|
||||
"destination": "15374743137536360107",
|
||||
"source": "480008165374689457",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "2295271780650013565",
|
||||
"source": "1921842892192045013",
|
||||
"destination": "18362174245200108524",
|
||||
"source": "15374743137536360107",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "1849348825646635129",
|
||||
"source": "1226843223635488673",
|
||||
"destination": "14794790605173081035",
|
||||
"source": "9814745789083909391",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "1120257488305564427",
|
||||
"source": "1849348825646635129",
|
||||
"destination": "8962059906444515418",
|
||||
"source": "14794790605173081035",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "1120257488305564427",
|
||||
"source": "2106129159239499468",
|
||||
"destination": "8962059906444515418",
|
||||
"source": "16849033273915995749",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "15065692964616746228",
|
||||
"source": "16849033273915995749",
|
||||
"type": "association"
|
||||
},
|
||||
{
|
||||
"destination": "7559120824700944250",
|
||||
"source": "15065692964616746228",
|
||||
"type": "association"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user