forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update WAVE test runner (web-platform-tests#30357)
- Loading branch information
1 parent
7a6c0b1
commit e5c7faa
Showing
73 changed files
with
16,517 additions
and
2,806 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
!www/lib | ||
!export/lib | ||
!export/css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
class Device(object): | ||
def __init__(self, token, user_agent, name, last_active): | ||
self.token = token | ||
self.user_agent = user_agent | ||
self.name = name | ||
self.last_active = last_active |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
class EventListener(object): | ||
def __init__(self, dispatcher_token): | ||
super(EventListener, self).__init__() | ||
self.dispatcher_token = dispatcher_token | ||
self.token = None | ||
|
||
def send_message(self, message): | ||
raise Exception("Client.send_message(message) not implemented!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from .event_listener import EventListener | ||
|
||
class HttpPollingEventListener(EventListener): | ||
def __init__(self, dispatcher_token, event): | ||
super(HttpPollingEventListener, self).__init__(dispatcher_token) | ||
self.event = event | ||
self.message = None | ||
|
||
def send_message(self, message): | ||
self.message = message | ||
self.event.set() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
# WAVE Test Suite Documentation | ||
# WAVE Test Runner Documentation | ||
|
||
- [REST API](./rest-api/README.md) | ||
- [Usage Guide](./usage/usage.md) | ||
As part of the [WAVE project](https://cta.tech/Resources/Standards/WAVE-Project) | ||
the WAVE Test Runner was implemented to run tests that confirm proper implementation | ||
of specified features. The code base is used in different subprojects, each of which | ||
may have different requirements and scopes, so some features and screenshots in | ||
this documentation may use specific contexts. | ||
|
||
## Contents | ||
|
||
- [Configuration](./config.md): How to configure the test runner | ||
- [REST API](./rest-api/README.md): Documentation of endpoints, parameters and payloads | ||
- [Guides](./rest-api/guides/README.md): How to use certain API mechanisms | ||
- [Usage Guide](./usage/usage.md): General usage guide |
Oops, something went wrong.