-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TIMOB-16597] iOS: Exposing overCurrentContext and overFullScreenCont…
…ext modal presentation style (#10070) * Exposing overCurrentContext modal presentation style * Exposing overFullScreenContext modal presentation style * Window addon test added * Update ti.ui.window.addontest.js * Add unit-test again * Update iOS.yml * Update ti.ui.window.addontest.js
- Loading branch information
1 parent
9ac2c36
commit 48d080d
Showing
4 changed files
with
69 additions
and
2 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
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,23 @@ | ||
/* | ||
* Appcelerator Titanium Mobile | ||
* Copyright (c) 2011-Present by Appcelerator, Inc. All Rights Reserved. | ||
* Licensed under the terms of the Apache Public License | ||
* Please see the LICENSE included with this distribution for details. | ||
*/ | ||
/* eslint-env mocha */ | ||
/* global Ti */ | ||
/* eslint no-unused-expressions: "off" */ | ||
|
||
'use strict'; | ||
|
||
var should = require('./utilities/assertions'); | ||
|
||
describe('Titanium.UI.Window', function () { | ||
it.ios('.modalPresentationStyles', function () { | ||
should(Ti.UI.iOS.MODAL_PRESENTATION_PAGESHEET).be.a.Number; | ||
should(Ti.UI.iOS.MODAL_PRESENTATION_FORMSHEET).be.a.Number; | ||
should(Ti.UI.iOS.MODAL_PRESENTATION_CURRENT_CONTEXT).be.a.Number; | ||
should(Ti.UI.iOS.MODAL_PRESENTATION_OVER_CURRENT_CONTEXT).be.a.Number; | ||
should(Ti.UI.iOS.MODAL_PRESENTATION_OVER_CURRENT_FULL_SCREEN).be.a.Number; | ||
}); | ||
}); |