diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/test/Ice/defaultValue/Client.js | 2 | ||||
-rw-r--r-- | js/test/Ice/info/Client.js | 2 | ||||
-rw-r--r-- | js/test/Ice/location/Client.js | 2 | ||||
-rw-r--r-- | js/test/Ice/operations/BatchOneways.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/js/test/Ice/defaultValue/Client.js b/js/test/Ice/defaultValue/Client.js index 41aa9b6b44d..5eb9dfd688b 100644 --- a/js/test/Ice/defaultValue/Client.js +++ b/js/test/Ice/defaultValue/Client.js @@ -25,7 +25,7 @@ } catch(err) { - p.fail(err); + p.reject(err); throw err; } } diff --git a/js/test/Ice/info/Client.js b/js/test/Ice/info/Client.js index 46572c427b5..8de7211c4eb 100644 --- a/js/test/Ice/info/Client.js +++ b/js/test/Ice/info/Client.js @@ -50,7 +50,7 @@ } catch(err) { - p.fail(err); + p.reject(err); throw err; } } diff --git a/js/test/Ice/location/Client.js b/js/test/Ice/location/Client.js index bb8d3fa0d89..de71742d733 100644 --- a/js/test/Ice/location/Client.js +++ b/js/test/Ice/location/Client.js @@ -660,7 +660,7 @@ { if(!(ex instanceof Ice.NotRegisteredException)) { - p.fail(ex); + p.reject(ex); } if(all < 999) diff --git a/js/test/Ice/operations/BatchOneways.js b/js/test/Ice/operations/BatchOneways.js index d50ba94dfcd..db675a37d07 100644 --- a/js/test/Ice/operations/BatchOneways.js +++ b/js/test/Ice/operations/BatchOneways.js @@ -26,7 +26,7 @@ } catch(err) { - p.fail(err); + p.reject(err); throw err; } } |