diff options
author | Silvio <silvio@devlet.com.br> | 2010-08-18 12:00:21 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-08-18 12:00:21 -0300 |
commit | 70539fe94d67cb4bdde7edce8a26873343d3c240 (patch) | |
tree | 2009cc33ccafa6a6f7c3d66523e6000cca10677d | |
parent | f7b8ba01cb6cbf78d5e687bd17dc5c571fe6c85e (diff) | |
download | cinisis-70539fe94d67cb4bdde7edce8a26873343d3c240.tar.gz cinisis-70539fe94d67cb4bdde7edce8a26873343d3c240.tar.bz2 |
Moving tests to apps folder
-rw-r--r-- | apps/csv.php (renamed from tests/csv.php) | 0 | ||||
-rw-r--r-- | apps/field.php (renamed from tests/field.php) | 0 | ||||
-rw-r--r-- | apps/index.php (renamed from tests/index.php) | 0 | ||||
-rw-r--r-- | apps/malete.php (renamed from tests/malete.php) | 0 | ||||
-rw-r--r-- | apps/phpisis.php (renamed from tests/phpisis.php) | 3 | ||||
-rw-r--r-- | apps/read.php (renamed from tests/read.php) | 8 | ||||
-rw-r--r-- | apps/repetition.php (renamed from tests/repetition.php) | 0 | ||||
-rw-r--r-- | apps/subfield.php (renamed from tests/subfield.php) | 0 | ||||
-rw-r--r-- | apps/test.php (renamed from tests/test.php) | 7 | ||||
-rw-r--r-- | config/config.yaml | 2 |
10 files changed, 6 insertions, 14 deletions
diff --git a/tests/csv.php b/apps/csv.php index e50249b..e50249b 100644 --- a/tests/csv.php +++ b/apps/csv.php diff --git a/tests/field.php b/apps/field.php index b9f9c3a..b9f9c3a 100644 --- a/tests/field.php +++ b/apps/field.php diff --git a/tests/index.php b/apps/index.php index b395b80..b395b80 100644 --- a/tests/index.php +++ b/apps/index.php diff --git a/tests/malete.php b/apps/malete.php index 03451f2..03451f2 100644 --- a/tests/malete.php +++ b/apps/malete.php diff --git a/tests/phpisis.php b/apps/phpisis.php index d04fbd9..75326f1 100644 --- a/tests/phpisis.php +++ b/apps/phpisis.php @@ -7,8 +7,7 @@ <h3>Testing pecl-isis</h3> <?php - $db = isis_open('db/anu10/anu10'); - //$db = isis_open('db/tupi/tupi'); + $db = isis_open('db/dbname/dbname'); print_r(isis_last_mfn($db)); echo '<table>'; diff --git a/tests/read.php b/apps/read.php index 92dc1c3..835ae60 100644 --- a/tests/read.php +++ b/apps/read.php @@ -2,9 +2,7 @@ /** * Cinisis - Isis db reading tool. */ -?> -<?php // Import requisites. require_once '../index.php'; @@ -19,11 +17,11 @@ $display = new CinisisDisplayHelper('Isis Reader'); $configs = array( 0 => array( 'implementation' => 'PhpIsis', - 'database' => 'anu10', + 'database' => 'dbname', ), 1 => array( 'implementation' => 'BiblioIsis', - 'database' => 'anu10', + 'database' => 'dbname', ), ); @@ -49,5 +47,5 @@ foreach ($configs as $config) { ?> -</tr></td></table> +</tr></table> </body> diff --git a/tests/repetition.php b/apps/repetition.php index 37d0889..37d0889 100644 --- a/tests/repetition.php +++ b/apps/repetition.php diff --git a/tests/subfield.php b/apps/subfield.php index 117b8ce..117b8ce 100644 --- a/tests/subfield.php +++ b/apps/subfield.php diff --git a/tests/test.php b/apps/test.php index 5a96e3b..2b1fe5c 100644 --- a/tests/test.php +++ b/apps/test.php @@ -2,14 +2,10 @@ /** * Cinisis - Isis db reading tool. */ -?> -<?php // Import requisites. require_once '../index.php'; -?> -<?php // Draw the document. $display = new CinisisDisplayHelper('Isis Test'); @@ -29,5 +25,4 @@ if ($isis->db) { echo '</pre>'; } -?> -</body> +$display->footer(); diff --git a/config/config.yaml b/config/config.yaml index 0f81b48..a8ab772 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -1,3 +1,3 @@ --- implementation: BiblioIsis -database: film +database: poster |