protected function helpTest($objTestDataArray) { $strValue = $objTestDataArray["Value"]; $strAttrs = QHtml::FormatLength($strValue); $strMessage = $objTestDataArray["Msg"] . " Expected: '" . $objTestDataArray["Expected"] . "'" . " Obtained: '" . $strAttrs . "'"; $this->assertEquals($objTestDataArray["Expected"], $strAttrs, $strMessage); }
/** * Returns the formatted value of type <length>. * See http://www.w3.org/TR/CSS1/#units for more info. * @param string $strValue The number or string to be formatted to the <length> compatible value. * @return string the formatted value of type <length>. * @deprecated use QHtml::formatLength */ public static final function FormatLength($strValue) { return QHtml::FormatLength($strValue); }