File: TestBoilerplate

package info (click to toggle)
libgnome2-perl 1.040-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 576 kB
  • ctags: 17
  • sloc: perl: 1,143; makefile: 52; ansic: 16
file content (13 lines) | stat: -rw-r--r-- 394 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
skip("You don't appear to have the GNOME session manager running.", TESTS)
  unless (-d "$ENV{ HOME }/.gconfd" &&
          -d "$ENV{ HOME }/.gnome2");

skip("Couldn't initialize Gtk2", TESTS)
  unless (Gtk2 -> init_check());

$application = Gnome2::Program -> init("Test", "0.1");

skip("Couldn't connect to the session manager.", TESTS)
  unless (Gnome2::Client -> new() -> connected());

1;