You are here

protected function AttributeTest::showVar in Ubercart 8.4

Debug helper function.

Parameters

mixed $var: Variable to display in the test results.

6 calls to AttributeTest::showVar()
AttributeTest::testAttributeUiAddAttribute in uc_attribute/tests/src/Functional/AttributeTest.php
Tests the "add attribute" user interface.
AttributeTest::testAttributeUiAttributeOptionsAdd in uc_attribute/tests/src/Functional/AttributeTest.php
Tests the "add attribute option" user interface.
AttributeTest::testAttributeUiAttributeOptionsEdit in uc_attribute/tests/src/Functional/AttributeTest.php
Tests the "edit attribute options" user interface.
AttributeTest::testAttributeUiClassAttributeOptionOverview in uc_attribute/tests/src/Functional/AttributeTest.php
Tests the product class attribute option user interface.
AttributeTest::testAttributeUiClassAttributeOverview in uc_attribute/tests/src/Functional/AttributeTest.php
Tests the product class attribute user interface.

... See full list

File

uc_attribute/tests/src/Functional/AttributeTest.php, line 981

Class

AttributeTest
Tests the product attribute API.

Namespace

Drupal\Tests\uc_attribute\Functional

Code

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