-
-
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.
fix(android)(9_0_X): obtain holder for module references (#11561)
Fixes TIMOB-27777
- Loading branch information
1 parent
802687f
commit 764f024
Showing
4 changed files
with
48 additions
and
6 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,27 @@ | ||
/* | ||
* Appcelerator Titanium Mobile | ||
* Copyright (c) 2020 by Axway, 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 */ | ||
/* eslint no-unused-expressions: "off" */ | ||
|
||
'use strict'; | ||
|
||
const should = require('./utilities/assertions'); | ||
|
||
describe.windowsBroken('Core', () => { | ||
describe('Runtime', () => { | ||
describe('Static Method Reference', () => { | ||
|
||
// Reference static method. | ||
const createProxy = Ti.createProxy; | ||
should(createProxy).be.a.Function; | ||
|
||
// Attempt to call static method. | ||
const result = createProxy({}); | ||
should(result).be.a.Object; | ||
}); | ||
}); | ||
}); |