decompiler: Implement support for bindings

The .ui files for tests were taken from GTK test suite.
This commit is contained in:
Jan Tojnar 2023-11-18 21:06:03 +01:00
parent 479fe17589
commit 7fc367e644
18 changed files with 172 additions and 0 deletions

View file

@ -174,6 +174,14 @@ class TestSamples(unittest.TestCase):
REQUIRE_ADW_1_4 = ["adw_breakpoint"]
SKIP_RUN = [
"binding1",
"binding2",
"binding3",
"binding4",
"binding5",
"binding6",
"binding7",
"binding8",
"expr_closure",
"expr_closure_args",
"parseable",
@ -211,6 +219,14 @@ class TestSamples(unittest.TestCase):
def test_decompiler(self):
self.assert_decompile("accessibility_dec")
self.assert_decompile("binding1")
self.assert_decompile("binding2")
self.assert_decompile("binding3")
self.assert_decompile("binding4")
self.assert_decompile("binding5")
self.assert_decompile("binding6")
self.assert_decompile("binding7")
self.assert_decompile("binding8")
self.assert_decompile("child_type")
self.assert_decompile("file_filter")
self.assert_decompile("flags")