File: 03dialog_classes.t

package info (click to toggle)
libcurses-ui-perl 0.9609-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,312 kB
  • sloc: perl: 12,464; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 464 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- perl -*-
use strict;
use Test;

BEGIN { plan tests => 8 }

foreach my $class (qw(
    Curses::UI::Dialog::Basic
    Curses::UI::Dialog::Filebrowser
    Curses::UI::Dialog::Error
    Curses::UI::Dialog::Status
    Curses::UI::Dialog::Calendar
    Curses::UI::Dialog::Dirbrowser
    Curses::UI::Dialog::Progress 
    Curses::UI::Dialog::Question
		      )) {

    my $file = $class;
    $file =~ s|::|/|g;
    $file .= '.pm';

    require $file;
    ok(1);
}