| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*************************************** | ||
| 2 | Auteur : Pierre Aubert | ||
| 3 | Mail : pierre.aubert@lapp.in2p3.fr | ||
| 4 | Licence : CeCILL-C | ||
| 5 | ****************************************/ | ||
| 6 | |||
| 7 | |||
| 8 | #include <iostream> | ||
| 9 | #include "phoenix_assert.h" | ||
| 10 | #include "phoenix_check.h" | ||
| 11 | |||
| 12 | #include "gitlab_doc.h" | ||
| 13 | |||
| 14 | ///Test the doc url for gitlab | ||
| 15 | 1 | void testGitlabDoc(){ | |
| 16 | |||
| 17 |
9/9✓ Branch 0 (4→5) taken 1 times.
✓ Branch 2 (7→8) taken 1 times.
✓ Branch 4 (10→11) taken 1 times.
✓ Branch 6 (13→14) taken 1 times.
✓ Branch 8 (14→15) taken 1 times.
✓ Branch 10 (15→16) taken 1 times.
✓ Branch 12 (18→19) taken 1 times.
✓ Branch 14 (19→20) taken 1 times.
✓ Branch 16 (20→21) taken 1 times.
|
10 | phoenix_assert(phoenix_check("Simple gitlab project", |
| 18 | getGitlabDocUrl("https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/PhoenixGenerator"), | ||
| 19 | "https://cta-lapp.pages.in2p3.fr/PHOENIX_LIBS2/PhoenixGenerator/")); | ||
| 20 |
9/9✓ Branch 0 (35→36) taken 1 times.
✓ Branch 2 (38→39) taken 1 times.
✓ Branch 4 (41→42) taken 1 times.
✓ Branch 6 (44→45) taken 1 times.
✓ Branch 8 (45→46) taken 1 times.
✓ Branch 10 (46→47) taken 1 times.
✓ Branch 12 (49→50) taken 1 times.
✓ Branch 14 (50→51) taken 1 times.
✓ Branch 16 (51→52) taken 1 times.
|
10 | phoenix_assert(phoenix_check("truncated gitlab project", |
| 21 | getGitlabDocUrl("https://gitlab.in2p3.fr"), | ||
| 22 | "")); | ||
| 23 |
9/9✓ Branch 0 (66→67) taken 1 times.
✓ Branch 2 (69→70) taken 1 times.
✓ Branch 4 (72→73) taken 1 times.
✓ Branch 6 (75→76) taken 1 times.
✓ Branch 8 (76→77) taken 1 times.
✓ Branch 10 (77→78) taken 1 times.
✓ Branch 12 (80→81) taken 1 times.
✓ Branch 14 (81→82) taken 1 times.
✓ Branch 16 (82→83) taken 1 times.
|
9 | phoenix_assert(phoenix_check("other project url", |
| 24 | getGitlabDocUrl("https://some.url"), | ||
| 25 | "")); | ||
| 26 | 1 | } | |
| 27 | |||
| 28 | |||
| 29 | 1 | int main(int argc, char ** argv){ | |
| 30 | 1 | testGitlabDoc(); | |
| 31 | 1 | return 0; | |
| 32 | } | ||
| 33 | |||
| 34 | |||
| 35 |