mirror of
https://github.com/google/nomulus
synced 2026-09-25 17:34:20 +00:00
Replace uses of @code in Javascript documentation with Markdown backticks
Rosie CL for []/third_party (local approval/rejection).
[]
b/71392935
Tested:
TAP --sample for global presubmit queue
[]
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=184412611
This commit is contained in:
@@ -86,8 +86,8 @@ function testButter() {
|
||||
|
||||
|
||||
/**
|
||||
* The EPP login should be triggered if the user {@code isGaeLoggedIn}
|
||||
* but not yet {@code isEppLoggedIn}.
|
||||
* The EPP login should be triggered if the user `isGaeLoggedIn`
|
||||
* but not yet `isEppLoggedIn`.
|
||||
*/
|
||||
function testEppLogin() {
|
||||
// This is a little complex, as handleHashChange triggers an async
|
||||
|
||||
@@ -25,7 +25,7 @@ goog.require('registry.xml');
|
||||
|
||||
|
||||
/**
|
||||
* Utility method that attaches mocks to a {@code TestCase}. This was
|
||||
* Utility method that attaches mocks to a `TestCase`. This was
|
||||
* originally in the ctor for ConsoleTest and should simply be
|
||||
* inherited but jstd_test breaks inheritance in test cases.
|
||||
* @param {Object} test the test case to configure.
|
||||
@@ -47,7 +47,7 @@ registry.registrar.ConsoleTestUtil.setup = function(test) {
|
||||
|
||||
/**
|
||||
* Simulates visiting a page on the console. Sets path, then mocks
|
||||
* session and calls {@code handleHashChange_}.
|
||||
* session and calls `handleHashChange_`.
|
||||
* @param {Object} test the test case to configure.
|
||||
* @param {Object=} opt_args may include path, isEppLoggedIn.
|
||||
* @param {Function=} opt_moar extra setup after called just before
|
||||
|
||||
@@ -78,7 +78,7 @@ registry.testing.click = function(element) {
|
||||
|
||||
|
||||
/**
|
||||
* Asserts {@code element} has 'shown' class.
|
||||
* Asserts `element` has 'shown' class.
|
||||
* @param {!Element} element
|
||||
*/
|
||||
registry.testing.assertVisible = function(element) {
|
||||
@@ -88,7 +88,7 @@ registry.testing.assertVisible = function(element) {
|
||||
|
||||
|
||||
/**
|
||||
* Asserts {@code element} has 'hidden' class.
|
||||
* Asserts `element` has 'hidden' class.
|
||||
* @param {!Element} element
|
||||
*/
|
||||
registry.testing.assertHidden = function(element) {
|
||||
@@ -98,7 +98,7 @@ registry.testing.assertHidden = function(element) {
|
||||
|
||||
|
||||
/**
|
||||
* Like {@code assertObjectEquals} but with a better error message.
|
||||
* Like `assertObjectEquals` but with a better error message.
|
||||
* @param {?Object} a
|
||||
* @param {?Object} b
|
||||
*/
|
||||
@@ -116,7 +116,7 @@ registry.testing.assertObjectEqualsPretty = function(a, b) {
|
||||
|
||||
|
||||
/**
|
||||
* JSON request/response simulator for {@code ResourceComponent} subclasses.
|
||||
* JSON request/response simulator for `ResourceComponent` subclasses.
|
||||
* @param {string} xsrfToken
|
||||
* @param {string} path server resource path.
|
||||
* @param {!Object} expectReqJson assert this object was sent,
|
||||
|
||||
@@ -173,7 +173,7 @@ function testEppMessage() {
|
||||
|
||||
|
||||
/**
|
||||
* Asserts {@code xml} turns into {@code json}.
|
||||
* Asserts `xml` turns into `json`.
|
||||
* @param {!Object} json
|
||||
* @param {string} xml
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user