B2G/gecko/storage/test/unit/test_statement_executeAsync.js
/**
 * Create a statement of the type under test per testPass.
 *
 * @param aSQL
 *        The SQL string from which to build a statement.
 * @return a statement of the type under test per testPass.
 */
Create a statement of the type under test per testPass.
@param aSQL
The SQL string from which to build a statement.
@return a statement of the type under test per testPass.
Create a statement of the type under test per testPass . @param aSQL The SQL string from which to build a statement . @return a statement of the type under test per testPass .
function makeTestStatement(aSQL) {
  if (testPass == TEST_PASS_SYNC)
    return getOpenedDatabase().createStatement(aSQL);
  else
    return getOpenedDatabase().createAsyncStatement(aSQL);
}
function makeTestStatement ( aSQL ) { if ( testPass == TEST_PASS_SYNC ) return getOpenedDatabase ( ) . createStatement ( aSQL ) ; else return getOpenedDatabase ( ) . createAsyncStatement ( aSQL ) ; }
Create a statement of the type under test per testPass.
Create a statement of the type under test per testPass .