File:  [LON-CAPA] / loncom / cfgedittests / test.pl
Revision 1.1: download - view: text, annotated - select for diffs
Tue Nov 25 12:12:34 2003 UTC (20 years, 5 months ago) by foxr
Branches: MAIN
CVS tags: HEAD
Initial revision

#!/usr/bin/perl

#
# $Id: test.pl,v 1.1 2003/11/25 12:12:34 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
# This file is part of the LearningOnline Network with CAPA (LON-CAPA).
#
# LON-CAPA is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# LON-CAPA is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LON-CAPA; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# /home/httpd/html/adm/gpl.txt
#
# http://www.lon-capa.org/
#

#
#  This file runs all of the tests on the configuration file module.

use strict;
use FindBin;
use lib "$FindBin::Bin/..";	# Module under test is up one level.
use Test::Harness;


Test::Harness::verbose = 1;

my @tests; 			# Array of tests to run.
push @tests, qw(./new.t);	# Test new member.
push @tests, qw(./append.t);	# Test append member.
push @tests, qw(./lookup.t);	# Test lookup functions.
push @tests, qw(./delete.t);	# Test delete line functions.
push @tests, qw(./modify.t);	# Test modify line functionality

runtests(@tests);

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>