1
0

Helios-Workspace-Tests.deploy.js 1009 B

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