Test::Singleton

Test::Singleton is a test for Singleton classes.
Download

Test::Singleton Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Toni Prug
  • Publisher web site:
  • http://search.cpan.org/~tpg/Luka-1.08/lib/Luka/Mailer.pm

Test::Singleton Tags


Test::Singleton Description

Test::Singleton is a test for Singleton classes. Test::Singleton is a test for Singleton classes.SYNOPSIS use Test::More tests => 1; use Test::Singleton; is_singleton( "Some::Class", "new", "instance" );** If you are unfamiliar with testing read Test::Tutorial first! **This is asimple, basic module for checking whether a class is a Singleton. A Singleton describes an object class that can have only one instance in any system. An example of a Singleton might be a print spooler or system registry, or any kind of central dispatcher.For a description and discussion of the Singleton class, see "Design Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0-201-63361-2. Requirements: · Perl


Test::Singleton Related Software