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

test[jx8-android] 005 - MainActivity

MainActivity tests

"Detect kind of application"
MainActivity isJX8 ifFalse: [
	^self error: 'Not a jx8 application'
MainActivity hasU8 ifFalse: [
	^self print: 'Application do not have U8 tools'

self print: 'appU8 detected - app + U8 tools'.

self print: 'Open your Transcript to see the following text output to Transcript'.
10 timesRepeat: [
	MainActivity singleton outputToTranscript: 'Hello from Swiki tests!!'