Overview
Comment:Mise à jour tests pour nouveau comportement
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 3a12d5f2a372f9464fb17343fc9d980f14d41631
User & Date: bohwaz on 2017-03-29 04:49:09
Other Links: branch diff | manifest | tags
Context
2017-04-26
12:41
Outil pour tester les problèmes de compatibilité des plugins avec la version 0.8 check-in: 52c3f195fa user: bohwaz tags: dev
2017-03-29
04:49
Mise à jour tests pour nouveau comportement check-in: 3a12d5f2a3 user: bohwaz tags: dev
04:48
Ajout documentation dans DB.php et ajout de tests pour la DB check-in: 8422f038fe user: bohwaz tags: dev
Changes

Modified tests/unit_tests/01_basic/paths.php from [eb87188fc7] to [802a0c36b5].

1
2
3
4


5
6
7
8
9
10
11
<?php

namespace Garradin;
use KD2\Test;



Test::assert(defined('Garradin\ROOT'));
Test::assert(is_readable(ROOT));

Test::assert(defined('Garradin\PLUGINS_ROOT'));
Test::assert(is_readable(PLUGINS_ROOT));





>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
<?php

namespace Garradin;
use KD2\Test;

require __DIR__ . '/../init.php';

Test::assert(defined('Garradin\ROOT'));
Test::assert(is_readable(ROOT));

Test::assert(defined('Garradin\PLUGINS_ROOT'));
Test::assert(is_readable(PLUGINS_ROOT));

Modified tests/unit_tests/01_basic/version.php from [730bdaf2e0] to [20ce832281].

1
2
3
4


5
6
7
<?php

namespace Garradin;
use KD2\Test;



Test::assert(function_exists('Garradin\garradin_version'));
Test::assert(garradin_version());




>
>



1
2
3
4
5
6
7
8
9
<?php

namespace Garradin;
use KD2\Test;

require __DIR__ . '/../init.php';

Test::assert(function_exists('Garradin\garradin_version'));
Test::assert(garradin_version());