瀏覽代碼

Using debugCase to debug failed tests.

Herby Vojčík 4 年之前
父節點
當前提交
9028985cdb
共有 3 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      package.json
  2. 3 3
      src/IDE.js
  3. 1 1
      src/IDE.st

+ 1 - 1
package.json

@@ -28,7 +28,7 @@
   },
   "dependencies": {
     "@ambers/contrib-web": ">=0.7.3",
-    "@ambers/lang": ">0.24.0",
+    "@ambers/lang": ">0.25.3",
     "codemirror": ">=5.44.0",
     "jquery-ui-dist": ">=1.9.2",
     "require-css": "^0.1.10"

+ 3 - 3
src/IDE.js

@@ -8983,17 +8983,17 @@ selector: "performFailure:",
 protocol: "actions",
 //>>excludeStart("ide", pragmas.excludeIdeData);
 args: ["aTestCase"],
-source: "performFailure: aTestCase\x0a\x09aTestCase runCase",
+source: "performFailure: aTestCase\x0a\x09aTestCase debugCase",
 referencedClasses: [],
 //>>excludeEnd("ide");
 pragmas: [],
-messageSends: ["runCase"]
+messageSends: ["debugCase"]
 }, function ($methodClass){ return function (aTestCase){
 var self=this,$self=this;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 return $core.withContext(function($ctx1) {
 //>>excludeEnd("ctx");
-$recv(aTestCase)._runCase();
+$recv(aTestCase)._debugCase();
 return self;
 //>>excludeStart("ctx", pragmas.excludeDebugContexts);
 }, function($ctx1) {$ctx1.fill(self,"performFailure:",{aTestCase:aTestCase})});

+ 1 - 1
src/IDE.st

@@ -1945,7 +1945,7 @@ testCases
 !TestRunner methodsFor: 'actions'!
 
 performFailure: aTestCase
-	aTestCase runCase
+	aTestCase debugCase
 !
 
 run: aCollection