Ejemplo n.º 1
0
 def test_mnemonics(self):
     """Check for widgets with keyboard accelerators but no mnemonic."""
     check_glade_files(self, self._check_mnemonics)
Ejemplo n.º 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)
Ejemplo n.º 3
0
 def test_viewport(self):
     """Check that widgets that implement GtkScrollable are not in a viewport."""
     check_glade_files(self, self._check_viewport)
Ejemplo n.º 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)
Ejemplo n.º 5
0
 def test_format_strings(self):
     """Reject translatable format string in glade."""
     check_glade_files(self, self._check_format_strings)
Ejemplo n.º 6
0
 def test_translatable_notebook(self):
     """Check that unshown GtkNotebook tabs are not translatable."""
     check_glade_files(self, self._check_translatable_notebook)
Ejemplo n.º 7
0
 def test_translatable_treeview(self):
     """Check that unshown GtkTreeview column headers are not translatable."""
     check_glade_files(self, self._check_translatable_treeview)
Ejemplo n.º 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)
Ejemplo n.º 9
0
 def test_markup(self):
     """Check the validity of Pango markup."""
     check_glade_files(self, self._check_markup)
Ejemplo n.º 10
0
 def test_validity_check(self):
     """Check for common glade validity errors."""
     check_glade_files(self, self._check_validity)