You are here

protected function UbercartAttributeTestCase::showVar in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 uc_attribute/uc_attribute.test \UbercartAttributeTestCase::showVar()

Debug helper function.

Parameters

$var:

6 calls to UbercartAttributeTestCase::showVar()
UbercartAttributeTestCase::testAttributeUIAddAttribute in uc_attribute/tests/uc_attribute.test
Tests the "add attribute" user interface.
UbercartAttributeTestCase::testAttributeUIAttributeOptionsAdd in uc_attribute/tests/uc_attribute.test
Tests the "add attribute option" user interface.
UbercartAttributeTestCase::testAttributeUIAttributeOptionsEdit in uc_attribute/tests/uc_attribute.test
Tests the "edit attribute options" user interface.
UbercartAttributeTestCase::testAttributeUIClassAttributeOptionOverview in uc_attribute/tests/uc_attribute.test
Tests the product class attribute option user interface.
UbercartAttributeTestCase::testAttributeUIClassAttributeOverview in uc_attribute/tests/uc_attribute.test
Tests the product class attribute user interface.

... See full list

File

uc_attribute/tests/uc_attribute.test, line 882
Ubercart Attribute Tests.

Class

UbercartAttributeTestCase
SimpleTests for the Ubercart Attributes API.

Code

protected function showVar($var) {
  $this
    ->pass('<pre>' . print_r($var, TRUE) . '</pre>');
}