"Evaluating first chunk of the test set"
(Smalltalk includesKey: #Smalltalk) ifFalse: [
self print: 'Require s8 execution environment.'.
self abort
].
(Smalltalk includesKey: #NSObject) ifFalse: [
self print: 'Require coco8 platform.'.
self abort
].
Smalltalk nativeObjectAt: #PHPhotoLibrary ifAbsent: [
self print: 'Require Photos framework.'.
self abort
].
"Ensure the Photos.framework is bound to the system"
[ PHPhotoLibrary authorizationStatus ] on: Error do: [:error|
self print: 'Photos.framework must be bound to application to run tests'.
self abort
].
|