You are here

function UbercartAttributeTestCase::showVar in Ubercart 6.2

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

Creates an attribute option.

Parameters

$data:

$save:

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

... See full list

File

uc_attribute/uc_attribute.test, line 866
Ubercart Attribute Tests

Class

UbercartAttributeTestCase
SimpleTests for the Ubercart Attributes API.

Code

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