blob: 9d8686d2aeb2ecd824a728d690a6139fb5ab8e88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
const Endless = imports.gi.Endless;
const Gtk = imports.gi.Gtk;
const Utils = imports.test.utils;
Gtk.init(null);
describe('SearchBox', function () {
let search_box;
beforeEach(function () {
search_box = new Endless.SearchBox();
});
it('emits no signal when you change the text programmatically', function () {
search_box.connect('text-changed', () => fail());
search_box.set_text_programmatically('some text');
Utils.update_gui();
});
});
|