GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
WebDAO::Test(3) User Contributed Perl Documentation WebDAO::Test(3)

WebDAO::Test - Class for tests

    use WebDAO::Test;

    my $eng = WebDAO::Test::make_engine(
            class      => 'MyClass',
            config     => 't/tests.ini',
           index_file => 'contrib/www/index.xhtml'
          )
    
    my $tlib = new WebDAO::Test::(eng =>$eng);

Class for tests

Return Engine

 my $eng =  t_get_engine ('www/index.html', config=>'tests.ini');

Return engine object. Used params:

  class - Class of engine (default -"WebDAO::Kernel"), 
  index_file - path to index file

Return object of test class class_of_testlib (default "WebDAO::Test")

return tree of node $contaner . default $engine

get object by path (query)

     $tlib->xget('/page')

#[, arg1=>1, arg2=>2]

Query path

get object by resolve_path query

     $tlib->get_by_path('/page')
     $tlib->get_by_path('/page', $root_object)

get root object

Get curren Session object

http://webdao.sourceforge.net

Zahatski Aliaksandr, <zag@cpan.org>

Copyright 2002-2009 by Zahatski Aliaksandr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2015-12-18 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.