function testFullQwertyLayoutAsync(testDoneCallback) {
  var testCallback = function() {
    var lowercase =
        ['`1234567890-=', 'qwertyuiop[]\\', 'asdfghjkl;\'', 'zxcvbnm,./'];
    var uppercase =
        ['~!@#$%^&*()_+', 'QWERTYUIOP{}', 'ASDFGHJKL:"', 'ZXCVBNM<>?'];
    var view = getActiveView();
    assertTrue(!!view, 'Unable to find active view');
    assertEquals('us', view.id, 'Expecting full layout');
    verifyLayout(lowercase);
    mockTap(findKeyById('ShiftLeft'));
    verifyLayout(uppercase);
    mockTap(findKeyById('ShiftRight'));
    verifyLayout(lowercase);
    testDoneCallback();
  };
  var config =
      {keyset: 'us', languageCode: 'en', passwordLayout: 'us', name: 'English'};
  onKeyboardReady(testCallback, config);
}
/**
 * Validates full layout for a US QWERTY keyboard.
 */
Validates full layout for a US QWERTY keyboard.
Validates full layout for a US QWERTY keyboard .
function testFullQwertyLayoutAsync(testDoneCallback) {
  var testCallback = function() {
    var lowercase =
        ['`1234567890-=', 'qwertyuiop[]\\', 'asdfghjkl;\'', 'zxcvbnm,./'];
    var uppercase =
        ['~!@#$%^&*()_+', 'QWERTYUIOP{}', 'ASDFGHJKL:"', 'ZXCVBNM<>?'];
    var view = getActiveView();
    assertTrue(!!view, 'Unable to find active view');
    assertEquals('us', view.id, 'Expecting full layout');
    verifyLayout(lowercase);
    mockTap(findKeyById('ShiftLeft'));
    verifyLayout(uppercase);
    mockTap(findKeyById('ShiftRight'));
    verifyLayout(lowercase);
    testDoneCallback();
  };
  var config =
      {keyset: 'us', languageCode: 'en', passwordLayout: 'us', name: 'English'};
  onKeyboardReady(testCallback, config);
}
function testFullQwertyLayoutAsync ( testDoneCallback ) { var testCallback = function ( ) { var lowercase = [ '`1234567890-=' , 'qwertyuiop[]\\' , 'asdfghjkl;\'' , 'zxcvbnm,./' ] ; var uppercase = [ '~!@#$%^&*()_+' , 'QWERTYUIOP{}' , 'ASDFGHJKL:"' , 'ZXCVBNM<>?' ] ; var view = getActiveView ( ) ; assertTrue ( ! ! view , 'Unable to find active view' ) ; assertEquals ( 'us' , view . id , 'Expecting full layout' ) ; verifyLayout ( lowercase ) ; mockTap ( findKeyById ( 'ShiftLeft' ) ) ; verifyLayout ( uppercase ) ; mockTap ( findKeyById ( 'ShiftRight' ) ) ; verifyLayout ( lowercase ) ; testDoneCallback ( ) ; } ; var config = { keyset : 'us' , languageCode : 'en' , passwordLayout : 'us' , name : 'English' } ; onKeyboardReady ( testCallback , config ) ; }
Validates full layout for a US QWERTY keyboard.
Validates full layout for a US QWERTY keyboard .