Browse Source

Add proper headers to class files.

Move the database into specific directory to prepare for multidatabase testing.
re #96

--HG--
rename : test/metadata.db => test/BaseWithSomeBooks/metadata.db
master
Sébastien Lucas 10 years ago
parent
commit
e21198efd5
6 changed files with 24 additions and 0 deletions
  1. BIN
      test/BaseWithOneBook/metadata.db
  2. +0
    -0
      test/BaseWithSomeBooks/metadata.db
  3. +6
    -0
      test/OPDSTest.php
  4. +6
    -0
      test/baseTest.php
  5. +6
    -0
      test/bookTest.php
  6. +6
    -0
      test/pageTest.php

BIN
test/BaseWithOneBook/metadata.db View File


test/metadata.db → test/BaseWithSomeBooks/metadata.db View File


+ 6
- 0
test/OPDSTest.php View File

@@ -1,4 +1,10 @@
<?php
/**
* COPS (Calibre OPDS PHP Server) test file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Sébastien Lucas <sebastien@slucas.fr>
*/

require_once (dirname(__FILE__) . "/config_test.php");
require_once (dirname(__FILE__) . "/../book.php");


+ 6
- 0
test/baseTest.php View File

@@ -1,4 +1,10 @@
<?php
/**
* COPS (Calibre OPDS PHP Server) test file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Sébastien Lucas <sebastien@slucas.fr>
*/

require_once (dirname(__FILE__) . "/config_test.php");
require_once (dirname(__FILE__) . "/../base.php");


+ 6
- 0
test/bookTest.php View File

@@ -1,4 +1,10 @@
<?php
/**
* COPS (Calibre OPDS PHP Server) test file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Sébastien Lucas <sebastien@slucas.fr>
*/
require_once (dirname(__FILE__) . "/config_test.php");
require_once (dirname(__FILE__) . "/../book.php");


+ 6
- 0
test/pageTest.php View File

@@ -1,4 +1,10 @@
<?php
/**
* COPS (Calibre OPDS PHP Server) test file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Sébastien Lucas <sebastien@slucas.fr>
*/
require_once (dirname(__FILE__) . "/config_test.php");
require_once (dirname(__FILE__) . "/../book.php");


Loading…
Cancel
Save