Archive Ensembl HomeArchive Ensembl Home
TestUtils Class Reference

List of all members.

Class Summary

Definition at line 1 of file

Available Methods

public count_rows ()
public debug ()
public Boolean test_getter_setter ()

Method Documentation

public TestUtils::count_rows ( )

Undocumented method

click to view
public TestUtils::debug ( )

Undocumented method

click to view
public Boolean TestUtils::test_getter_setter ( )
  Arg [1]    : Object $object
               The object to test the getter setter on
  Arg [2]    : string $method
               The name of the getter setter method to test
  Arg [3]    : $test_val
               The value to use to test the set behavior of the method.
  Example    : ok(&TestUtils::test_getter_setter($object, 'type', 'value'));
  Description: Tests a getter setter method by attempting to set a value
               and verifying that the newly set value can be retrieved.  The
               old value of the the attribute is restored after the test 
               (providing the method functions correctly).
  Returntype : boolean - true value on success, false on failure
  Exceptions : none
  Caller     : test scripts
click to view

The documentation for this class was generated from the following file: