ApTest::Base::Parent - base class for connecting an object to its parent Suite object
Shane P. McCarron <shane@aptest.com>
Copyright 2001-2013 Applied Testing and Technology, Inc. All Rights Reserved.
use ApTest::Base::Parent ; use base qw( ApTest::Base::Parent ) ;
$parent = $childObject->parentSuite( [ $ref ] ) ;
$ref is an optional reference to an existing suite object.
If no ref is provided, and one is not already created, and the current object has a Suite attribute, creates a suite object for that suite and associates it.
Returns a reference to a Suite object, or undef if no Suite object is available.
$oldRef = $childObject->parentSuiteClear() ;
Clears out the parent suite reference. Used when serializing an object. Returns the previous value of the attribute.
$childObject->parentSuiteRelease() ;
Releases the parent suite object if it was acquired by us.
$status = $ref->haveParentSuite ;
Returns true if this object is attached to a parent suite object.
$reqH = $ref->reqDB() ;
Returns a reference to a Results object from the parent Suite .
Returns a reference to a ReqFields object from the parent Suite.
Returns a reference to a schema object from the parent suite.
$session->suite(); $session->suite(userName);
returns a string containing the name of the associated test suite.
$sdb = $ref->suiteDB();
Returns a handle to a suiteDB object.
$tdb = $ref->testDB() ;
Returns a handle to test database for the suite.
Returns a reference to a hash of fullnames by user id.
Returns a handle to a variableSet object.
Copyright © 2000-2013 Applied Testing and Technology, Inc. All rights reserved.