| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | |||
| 2 | /*************************************** | ||
| 3 | Auteur : Pierre Aubert | ||
| 4 | Mail : pierre.aubert@lapp.in2p3.fr | ||
| 5 | Licence : CeCILL-C | ||
| 6 | ****************************************/ | ||
| 7 | |||
| 8 | #include "phoenix_assert.h" | ||
| 9 | #include "phoenix_check.h" | ||
| 10 | |||
| 11 | #include "directory_replace_placeholder.h" | ||
| 12 | |||
| 13 | ///Check the directory_replace_placeholder | ||
| 14 | 1 | void checkDirectoryReplacePlaceholder(){ | |
| 15 | 1 | PMapString mapReplacePlaceholder; | |
| 16 |
3/3✓ Branch 0 (3→4) taken 1 times.
✓ Branch 2 (4→5) taken 1 times.
✓ Branch 4 (5→6) taken 1 times.
|
1 | mapReplacePlaceholder["Shadok"] = "Gibi"; |
| 17 |
3/3✓ Branch 0 (7→8) taken 1 times.
✓ Branch 2 (8→9) taken 1 times.
✓ Branch 4 (9→10) taken 1 times.
|
1 | mapReplacePlaceholder["shadok"] = "gibi"; |
| 18 | |||
| 19 |
9/9✓ Branch 0 (13→14) taken 1 times.
✓ Branch 2 (16→17) taken 1 times.
✓ Branch 4 (19→20) taken 1 times.
✓ Branch 6 (20→21) taken 1 times.
✓ Branch 8 (21→22) taken 1 times.
✓ Branch 10 (22→23) taken 1 times.
✓ Branch 12 (23→24) taken 1 times.
✓ Branch 14 (24→25) taken 1 times.
✓ Branch 16 (25→26) taken 1 times.
|
5 | phoenix_assert(directory_replace_placeholder(PPath(GIBI_OUTPUT_DIR), PPath(SHADOK_DIR), mapReplacePlaceholder)); |
| 20 | 1 | } | |
| 21 | |||
| 22 | |||
| 23 | 1 | int main(int argc, char** argv){ | |
| 24 | 1 | checkDirectoryReplacePlaceholder(); | |
| 25 | 1 | return 0; | |
| 26 | } | ||
| 27 | |||
| 28 | |||
| 29 |