You are here

public function SlickTestCase::getPrintedValue in Slick Carousel 7.2

Test configuration options.

Parameters

mixed $value: The given value.

Return value

mixed Returns printed value.

2 calls to SlickTestCase::getPrintedValue()
SlickTestCase::testOptionSetCrud in tests/slick.test
Tests Slick optionset CRUD.
SlickTestCase::testOptionSetForm in tests/slick.test
Tests Slick optionset form.

File

tests/slick.test, line 306
Provides test cases for Slick carousel based on flexslider.test.

Class

SlickTestCase
Tests the Slick optionsets, configuration options and permission controls.

Code

public function getPrintedValue($value) {
  $read_value = $value === FALSE ? 'FALSE' : ($value === TRUE ? 'TRUE' : $value);
  $read_value = empty($read_value) ? 'NULL' : $read_value;
  return $read_value;
}