IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 24, 2005, 3:40:04 PM (21 years ago)
Author:
jhoblitt
Message:

rename Nebulous::Server->setup() -> Nebulous::Server->init()
add config params to Nebulous::Server->init()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/t/02_server_setup.t

    r4440 r4873  
    33# Copryight (C) 2004-2005  Joshua Hoblitt
    44#
    5 # $Id: 02_server_setup.t,v 1.3 2005-06-30 02:35:06 jhoblitt Exp $
     5# $Id: 02_server_setup.t,v 1.4 2005-08-25 01:40:04 jhoblitt Exp $
    66
    77use strict;
     
    1818
    1919ok(
    20     Nebulous::Server->setup(
    21         "DBI:mysql:database=test:host=localhost",
    22         "test",
    23         "",
     20    Nebulous::Server->init(
     21        dsn         => "DBI:mysql:database=test:host=localhost",
     22        dbuser      => "test",
     23        dbpasswd    => "",
    2424    ),
    2525    "connect",
     
    2929
    3030eval {
    31     Nebulous::Server->setup(
    32         "DBI:mysql:database=foobar:host=localhost",
    33         "baz",
    34         "boo",
     31    Nebulous::Server->init(
     32        dsn         => "DBI:mysql:database=foobar:host=localhost",
     33        dbuser      => "baz",
     34        dbpasswd    =>"boo",
    3535    );
    3636};
Note: See TracChangeset for help on using the changeset viewer.