fix: tests
This commit is contained in:
parent
a913be6b52
commit
72fa10208e
25 changed files with 278 additions and 0 deletions
10
tests/results/test/01_6integer_multi_mandatory.adoc
Normal file
10
tests/results/test/01_6integer_multi_mandatory.adoc
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
|
|
||||||
|
|
||||||
|
**var** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `basic` `mandatory` `unique` `multiple` |
|
||||||
|
The first variable.
|
||||||
|
|====
|
||||||
|
|
||||||
4
tests/results/test/01_6integer_multi_mandatory.gitlab.md
Normal file
4
tests/results/test/01_6integer_multi_mandatory.gitlab.md
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|-----------------------------------------------------------------------------------------------------------------------------------------|---------------------|
|
||||||
|
| **var**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | The first variable. |
|
||||||
|
|
||||||
9
tests/results/test/01_6integer_multi_mandatory.html
Normal file
9
tests/results/test/01_6integer_multi_mandatory.html
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>var</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>integer</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark>unique</mark> <mark>multiple</mark></td><td>The first variable.</td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
32
tests/results/test/01_6integer_multi_mandatory.json
Normal file
32
tests/results/test/01_6integer_multi_mandatory.json
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
"var": {
|
||||||
|
"type": "variable",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "type",
|
||||||
|
"name": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "unique"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "multiple",
|
||||||
|
"name": "multiple"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"path": "var",
|
||||||
|
"names": [
|
||||||
|
"var"
|
||||||
|
],
|
||||||
|
"description": "The first variable."
|
||||||
|
}
|
||||||
|
}
|
||||||
4
tests/results/test/01_6integer_multi_mandatory.md
Normal file
4
tests/results/test/01_6integer_multi_mandatory.md
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **var**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | The first variable. |
|
||||||
|
|
||||||
7
tests/results/test/01_6integer_multi_mandatory.sh
Normal file
7
tests/results/test/01_6integer_multi_mandatory.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mvar[0m │ The first variable. │
|
||||||
|
│ [1;7m integer [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m unique[0m │ │
|
||||||
|
│ [1;7mmultiple [0m │ │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
1
tests/results/test/warnings_01_6integer_multi_mandatory
Normal file
1
tests/results/test/warnings_01_6integer_multi_mandatory
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
14
tests/results/test_examples/01_6integer_multi_mandatory.md
Normal file
14
tests/results/test_examples/01_6integer_multi_mandatory.md
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
var:
|
||||||
|
- 42
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
var:
|
||||||
|
- 42
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
== Variables for "Rougail"
|
||||||
|
|
||||||
|
**rougail**
|
||||||
|
|
||||||
|
`basic`
|
||||||
|
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
|
|
||||||
|
|
||||||
|
**rougail.var** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `basic` `mandatory` `unique` `multiple` |
|
||||||
|
The first variable.
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
== New variable
|
||||||
|
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
|
|
||||||
|
|
||||||
|
**rougail.var** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `basic` `mandatory` `unique` `multiple` |
|
||||||
|
The first variable.
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
<details><summary>New variable</summary>
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|
|
||||||
|
| **rougail.var**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | The first variable. |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<h1>New variable</h1>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>rougail.var</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>integer</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark>unique</mark> <mark>multiple</mark></td><td>The first variable.</td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
# New variable
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **rougail.var**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | The first variable. |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
|
||||||
|
[1;4;96mNew variable[0m
|
||||||
|
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mrougail.var[0m │ The first variable. │
|
||||||
|
│ [1;7m integer [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m unique[0m │ │
|
||||||
|
│ [1;7mmultiple [0m │ │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<details><summary>Rougail</summary>
|
||||||
|
|
||||||
|
>>> [!note] Informations
|
||||||
|
**rougail**<br>`basic`
|
||||||
|
|
||||||
|
|
||||||
|
>>>
|
||||||
|
| Variable | Description |
|
||||||
|
|-------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|
|
||||||
|
| **rougail.var**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | The first variable. |
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
<h1>Variables for "Rougail"</h1>
|
||||||
|
|
||||||
|
<b>rougail</b>
|
||||||
|
|
||||||
|
<mark>basic</mark>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>rougail.var</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>integer</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark>unique</mark> <mark>multiple</mark></td><td>The first variable.</td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
{
|
||||||
|
"rougail": {
|
||||||
|
"type": "namespace",
|
||||||
|
"informations": {
|
||||||
|
"path": "rougail",
|
||||||
|
"names": [
|
||||||
|
"rougail"
|
||||||
|
],
|
||||||
|
"description": "Rougail",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "basic"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"var": {
|
||||||
|
"type": "variable",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "type",
|
||||||
|
"name": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mode",
|
||||||
|
"name": "basic"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "unique"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "multiple",
|
||||||
|
"name": "multiple"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"path": "rougail.var",
|
||||||
|
"names": [
|
||||||
|
"var"
|
||||||
|
],
|
||||||
|
"description": "The first variable."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
10
tests/results/test_namespace/01_6integer_multi_mandatory.md
Normal file
10
tests/results/test_namespace/01_6integer_multi_mandatory.md
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# Variables for "Rougail"
|
||||||
|
|
||||||
|
**rougail**
|
||||||
|
|
||||||
|
`basic`
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **rougail.var**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | The first variable. |
|
||||||
|
|
||||||
22
tests/results/test_namespace/01_6integer_multi_mandatory.sh
Normal file
22
tests/results/test_namespace/01_6integer_multi_mandatory.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
|
||||||
|
[1;4;96mVariables for [0m[1;4;96m"Rougail"[0m
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[1mrougail[0m
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[1;7m basic [0m
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mrougail.var[0m │ The first variable. │
|
||||||
|
│ [1;7m integer [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m unique[0m │ │
|
||||||
|
│ [1;7mmultiple [0m │ │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
var:
|
||||||
|
- 42
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
var:
|
||||||
|
- 42
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **rougail.var**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` `unique` `multiple` | The first variable. |
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
Loading…
Reference in a new issue