Helios-Workspace-Tests.deploy.js 1.1 KB

12345678910111213141516171819202122
  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.packages["Helios-Workspace-Tests"].transport = {"type":"amd","amdNamespace":"amber"};
  4. smalltalk.addClass('HLCodeWidgetTest', smalltalk.TestCase, [], 'Helios-Workspace-Tests');
  5. smalltalk.addMethod(
  6. smalltalk.method({
  7. selector: "testKeyMap",
  8. fn: function (){
  9. var self=this;
  10. function $HashedCollection(){return smalltalk.HashedCollection||(typeof HashedCollection=="undefined"?nil:HashedCollection)}
  11. function $HLCodeWidget(){return smalltalk.HLCodeWidget||(typeof HLCodeWidget=="undefined"?nil:HLCodeWidget)}
  12. return smalltalk.withContext(function($ctx1) {
  13. self._assert_(_st(_st($HLCodeWidget())._pcKeyMap())._isKindOf_($HashedCollection()));
  14. self._assert_(_st(_st($HLCodeWidget())._macKeyMap())._isKindOf_($HashedCollection()));
  15. return self}, function($ctx1) {$ctx1.fill(self,"testKeyMap",{},smalltalk.HLCodeWidgetTest)})},
  16. messageSends: ["assert:", "isKindOf:", "pcKeyMap", "macKeyMap"]}),
  17. smalltalk.HLCodeWidgetTest);
  18. });