12345678910111213141516171819202122232425262728293031 |
- define("silk/Silk-Tests", ["amber/boot", "amber_core/SUnit", "domite/DOMite-Tests"], function($boot){
- var $core=$boot.api,nil=$boot.nil,$recv=$boot.asReceiver,$globals=$boot.globals;
- $core.addPackage('Silk-Tests');
- $core.packages["Silk-Tests"].innerEval = function (expr) { return eval(expr); };
- $core.packages["Silk-Tests"].transport = {"type":"amd","amdNamespace":"silk"};
- $core.addClass('SilkInheritedTest', $globals.DOMiteTest, [], 'Silk-Tests');
- $core.addMethod(
- $core.method({
- selector: "testedClass",
- protocol: 'fixture',
- fn: function (){
- var self=this;
- function $Silk(){return $globals.Silk||(typeof Silk=="undefined"?nil:Silk)}
- return $Silk();
- },
- //>>excludeStart("ide", pragmas.excludeIdeData);
- args: [],
- source: "testedClass\x0a\x09^ Silk",
- referencedClasses: ["Silk"],
- //>>excludeEnd("ide");
- messageSends: []
- }),
- $globals.SilkInheritedTest);
- $core.addClass('SilkTest', $globals.TestCase, [], 'Silk-Tests');
- });
|