browser_gcli_keyboard6.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. * Copyright 2012, Mozilla Foundation and contributors
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. "use strict";
  17. // THIS FILE IS GENERATED FROM SOURCE IN THE GCLI PROJECT
  18. // PLEASE TALK TO SOMEONE IN DEVELOPER TOOLS BEFORE EDITING IT
  19. const exports = {};
  20. function test() {
  21. helpers.runTestModule(exports, "browser_gcli_keyboard6.js");
  22. }
  23. // var helpers = require('./helpers');
  24. exports.testCompleteUp = function (options) {
  25. return helpers.audit(options, [
  26. {
  27. setup: "tsn e<UP><TAB>",
  28. check: { input: "tsn extend " }
  29. },
  30. {
  31. setup: "tsn e<UP><UP><TAB>",
  32. check: { input: "tsn exten " }
  33. },
  34. {
  35. setup: "tsn e<UP><UP><UP><TAB>",
  36. check: { input: "tsn exte " }
  37. },
  38. {
  39. setup: "tsn e<UP><UP><UP><UP><TAB>",
  40. check: { input: "tsn ext " }
  41. },
  42. {
  43. setup: "tsn e<UP><UP><UP><UP><UP><TAB>",
  44. check: { input: "tsn extend " }
  45. },
  46. {
  47. setup: "tsn e<UP><UP><UP><UP><UP><UP><TAB>",
  48. check: { input: "tsn exten " }
  49. },
  50. {
  51. setup: "tsn e<UP><UP><UP><UP><UP><UP><UP><TAB>",
  52. check: { input: "tsn exte " }
  53. },
  54. {
  55. setup: "tsn e<UP><UP><UP><UP><UP><UP><UP><UP><TAB>",
  56. check: { input: "tsn ext " }
  57. }
  58. ]);
  59. };