1
0

Helios-Workspace-Tests.deploy.js 883 B

123456789101112131415161718
  1. smalltalk.addPackage('Helios-Workspace-Tests');
  2. smalltalk.addClass('HLCodeWidgetTest', smalltalk.TestCase, [], 'Helios-Workspace-Tests');
  3. smalltalk.addMethod(
  4. smalltalk.method({
  5. selector: "testKeyMap",
  6. fn: function (){
  7. var self=this;
  8. function $HashedCollection(){return smalltalk.HashedCollection||(typeof HashedCollection=="undefined"?nil:HashedCollection)}
  9. function $HLCodeWidget(){return smalltalk.HLCodeWidget||(typeof HLCodeWidget=="undefined"?nil:HLCodeWidget)}
  10. return smalltalk.withContext(function($ctx1) {
  11. self._assert_(_st(_st($HLCodeWidget())._pcKeyMap())._isKindOf_($HashedCollection()));
  12. self._assert_(_st(_st($HLCodeWidget())._macKeyMap())._isKindOf_($HashedCollection()));
  13. return self}, function($ctx1) {$ctx1.fill(self,"testKeyMap",{},smalltalk.HLCodeWidgetTest)})},
  14. messageSends: ["assert:", "isKindOf:", "pcKeyMap", "macKeyMap"]}),
  15. smalltalk.HLCodeWidgetTest);