diff options
author | Michele Calgaro <[email protected]> | 2021-11-21 17:04:21 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-11-21 17:09:35 +0900 |
commit | e6ba08c3b21cdb14ee3a97b5d584759a4597b54b (patch) | |
tree | e8b4121323f2f448aeaa15bf3bddb465f36aea8b /debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala | |
parent | f312c235ea5f9971066f3808997d20f89c25f33b (diff) | |
download | extra-dependencies-e6ba08c3b21cdb14ee3a97b5d584759a4597b54b.tar.gz extra-dependencies-e6ba08c3b21cdb14ee3a97b5d584759a4597b54b.zip |
uncrustify-trinity: updated based on upstream version 0.74.0
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala')
9 files changed, 0 insertions, 220 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70000-list.vala b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70000-list.vala deleted file mode 100644 index 1893dcb5..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70000-list.vala +++ /dev/null @@ -1,22 +0,0 @@ - - -using GLib; - -public class GListTest : Object -{ - public GListTest { } - - static int main(string[] args) - { - List<string> list; - list.append("TestString1"); - list.append("myTest"); - message("list.length()=%d", list.length()); - - for (int i = 0; i < list.length(); i++) - { - string list2 = list.nth_data(i); - message("%s", list2); - } - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70001-advanced.vala b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70001-advanced.vala deleted file mode 100644 index ca88a821..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70001-advanced.vala +++ /dev/null @@ -1,30 +0,0 @@ -/* Advanced Vala Sample Code */ -using GLib; -public class Sample : Object { - public string name { get; set; } - public signal void foo(); - public Sample (construct string !name) - { - } - public void run() - { - foo += s => { - stdout.printf("Lambda expression %s!\n", name); - } - - /* Calling lambda expression */ - foo(); - } - static int main(string[] args) - { - foreach (string arg in args) - { - var sample = new Sample(arg); - sample.run(); - /* Object will automatically be freed - * at the end of the block */ - } - return(0); - } -} - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70010-verbatim_str.vala b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70010-verbatim_str.vala deleted file mode 100644 index fb0824ae..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70010-verbatim_str.vala +++ /dev/null @@ -1,36 +0,0 @@ -/* Advanced Vala Sample Code */ -using GLib; -public class Sample : Object { - public string name { get; set; } - public signal void foo(); - public Sample (construct string !name) - { - } - public void run() - { - foo += s => { - stdout.printf("Lambda expression %s!\n", name); - } - - /* Calling lambda expression */ - foo(); - } - static int main(string[] args) - { - string sql = """ SELECT name "my_name" - FROM table - WHERE id='4' - """; - var where = """ WHERE name LIKE '%blah% - """; - - foreach (string arg in args) - { - var sample = new Sample(arg); - sample.run(); - /* Object will automatically be freed - * at the end of the block */ - } - return(0); - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70011-verbatim_str2.vala b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70011-verbatim_str2.vala deleted file mode 100644 index c607d7b4..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70011-verbatim_str2.vala +++ /dev/null @@ -1,39 +0,0 @@ -/* Advanced Vala Sample Code */ -using GLib; -public class Sample : Object { - public string name { get; set; } - public signal void foo(); - public Sample (construct string !name) - { - } - public void run() - { - foo += s => { - stdout.printf("Lambda expression %s!\n", name); - } - - /* Calling lambda expression */ - foo(); - } - static int main(string[] args) - { - string sql = """SELECT name "my_name" - FROM table - WHERE id='4' -"""; - var where = """ WHERE name LIKE '%blah% - """ ; - - foreach (string arg in args) - { - var sample = new Sample(arg); - sample.run(); - /* Object will automatically be freed - * at the end of the block - * a tab b - * c tab d - */ - } - return(0); - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70012-verbatim_str2.vala b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70012-verbatim_str2.vala deleted file mode 100644 index c253b86b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70012-verbatim_str2.vala +++ /dev/null @@ -1,39 +0,0 @@ -/* Advanced Vala Sample Code */ -using GLib; -public class Sample : Object { - public string name { get; set; } - public signal void foo(); - public Sample (construct string !name) - { - } - public void run() - { - foo += s => { - stdout.printf("Lambda expression %s!\n", name); - } - - /* Calling lambda expression */ - foo(); - } - static int main(string[] args) - { - string sql = """SELECT name "my_name" - FROM table - WHERE id='4' -"""; - var where = """ WHERE name LIKE '%blah% - """; - - foreach (string arg in args) - { - var sample = new Sample(arg); - sample.run(); - /* Object will automatically be freed - * at the end of the block - * a tab b - * c tab d - */ - } - return(0); - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70020-preproc.vala b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70020-preproc.vala deleted file mode 100644 index 9cc1ba1a..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70020-preproc.vala +++ /dev/null @@ -1,12 +0,0 @@ -int main() -{ -#if WANT_TO_COMPILE_THIS - gtkwidget.clicked.connect((widdget) => { message("Clicked"); - }); -#else - gtkwidget.enabled.connect((widdget) => { - message("Clicked"); - }); -#endif - return(0); -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70287-gh287.vala b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70287-gh287.vala deleted file mode 100644 index be39a9db..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70287-gh287.vala +++ /dev/null @@ -1,40 +0,0 @@ -int main() -{ - key_press_event.connect((e) => { - switch (e.keyval) - { - case Gdk.Key.@0: - if ((e.state & Gdk.ModifierType.CONTROL_MASK) != 0) - { - action_zoom_default_font(); - return(true); - } - - break; - - case Gdk.Key.@1: //alt+[1-8] - case Gdk.Key.@7: - case Gdk.Key.@8: - if (((e.state & Gdk.ModifierType.MOD1_MASK) != 0) && settings.alt_changes_tab) - { - var i = e.keyval - 49; - if (i > notebook.n_tabs - 1) - { - return(false); - } - - notebook.current = notebook.get_tab_by_index((int)i); - return(true); - } - - break; - - default: - assert_not_reached(); - } - - return(false); - }); - - return(0); -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70300-Issue_2090.vala b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70300-Issue_2090.vala deleted file mode 100644 index 5b4e1716..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70300-Issue_2090.vala +++ /dev/null @@ -1 +0,0 @@ -int ? some_int = null; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70301-Issue_2270.vala b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70301-Issue_2270.vala deleted file mode 100644 index 2202627c..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/vala/70301-Issue_2270.vala +++ /dev/null @@ -1 +0,0 @@ -new Gtk.Label (_ ("Label text")); |