[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[jx8-android] index

Test set to validate S8 running on top of JX8 environment in Android devices.

How to run this tests for jx8-android

SwikiCodeRobot @> #(test jx8-android)

Test pages

Basic functionality
Java API call & arguments
Using Java objects
Internal tests
NodeJS API
Other tests

Samples

SwikiCodeRobot @> #(sample jx8-android)

Tools


SwikiCodeRobot @> #(tool jx8-android)





Index chunks

The following chunks ensure all the frameworks to run testset are installed in your system, and the system is running in the required execution environment
"Evaluating first chunk of the test set"

(Smalltalk includesKey: #Smalltalk) ifFalse: [
    self print: 'Require s8 execution environment.'.
    self abort
].
(Smalltalk includesKey: #NodeJS) ifFalse: [
    self print: 'Require NodeJS framework.'.
    self abort
].
Smalltalk nativeObjectAt: #jxcore ifAbsent: [ "jxcore not present"
    NodeJS process natives isNil ifTrue: [ "are we running node8 platform ?"
        (Smalltalk global basicAt: #Java ifAbsent: []) toString = 'function Java() { [native code] }'
        ifTrue: [ ^#node8 ].
    ].
    self print: 'Require JX8 execution environment.'.
    self abort
].