Skip to content

Commit

Permalink
Update LDIF tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 4, 2014
1 parent 42415de commit c1613de
Show file tree
Hide file tree
Showing 11 changed files with 202 additions and 335 deletions.
2 changes: 1 addition & 1 deletion turba/lib/Data/Ldif.php
Expand Up @@ -190,7 +190,7 @@ public function exportData($data, $header = false)
* data set after the final step.
* @throws Horde_Data_Exception
*/
public function nextStep($action, $param = array())
public function nextStep($action, array $param = array())
{
switch ($action) {
case Horde_Data::IMPORT_FILE:
Expand Down
26 changes: 12 additions & 14 deletions turba/package.xml
Expand Up @@ -28,7 +28,7 @@
<email>chuck@horde.org</email>
<active>no</active>
</lead>
<date>2014-05-05</date>
<date>2014-06-04</date>
<version>
<release>4.2.0alpha2</release>
<api>4.0.0</api>
Expand Down Expand Up @@ -522,23 +522,21 @@
<dir name="Turba">
<dir name="fixtures">
<file name="az.png" role="test" />
<file name="bug_6518.ldif" role="test" />
<file name="export.ldif" role="test" />
<file name="import.ldif" role="test" />
<file name="importCRLF.ldif" role="test" />
</dir> <!-- /test/Turba/fixtures -->
<dir name="Stub">
<file name="Hooks.php" role="test" />
</dir> <!-- /test/Turba/Stub -->
<dir name="ToDo">
<file name="ApiTest.php" role="test" />
<file name="BrowsePageTest.php" role="test" />
<file name="bug_6518.phpt" role="test" />
<file name="DriverTest.php" role="test" />
<file name="GroupTest.php" role="test" />
<file name="import.ldif" role="test" />
<file name="importCRLF.ldif" role="test" />
<file name="KolabTest.php" role="test" />
<file name="KolabTestBase.php" role="test" />
<file name="ldif_exportFile.phpt" role="test" />
<file name="ldif_importFile.phpt" role="test" />
<file name="ldif_importFileCRLF.phpt" role="test" />
<file name="ListTest.php" role="test" />
<file name="ListViewTest.php" role="test" />
<file name="TestBase.php" role="test" />
Expand Down Expand Up @@ -568,6 +566,7 @@
</dir> <!-- /test/Turba/Unit/Turba -->
<file name="ExportTest.php" role="test" />
<file name="ImportTest.php" role="test" />
<file name="LdifTest.php" role="test" />
</dir> <!-- /test/Turba/Unit -->
<file name="AllTests.php" role="test" />
<file name="Autoload.php" role="test" />
Expand Down Expand Up @@ -1113,26 +1112,25 @@
<install as="Turba/phpunit.xml" name="test/Turba/phpunit.xml" />
<install as="Turba/TestCase.php" name="test/Turba/TestCase.php" />
<install as="Turba/fixtures/az.png" name="test/Turba/fixtures/az.png" />
<install as="Turba/fixtures/bug_6518.ldif" name="test/Turba/fixtures/bug_6518.ldif" />
<install as="Turba/fixtures/export.ldif" name="test/Turba/fixtures/export.ldif" />
<install as="Turba/fixtures/import.ldif" name="test/Turba/fixtures/import.ldif" />
<install as="Turba/fixtures/importCRLF.ldif" name="test/Turba/fixtures/importCRLF.ldif" />
<install as="Turba/Stub/Hooks.php" name="test/Turba/Stub/Hooks.php" />
<install as="Turba/ToDo/ApiTest.php" name="test/Turba/ToDo/ApiTest.php" />
<install as="Turba/ToDo/BrowsePageTest.php" name="test/Turba/ToDo/BrowsePageTest.php" />
<install as="Turba/ToDo/bug_6518.phpt" name="test/Turba/ToDo/bug_6518.phpt" />
<install as="Turba/ToDo/DriverTest.php" name="test/Turba/ToDo/DriverTest.php" />
<install as="Turba/ToDo/GroupTest.php" name="test/Turba/ToDo/GroupTest.php" />
<install as="Turba/ToDo/import.ldif" name="test/Turba/ToDo/import.ldif" />
<install as="Turba/ToDo/importCRLF.ldif" name="test/Turba/ToDo/importCRLF.ldif" />
<install as="Turba/ToDo/KolabTest.php" name="test/Turba/ToDo/KolabTest.php" />
<install as="Turba/ToDo/KolabTestBase.php" name="test/Turba/ToDo/KolabTestBase.php" />
<install as="Turba/ToDo/ldif_exportFile.phpt" name="test/Turba/ToDo/ldif_exportFile.phpt" />
<install as="Turba/ToDo/ldif_importFile.phpt" name="test/Turba/ToDo/ldif_importFile.phpt" />
<install as="Turba/ToDo/ldif_importFileCRLF.phpt" name="test/Turba/ToDo/ldif_importFileCRLF.phpt" />
<install as="Turba/ToDo/ListTest.php" name="test/Turba/ToDo/ListTest.php" />
<install as="Turba/ToDo/ListViewTest.php" name="test/Turba/ToDo/ListViewTest.php" />
<install as="Turba/ToDo/TestBase.php" name="test/Turba/ToDo/TestBase.php" />
<install as="Turba/ToDo/ViewBrowseTest.php" name="test/Turba/ToDo/ViewBrowseTest.php" />
<install as="Turba/ToDo/ViewListTest.php" name="test/Turba/ToDo/ViewListTest.php" />
<install as="Turba/Unit/ExportTest.php" name="test/Turba/Unit/ExportTest.php" />
<install as="Turba/Unit/ImportTest.php" name="test/Turba/Unit/ImportTest.php" />
<install as="Turba/Unit/LdifTest.php" name="test/Turba/Unit/LdifTest.php" />
<install as="Turba/Unit/Driver/Base.php" name="test/Turba/Unit/Driver/Base.php" />
<install as="Turba/Unit/Driver/KolabTest.php" name="test/Turba/Unit/Driver/KolabTest.php" />
<install as="Turba/Unit/Driver/Sql/Base.php" name="test/Turba/Unit/Driver/Sql/Base.php" />
Expand Down Expand Up @@ -1835,7 +1833,7 @@
<stability>
<release>alpha</release>
<api>stable</api></stability>
<date>2014-05-05</date>
<date>2014-06-04</date>
<license uri="http://www.horde.org/licenses/apache">ASL</license>
<notes>
* [jan] Export composite attributes to vCard too.
Expand Down
40 changes: 0 additions & 40 deletions turba/test/Turba/ToDo/bug_6518.phpt

This file was deleted.

98 changes: 0 additions & 98 deletions turba/test/Turba/ToDo/ldif_exportFile.phpt

This file was deleted.

91 changes: 0 additions & 91 deletions turba/test/Turba/ToDo/ldif_importFile.phpt

This file was deleted.

0 comments on commit c1613de

Please sign in to comment.