html.testing

Classes


Public Protected Private

Global Functions

goog.html.testing.newSafeHtmlForTest(htmlopt_dir) !goog.html.SafeHtml
Creates a SafeHtml wrapping the given value. No validation is performed. This function is for use in tests only and must never be used in production code.
Arguments:
html : string
The string to wrap into a SafeHtml.
opt_dir : ?goog.i18n.bidi.Dir=
The optional directionality of the SafeHtml to be constructed. A null or undefined value signifies an unknown directionality.
Returns: !goog.html.SafeHtml  No description.
code »
goog.html.testing.newSafeStyleForTest(style) !goog.html.SafeStyle
Creates a SafeStyle wrapping the given value. No validation is performed. This function is for use in tests only and must never be used in production code.
Arguments:
style : string
String to wrap into a SafeStyle.
Returns: !goog.html.SafeStyle  No description.
code »
goog.html.testing.newSafeUrlForTest(url) !goog.html.SafeUrl
Creates a SafeUrl wrapping the given value. No validation is performed. This function is for use in tests only and must never be used in production code.
Arguments:
url : string
String to wrap into a SafeUrl.
Returns: !goog.html.SafeUrl  No description.
code »
goog.html.testing.newTrustedResourceUrlForTest(url) !goog.html.TrustedResourceUrl
Creates a TrustedResourceUrl wrapping the given value. No validation is performed. This function is for use in tests only and must never be used in production code.
Arguments:
url : string
String to wrap into a TrustedResourceUrl.
Returns: !goog.html.TrustedResourceUrl  No description.
code »

Package html

Package Reference