Commit 4eab78f3959d28a98103e3a3af734165c208744c
1 parent
f796bd83
Initial revision. Unit test for PatternListBox class in /lib/visualpatterns/PatternListBox.inc
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@285 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
16 additions
and
0 deletions
tests/visualpatterns/listBoxTest.php
0 → 100644
| 1 | +<?php | |
| 2 | +/** | |
| 3 | +* Unit test code from PatternListBox class in /lib/visualpatterns/PatternListBox.inc | |
| 4 | +* | |
| 5 | +* @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa | |
| 6 | +* @date 16 January 2003 | |
| 7 | +*/ | |
| 8 | + | |
| 9 | +require_once("../../config/dmsDefaults.php"); | |
| 10 | +require_once("$default->owl_fs_root/lib/visualpatterns/PatternListBox.inc"); | |
| 11 | + | |
| 12 | +$oPatternListBox = & new PatternListBox("folders", "name", "id", "folders"); | |
| 13 | +echo "<html><head></head><body>" . $oPatternListBox->render() . "</body></html>"; | |
| 14 | + | |
| 15 | + | |
| 16 | +?> | ... | ... |