Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit 57a56d7

Browse files
committed
Add UI Automation configuration.
1 parent 120e88f commit 57a56d7

File tree

8 files changed

+2708
-0
lines changed

8 files changed

+2708
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Jasmine assumes that the underlying driver (such as a browser) will need xxxx
2+
// access to the thread of execution to update its UI. This attribute specifies
3+
// how often Jasmine will use a setTimeout call to relinquish the main thread.
4+
// The UIAutomation framework doesn't support setTimout, nor does it need access
5+
// to the main thread, since UI updates happen via API calls that marshall to
6+
// the separate Instruments process. Setting this to 0 tells Jasmine to never
7+
// give up the main thread.
8+
jasmine.getEnv().updateInterval = 0;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// UIAutomation does not define these functions. Define them as no-ops here
2+
// because Jasmine tries to manipulate them.
3+
function setTimeout() {}
4+
function clearTimeout() {}
5+
function setInterval() {}
6+
function clearInterval() {}
7+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /