예제 #1
0
 def test_mnemonics(self):
     """Check for widgets with keyboard accelerators but no mnemonic."""
     check_glade_files(self, self._check_mnemonics)
예제 #2
0
 def test_icons(self):
     """Check that all icons referenced from glade files are valid in the gnome icon theme."""
     self._test_prerequisites()
     check_glade_files(self, self._check_icons)
예제 #3
0
 def test_viewport(self):
     """Check that widgets that implement GtkScrollable are not in a viewport."""
     check_glade_files(self, self._check_viewport)
예제 #4
0
 def test_invisible_char(self):
     """Check that the invisible_char in glade files is actually a char."""
     check_glade_files(self, self._check_invisible_char)
 def test_format_strings(self):
     """Reject translatable format string in glade."""
     check_glade_files(self, self._check_format_strings)
예제 #6
0
 def test_translatable_notebook(self):
     """Check that unshown GtkNotebook tabs are not translatable."""
     check_glade_files(self, self._check_translatable_notebook)
예제 #7
0
 def test_translatable_treeview(self):
     """Check that unshown GtkTreeview column headers are not translatable."""
     check_glade_files(self, self._check_translatable_treeview)
예제 #8
0
 def test_pw_visibility(self):
     """Check that password GtkEntries have the visibility set to False"""
     check_glade_files(self, self._check_pw_visibility)
예제 #9
0
 def test_markup(self):
     """Check the validity of Pango markup."""
     check_glade_files(self, self._check_markup)
 def test_validity_check(self):
     """Check for common glade validity errors."""
     check_glade_files(self, self._check_validity)