فهرست منبع

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