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


Manual Reference Pages  -  WEBDAO::TEST (3)

.ds Aq ’

NAME

WebDAO::Test - Class for tests

CONTENTS

SYNOPSIS



    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);



DESCRIPTION

Class for tests

FUNCTIONS

    t_get_engine

Return Engine



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



make_eng [class=><CLASS>, index_file=><file_path>, CW%other_params_to_engine]

Return engine object. Used params:



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



    make_test_lib <engine_object> [, <class_of_testlib>]

Return object of test class <B>class_of_testlibB> (default WebDAO::Test)

METHODS

tree [ CW$contaner ]

return tree of node $contaner . default $engine

    xget

get object by path (query)



     $tlib->xget(/page)



    resolve_path ’/path/Path’

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

Query path

    get_by_path

get object by resolve_path query



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



    eng

get root object

    get_session

Get curren Session object

SEE ALSO

http://webdao.sourceforge.net

AUTHOR

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE

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.

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


perl v5.20.3 WEBDAO::TEST (3) 2015-12-18

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