diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-11-20 12:32:01 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-11-20 12:32:09 -0500 |
commit | 6effe5a7fc3420ff861921792eb721d3b50d7627 (patch) | |
tree | f89e243384162623d50f2cbbf35fc1dc01ddcce7 | |
parent | 781b0c458b4d60896677b6a7b4e224bc92b2a5a4 (diff) | |
download | gjs-6effe5a7fc3420ff861921792eb721d3b50d7627.tar.gz |
testGDBus: Add a log exception1.39.0
We now log explicitly thrown errors...
-rw-r--r-- | installed-tests/js/testGDBus.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/installed-tests/js/testGDBus.js b/installed-tests/js/testGDBus.js index 0135d52e..af2039b1 100644 --- a/installed-tests/js/testGDBus.js +++ b/installed-tests/js/testGDBus.js @@ -266,6 +266,9 @@ function testFrobateStuff() { /* excp must be exactly the exception thrown by the remote method (more or less) */ function testThrowException() { + GLib.test_expect_message('Gjs', GLib.LogLevelFlags.LEVEL_WARNING, + 'JS ERROR: Exception in method call: alwaysThrowException: *'); + let theResult, theExcp; proxy.alwaysThrowExceptionRemote({}, function(result, excp) { theResult = result; |