Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-6008 Add android support for the new Titanium.Platform.runtime property #750

Merged
merged 3 commits into from Nov 22, 2011
Merged

TIMOB-6008 Add android support for the new Titanium.Platform.runtime property #750

merged 3 commits into from Nov 22, 2011

Conversation

billdawson
Copy link
Contributor

http://jira.appcelerator.org/browse/TIMOB-6008
http://jira.appcelerator.org/browse/TIMOB-6011

Test is the "platform" test in Drillbit. Need to run in both V8 (--android-runtime=v8) and Rhino (--android-runtime=rhino).

UPDATE:
Sorry, I didn't realize the documentation was in a different ticket. I've added the link to 6011 above. Be sure to close that ticket as well when merged.

@@ -28,6 +28,8 @@ describe("Ti.Platform tests", {
valueOf(Ti.Platform.ostype).shouldBeString();
valueOf(Ti.Platform.processorCount).shouldBeNumber();
valueOf(Ti.Platform.version).shouldBeString();
valueOf(Ti.Platform.runtime).shouldBeString();
valueOf(Ti.Platform.runtime.length).shouldBeGreaterThan(0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wonder if there should be platform specific versions to test that it's one of the valid platform types if known?

@billdawson
Copy link
Contributor Author

Sorry, I didn't realize the documentation was in a different ticket. I've added the link to TIMOB-6011 above in the description. Be sure to close that ticket as well when merged.

@donthorp
Copy link
Contributor

Code reviewed. Request accepted.

@eric34
Copy link
Contributor

eric34 commented Nov 22, 2011

Pull accepted:
Verified drillbit platform test for v8 and rhino in emulator. Also verified platform test on iPhone simulator

@ayeung
Copy link
Contributor

ayeung commented Nov 22, 2011

Code reviewed. Request Accepted

donthorp added a commit that referenced this pull request Nov 22, 2011
TIMOB-6008 Add android support for the new Titanium.Platform.runtime property
@donthorp donthorp merged commit 80f9cce into tidev:master Nov 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants