https://github.com/web-platform-tests/wpt
Revision f234546e7a085b82058d2ab0b43b3396e256405c authored by Ovidio Henriquez on 23 March 2018, 17:54:47 UTC, committed by Chromium WPT Sync on 23 March 2018, 17:54:47 UTC
Also implements getLastWrittenValue() and converts two tests to use
these.

FakeRemoteGattDescriptor::setNextWriteResponse allows tests to set the
next response for a write.

BUG=719825

Change-Id: I2807d23a55f79eeca35338e25916c6d5e0115e89
Reviewed-on: https://chromium-review.googlesource.com/964901
Commit-Queue: Ovidio Henriquez <odejesush@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Giovanni Ortuño Urquidi <ortuno@chromium.org>
Reviewed-by: Conley Owens <cco3@chromium.org>
Cr-Commit-Position: refs/heads/master@{#545508}
1 parent af184df
Raw File
Tip revision: f234546e7a085b82058d2ab0b43b3396e256405c authored by Ovidio Henriquez on 23 March 2018, 17:54:47 UTC
bluetooth: Impl. setNextWriteResponse (descriptor)
Tip revision: f234546
name_radio-label-embedded-slider-manual.html
<!doctype html>
<html>
  <head>
    <title>Name radio-label-embedded-slider</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <link rel="stylesheet" href="/resources/testharness.css">
    <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/wai-aria/scripts/ATTAcomm.js"></script>
    <script>
    setup({explicit_timeout: true, explicit_done: true });

    var theTest = new ATTAcomm(
    {
   "steps" : [
      {
         "element" : "test",
         "test" : {
            "ATK" : [
               [
                  "property",
                  "name",
                  "is",
                  "foo 5 baz"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXDescription",
                  "is",
                  "foo 5 baz"
               ]
            ],
            "IAccessible2" : [
               [
                  "property",
                  "accName",
                  "is",
                  "foo 5 baz"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "Name",
                  "is",
                  "foo 5 baz"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "Name radio-label-embedded-slider"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for Name radio-label-embedded-slider.</p>
    <input type="radio" id="test" />
  <label for="test">foo <input role="slider" type="range" value="5" min="1" max="10" aria-valuenow="5" aria-valuemin="1" aria-valuemax="10"> baz
  </label>

  <div id="manualMode"></div>
  <div id="log"></div>
  <div id="ATTAmessages"></div>
  </body>
</html>
back to top