[gjs] installed-test: add missing message assertions
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] installed-test: add missing message assertions
- Date: Tue, 23 Jun 2015 22:59:41 +0000 (UTC)
commit 43e0ad8634add90d100a36dca49501c85a2e30bf
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jun 23 15:59:01 2015 -0700
installed-test: add missing message assertions
installed-tests/js/testExceptions.js | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/installed-tests/js/testExceptions.js b/installed-tests/js/testExceptions.js
index 36941b1..c69a0c9 100644
--- a/installed-tests/js/testExceptions.js
+++ b/installed-tests/js/testExceptions.js
@@ -37,6 +37,9 @@ function testExceptionInPropertySetter() {
} catch (e) {
logError(e);
}
+
+ GLib.test_assert_expected_messages_internal('Gjs', 'testExceptions.js', 0,
+ 'testExceptionInPropertySetter');
}
function testExceptionInPropertyGetter() {
@@ -49,6 +52,9 @@ function testExceptionInPropertyGetter() {
} catch (e) {
logError(e);
}
+
+ GLib.test_assert_expected_messages_internal('Gjs', 'testExceptions.js', 0,
+ 'testExceptionInPropertyGetter');
}
function testExceptionInPropertySetterFromConstructor() {
@@ -60,6 +66,9 @@ function testExceptionInPropertySetterFromConstructor() {
} catch (e) {
logError(e);
}
+
+ GLib.test_assert_expected_messages_internal('Gjs', 'testExceptions.js', 0,
+ 'testExceptionInPropertySetterFromConstructor');
}
function testExceptionInPropertySetterWithBinding() {
@@ -78,6 +87,9 @@ function testExceptionInPropertySetterWithBinding() {
} catch (e) {
logError(e);
}
+
+ GLib.test_assert_expected_messages_internal('Gjs', 'testExceptions.js', 0,
+ 'testExceptionInPropertySetterWithBinding');
}
function testExceptionInPropertyGetterWithBinding() {
@@ -96,6 +108,9 @@ function testExceptionInPropertyGetterWithBinding() {
} catch (e) {
logError(e);
}
+
+ GLib.test_assert_expected_messages_internal('Gjs', 'testExceptions.js', 0,
+ 'testExceptionInPropertyGetterWithBinding');
}
JSUnit.gjstestRun(this, JSUnit.setUp, JSUnit.tearDown);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]