diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-18 22:24:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-18 22:24:33 +0900 |
commit | 3b0c3b8206964b85bf3716c962d26dd15c4f285f (patch) | |
tree | 2f0973dbf96c2892d19a55b6f846f130e7399a48 /debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs | |
parent | ff287d2f48d4f4253bf84f19bd7fe937b61ede45 (diff) | |
download | extra-dependencies-3b0c3b8206964b85bf3716c962d26dd15c4f285f.tar.gz extra-dependencies-3b0c3b8206964b85bf3716c962d26dd15c4f285f.zip |
It is no longer necessary to maintain a customize trinity version.
Upstream version can be used as is.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs')
109 files changed, 0 insertions, 2173 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10000-simple.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10000-simple.cs deleted file mode 100644 index 36cedfa2..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10000-simple.cs +++ /dev/null @@ -1,118 +0,0 @@ -class X : Y { - bool Method (int argument_1, int argument_2) - { - #region something - int foo = 0; - #endregion - - if (argument_1 == argument_2) - throw new Exception (Locale.GetText ("They are equal!")); - - if (argument_1 < argument_2) { - if (argument_1 * 3 > 4) - return true; - else - return false; - } - -// -// This sample helps keep your sanity while using 8-spaces for tabs -// - VeryLongIdentifierWhichTakesManyArguments ( - Argument1, - Argument2, Argument3, - NestedCallHere ( - MoreNested)); - } - - bool MyProperty { - get { return x; } - - set { x = value; } - } - - void AnotherMethod () - { - Logger log = new Logger (); - - log.foo.bar = 5; - log.narf.sweat = "cat"; - - if ((a + 5) != 4) { - } - - while (blah) { - if (a) - continue; - b++; - } - } -} - -object lockA; -object lockB; - -void Foo () -{ - lock (lockA) { - lock (lockB) { - } - } -} - -void Bar () -{ - lock (lockB) { - lock (lockA) { - } - } -} - - -// class library -class Blah { - Hashtable ht; - void Foo (int zzz, Entry blah) - { - lock (ht) { - ht.Add (zzz, blah); - } - } - - void Bar () - { - lock (ht) { - foreach (Entry e in ht) - EachBar (e); - } - } - - virtual void EachBar (Entry e) - { - } -} - -// User -class MyBlah { - byte[] box = new byte [6]; - - box [2] = 56; - - void DoStuff () - { - lock (this) { - int i = GetNumber (); - Entry e = GetEntry (); - - Foo (i, e); - } - } - - override void EachBar (Entry e) - { - lock (this) { - DoSomething (e); - } - } -} - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10001-getset.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10001-getset.cs deleted file mode 100644 index 756170b6..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10001-getset.cs +++ /dev/null @@ -1,17 +0,0 @@ -public bool Enabled -{ - get - { - return enabled; - } -} - - -public bool Enabled -{ - get - { - return enabled; - } -} - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10002-simple.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10002-simple.cs deleted file mode 100644 index f8344b26..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10002-simple.cs +++ /dev/null @@ -1,131 +0,0 @@ -class X : Y { - bool Method(int argument_1, int argument_2) - { - #region something - int foo = 0; - #endregion - - if (argument_1 == argument_2) - { - throw new Exception(Locale.GetText("They are equal!")); - } - - if (argument_1 < argument_2) - { - if (argument_1 * 3 > 4) - { - return(true); - } - else - { - return(false); - } - } - -// -// This sample helps keep your sanity while using 8-spaces for tabs -// - VeryLongIdentifierWhichTakesManyArguments( - Argument1, - Argument2, Argument3, - NestedCallHere( - MoreNested)); - } - - bool MyProperty { - get { return(x); } - - set { x = value; } - } - - void AnotherMethod() - { - Logger log = new Logger(); - - log.foo.bar = 5; - log.narf.sweat = "cat"; - - if ((a + 5) != 4) - { - } - - while (blah) - { - if (a) - { - continue; - } - b++; - } - } -} - -object lockA; -object lockB; - -void Foo() -{ - lock (lockA) { - lock (lockB) { - } - } -} - -void Bar() -{ - lock (lockB) { - lock (lockA) { - } - } -} - - -// class library -class Blah { - Hashtable ht; - void Foo(int zzz, Entry blah) - { - lock (ht) { - ht.Add(zzz, blah); - } - } - - void Bar() - { - lock (ht) { - foreach (Entry e in ht) - { - EachBar(e); - } - } - } - - virtual void EachBar(Entry e) - { - } -} - -// User -class MyBlah { - byte[] box = new byte[6]; - - box[2] = 56; - - void DoStuff() - { - lock (this) { - int i = GetNumber(); - Entry e = GetEntry(); - - Foo(i, e); - } - } - - override void EachBar(Entry e) - { - lock (this) { - DoSomething(e); - } - } -} - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10003-region.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10003-region.cs deleted file mode 100644 index 2ada63e7..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10003-region.cs +++ /dev/null @@ -1,18 +0,0 @@ -class X : Y { - int foo1; - #region something - int foo2 = 2; - #endregion - int foo() - { - #region something else - int foo3 = 3; - #region nested - int foo4 = 0; - #endregion - int foo5 = 0; - #endregion - } -} - - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10010-var-member.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10010-var-member.cs deleted file mode 100644 index 0da0b9f5..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10010-var-member.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Foo.Man.Chu -{ -/// <summary> -/// Summary description for MainForm. -/// </summary> -public class MainForm : System.Windows.Forms.Form -{ - #region Initialize the private properties - private System.Windows.Forms.MenuItem File; - private System.Windows.Forms.MenuItem Exit; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.Label label2; - private Properties Prop; - private About Abt; - public MainForm mainform; - private System.Windows.Forms.MenuItem menuItem1; - private System.Windows.Forms.Timer timer1; - private System.ComponentModel.IContainer components; - protected string strTitle; - #endregion -} -} - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10011-strings.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10011-strings.cs deleted file mode 100644 index 6794e762..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10011-strings.cs +++ /dev/null @@ -1,8 +0,0 @@ -void foo() -{ - string s1 = L"C:\\foo\\bar"; - string s2 = S"C:\\foo\\bar"; - string s3 = "This is a \"test\""; - string s4 = "C:\\"; -} - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10012-621_this-spacing.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10012-621_this-spacing.cs deleted file mode 100644 index bd28a5e8..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10012-621_this-spacing.cs +++ /dev/null @@ -1,2 +0,0 @@ -result = (Foo)this;
-result = (Foo)foo;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10013-625_where-constraints.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10013-625_where-constraints.cs deleted file mode 100644 index 123109b0..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10013-625_where-constraints.cs +++ /dev/null @@ -1,36 +0,0 @@ -interface D { } interface E { }
-
-class C<T1, T2, TX, T3, T4, T5>
- : IDisposable, IEnumerable<T1>
- where T1 : class, D, E, new()
- where T2 : IDictionary<D, Dictionary<string, float>>
- where TX : struct, IDisposable
- where T3 : class
- where T4 : D where T5 : E
-{
- void F<T3, T4, T5, TX, T6>() where T3 : D, new()
- where T4 : D
- where T5 : D
- where TX : new()
- where T6 : D
- {
- }
-
- class C2<T1, T2, TX, T3, T4, T5>
- : IDisposable, IEnumerable<T1>
- where T1 : class, D, E, new()
- where T2 : IDictionary<D, Dictionary<string, float>>
- where TX : struct, IDisposable
- where T3 : class
- where T4 : D where T5 : E
- {
- void F2<T3, T4, T5, TX, T6>()
- where T3 : D, new()
- where T4 : D
- where T5 : D
- where TX : new()
- where T6 : D
- {
- }
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10014-630_bad-new-init-semicolon-removal.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10014-630_bad-new-init-semicolon-removal.cs deleted file mode 100644 index 2e6d5a98..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10014-630_bad-new-init-semicolon-removal.cs +++ /dev/null @@ -1,7 +0,0 @@ -var dude = "Dude";
-var dude2 = new { Name = "Dude", Age = 30, };
-var dude3 = new { Name = "Dude", Age = 30, Kids = new { Name = "LittleDude" } };
-var dude4 = new { Name = "Dude", Age = 30, Kids = new[] { "LittleDude" } };
-var dude5 = new { Name = "Dude", Age = 30, Kids = new[] { new { Name = "LittleDude" } } };
-Action y = () => { };
-Func<int, float, bool> z = (a, b) => { var z = new { a, b }; return z == null; };
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10015-misc-failures.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10015-misc-failures.cs deleted file mode 100644 index e7022083..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10015-misc-failures.cs +++ /dev/null @@ -1,33 +0,0 @@ -void Func() -{ - OtherFunc( - @"multi -line"); -} - -variablex = o.Func( - variabley); -variablex = o.Func2(a, b, - variabley); -o.Func( - variabley); -o.Func2(a, b, - variabley); - - -AnimatorStateMachine rootStateMachine = syncedIndex == -1 - ? animatorController.layers[selectedLayerIndex].stateMachine - : animatorController.layers[syncedIndex].stateMachine; - - -m_ActiveStateMachine = AnimatorControllerTool.tool ? m_Type == TransitionType.eAnyState ? - AnimatorControllerTool.tool.stateMachineGraph.rootStateMachine : - AnimatorControllerTool.tool.stateMachineGraph.activeStateMachine : null; - -public GUIStyle[] inSlots = -{ - FindStyle("flow shader in 0"), FindStyle("flow shader in 1"), FindStyle("flow shader in 2"), FindStyle("flow shader in 3"), FindStyle("flow shader in 4"), FindStyle("flow shader in 5"), -}; - - -public GUIStyle[] inSlots = { 1, 2, 3 }; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10016-new-constraint-paren-space.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10016-new-constraint-paren-space.cs deleted file mode 100644 index a337a447..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10016-new-constraint-paren-space.cs +++ /dev/null @@ -1,5 +0,0 @@ -// same as 10130-sp_between_new_paren.cs
-T F<T>() where T : new()
-{
- return new T();
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10020-region.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10020-region.cs deleted file mode 100644 index b2f57ece..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10020-region.cs +++ /dev/null @@ -1,20 +0,0 @@ -class X : Y { - int foo1; - #region something - int foo2 = 2; - #endregion - int foo() - { - - #region something else - int foo3 = 3; - #region nested - int foo4 = 0; - #endregion - int foo5 = 0; - #endregion - } - -} - - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10021-region.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10021-region.cs deleted file mode 100644 index 926e467d..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10021-region.cs +++ /dev/null @@ -1,20 +0,0 @@ -class X : Y { - int foo1; - #region something - int foo2 = 2; - #endregion - int foo() - { - - #region something else - int foo3 = 3; - #region nested - int foo4 = 0; - #endregion - int foo5 = 0; - #endregion - } - -} - - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10022-region.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10022-region.cs deleted file mode 100644 index 9628d4fd..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10022-region.cs +++ /dev/null @@ -1,20 +0,0 @@ -class X : Y { - int foo1; -#region something - int foo2 = 2; -#endregion - int foo() - { - - #region something else - int foo3 = 3; - #region nested - int foo4 = 0; - #endregion - int foo5 = 0; - #endregion - } - -} - - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10023-region.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10023-region.cs deleted file mode 100644 index e21c467c..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10023-region.cs +++ /dev/null @@ -1,20 +0,0 @@ -class X : Y { - int foo1; - #region something - int foo2 = 2; - #endregion - int foo() - { - - #region something else - int foo3 = 3; - #region nested - int foo4 = 0; - #endregion - int foo5 = 0; - #endregion - } - -} - - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10027-oneline_property.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10027-oneline_property.cs deleted file mode 100644 index e4470be2..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10027-oneline_property.cs +++ /dev/null @@ -1,9 +0,0 @@ -public class Class -{ - public float prop { get; set; } - public float prop { get { return m; } } - public float prop { set { m = value; } } - public float prop { get { return m; } set { m = value; } } - internal int prop { get { return m; } } -}; -public class Container { public int prop { get; set; } }; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10028-ifcolalign.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10028-ifcolalign.cs deleted file mode 100644 index 13df0440..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10028-ifcolalign.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Unity
-{
- internal class Class
- {
- public void Foo()
- {
- if (data) go = new ClassA();
- else go = new ClassB();
-
- if (evt.alt) modifiers += "Alt+";
- if (evt.command) modifiers += "Cmd+";
- if (evt.control) modifiers += "Ctrl+";
- if (evt.shift) modifiers += "Shift+";
- }
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10029-when.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10029-when.cs deleted file mode 100644 index 4480f618..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10029-when.cs +++ /dev/null @@ -1,21 +0,0 @@ -private static string GenerateHash()
-{
- try
- {
- int i = 0;
- }
- catch when (DateTime.Now.DayOfWeek == DayOfWeek.Saturday)
- {
- int j = -1;
- }
- try
- {
- int i = 0;
- }
- catch (Exception e) when (DateTime.Now.DayOfWeek == DayOfWeek.Saturday)
- {
- var when = DateTime.Now;
- ulong kind = (ulong)(int)when.Kind;
- return ((kind << 62) | (ulong)when.Ticks).ToString();
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10030-sort_using.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10030-sort_using.cs deleted file mode 100644 index 99e802c1..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10030-sort_using.cs +++ /dev/null @@ -1,18 +0,0 @@ -// should be ddd, eee, fff -using b.ddd; -using b.eee; -using b.fff; - -// should be aaa, ccc -using aaa; -using ccc; -// should be just bbb -using bbb; - -// should not change these, as it can't handle multi-line imports -using mango.ccc; -using mango.bbb, - mango.aaa; - -void foo(); - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10031-bug_i_935.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10031-bug_i_935.cs deleted file mode 100644 index c45eb79d..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10031-bug_i_935.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Syst; -using System; -using System.Collections.Generic; -using System2; - -using b; -using b.a; -using b.A; -using b.ddd; -using b.ddd.A; -using b.eee; -using b.fff; - -void foo(); - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10032-sort_using_categ.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10032-sort_using_categ.cs deleted file mode 100644 index ec997fc9..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10032-sort_using_categ.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using Client.Common; -using LeopotamGroup.Common; -using LeopotamGroup.Serialization; -using UnityEngine; -using UnityEngine.Events; -using UnityEngine.EventSystems; - -using nameSpace; -using Namespace; -using NameSpace; -using NameSpacEveryday; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10039-615_nested-usings.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10039-615_nested-usings.cs deleted file mode 100644 index d46108bd..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10039-615_nested-usings.cs +++ /dev/null @@ -1,9 +0,0 @@ -using (var x = X()) -using (var y = Y()) -{ -} - -using (var x = X()) -using (var y = Y()) -{ -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10040-tcf.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10040-tcf.cs deleted file mode 100644 index 009f269e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10040-tcf.cs +++ /dev/null @@ -1,38 +0,0 @@ -void foo() -{ - try - { - ; - } - catch (Exception e) - { - ; - } - finally - { - ; - } - - - bar(); - - try - { - ; - } - catch (Exception e) - { - ; - } - catch (Exception e) - { - ; - } - finally - { - ; - } - - - bar(); -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10041-gs.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10041-gs.cs deleted file mode 100644 index ba9f873e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10041-gs.cs +++ /dev/null @@ -1,37 +0,0 @@ -private string s = ""; - -public int Amount -{ - get - { - ; - } - - set - { - ; - } -} - -public EventHandler MyCustomEventHandler -{ - add - { - ; - } - - remove - { - ; - } -} - -public this[string index] -{ - get; - - set; -} - -private string s2 = ""; - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10042-exception-filters.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10042-exception-filters.cs deleted file mode 100644 index d638d9a8..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10042-exception-filters.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -class Test -{ - void TestExceptionFilter() - { - var when = new Object(); - - try - { - int i = 0; - } - catch (Exception e) - { - int j = -1; - } - try - { - int i = 0; - } - catch - { - int j = -1; - } - try - { - int i = 0; - } - catch when (DateTime.Now.DayOfWeek == DayOfWeek.Saturday) - { - int j = -1; - } - try - { - int a = (int)when.foo(); - } - catch (Exception e) when (DateTime.Now.DayOfWeek == DayOfWeek.Saturday) - { - string b = ((int)when.prop).ToString(); - } - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10044-ifcomment.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10044-ifcomment.cs deleted file mode 100644 index 2c3ab0fc..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10044-ifcomment.cs +++ /dev/null @@ -1,58 +0,0 @@ -#define RENDER_POINTS_USING_MESH - -namespace UnityEditor -{ - internal class CurveWrapper - { - private void DoIconAndName(Rect rect, AnimationWindowHierarchyNode node, bool selected, bool focused, float indent) - { - EditorGUIUtility.SetIconSize(new Vector2(13, 13)); // If not set we see icons scaling down if text is being cropped - } - - public void foo() - { - if (this) - { - if (b) - { - // Now draw - for (int i = 0; i < ticks.Length; i++) - { - ticksPos[i] /= axisUiScalars.y; - if (ticksPos[i] < vRangeMin || ticksPos[i] > vRangeMax) - continue; - - Vector2 pos = DrawingToViewTransformPoint(new Vector2(0, ticksPos[i])); - // Important to take floor of positions of GUI stuff to get pixel correct alignment of - // stuff drawn with both GUI and Handles/GL. Otherwise things are off by one pixel half the time. - pos = new Vector2(pos.x, Mathf.Floor(pos.y)); - - float uiValue = ticks[i]; - Rect labelRect; - if (settings.vTickStyle.centerLabel) - labelRect = new Rect(0, pos.y - 8, leftmargin - 4, 16); // text expands to the left starting from where grid starts (leftmargin size must ensure text is visible) - else - labelRect = new Rect(0, pos.y - 13, labelSize, 16); // text expands to the right starting from left side of window - - GUI.Label(labelRect, uiValue.ToString(format) + settings.vTickStyle.unit, ms_Styles.labelTickMarksY); - } - } - } - // Cleanup - GUI.color = tempCol; - - GUI.EndClip(); - } - } -} // namespace - -namespace UnityEditor -{ - internal class TreeView - { - public System.Action<int[]> selectionChangedCallback { get; set; } // ids - public System.Action<int> itemDoubleClickedCallback { get; set; } // id - public System.Action<int[], bool> dragEndedCallback { get; set; } // dragged ids, if null then drag was not allowed, bool == true if dragging tree view items from own treeview, false if drag was started outside - public System.Action<int> contextClickItemCallback { get; set; } // clicked item id - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10045-UNI-1288.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10045-UNI-1288.cs deleted file mode 100644 index 03d60f5b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10045-UNI-1288.cs +++ /dev/null @@ -1,77 +0,0 @@ -public class Class
-{
- public Foo GetFoo()
- {
- return new Foo
- {
- enabled = false,
- };
- }
-
- public override Bar GetBar()
- {
- return new Bar()
- {
- m_Name = TestPropertyName
- };
- return new
- AA();
- return new AA<Type>
- {
- };
- }
-
- //It appears uncrustify is adding double-indentation no matter what, to the initializer block.
- // Both of the above examples start out at a different level of indentation, and both get double-indented past original.
-}
-
-// The following code consolidates examples from the topic.
-class ObjInitializers
-{
- class Cat
- {
- // Auto-implemented properties.
- public int Age { get; set; }
- public string Name { get; set; }
- }
-
- static void Main()
- {
- Cat cat = new Cat { Age = 10, Name = "Fluffy" };
-
- List<Cat> cats = new List<Cat>
- {
- new Cat() { Name = "Sylvester", Age = 8 },
- new Cat() { Name = "Whiskers", Age = 2 },
- new Cat() { Name = "Sasha", Age = 14 }
- };
-
- List<Cat> moreCats = new List<Cat>
- {
- new Cat() { Name = "Furrytail", Age = 5 },
- new Cat() { Name = "Peaches", Age = 4 },
- null
- };
-
- // Display results.
- System.Console.WriteLine(cat.Name);
-
- foreach (Cat c in cats)
- System.Console.WriteLine(c.Name);
-
- foreach (Cat c in moreCats)
- if (c != null)
- System.Console.WriteLine(c.Name);
- else
- System.Console.WriteLine("List element has null value.");
- }
-
- // Output:
- //Fluffy
- //Sylvester
- //Whiskers
- //Sasha
- //Furrytail
- //Peaches
- //List element has null value.
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10050-generics.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10050-generics.cs deleted file mode 100644 index 74e49ecd..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10050-generics.cs +++ /dev/null @@ -1,11 +0,0 @@ - -int foo() -{ - a.b<c, d>(); - a.b<c, e<d>>(); - a.b<c, d>(); - a.b<c, e<d>>(); - a.b<c, e<d>>(); - - return default(T); -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10051-UNI-1338.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10051-UNI-1338.cs deleted file mode 100644 index 3f3d9d06..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10051-UNI-1338.cs +++ /dev/null @@ -1,30 +0,0 @@ -// *Single line functions*
-
-public class Class
-{
- public string foo { get; set; }
- public string foo { get; set; }
-
- bool HasBar() { return m_HasBar != 0; }
- bool HasBar() { return m_HasBar != 0; }
-
- public Bar prop { get { return m_bar; } set { m_bar = value; } }
- public Bar prop { get { return m_bar; } set { m_bar = value; } }
-
-// This seems to happen with no spaces on the interior. Opening brace doesn't get one, closing brace does.
-
-// Turning on sp_inside_braces=add fixes it, but also changes a lot of initializer code we don't want to touch (like x = {1}). May need special support, or perhaps there's a bug..
-
-// *Initializers*
-
-// Not sure if this is what we want..
-
- public void foo()
- {
- sas.Foo("bar", new Dictionary<string, object>(){ { "k1", "v1" }, { "k2", "v2" } });
- // ... --> ...
- sas.Foo("bar", new Dictionary<string, object>() { { "k3", "v3" }, { "k4", "v4" } });
- }
-
-// Second line adds a space before the initializer {. Is that what we want for C#?
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10055-UNI-1345.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10055-UNI-1345.cs deleted file mode 100644 index 13f61127..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10055-UNI-1345.cs +++ /dev/null @@ -1,15 +0,0 @@ -public class Class
-{
- public void foo()
- {
- data.Sort(
- delegate(InputData lhs, InputData rhs)
- {
- return lhs.m_Name.CompareTo(rhs.m_Name);
- });
- }
-}
-
-// Want the braces aligning with the delegate keyword.
-
-// Probably also an issue with lambda style delegates.
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10060-unsafe.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10060-unsafe.cs deleted file mode 100644 index fdfdd67b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10060-unsafe.cs +++ /dev/null @@ -1,7 +0,0 @@ -public class Class1 -{ - public unsafe bool GetValue() - { - return(true); - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10065-UNI-1975.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10065-UNI-1975.cs deleted file mode 100644 index 1d2f2659..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10065-UNI-1975.cs +++ /dev/null @@ -1,23 +0,0 @@ -// typeof(Dictionary<, >)
-
-// is getting changed to
-
-// typeof(Dictionary<, >)
-
-// (space added after comma)
-
-// Definitely not typical for C#. Needs special handling.
-
-public class Class
-{
- public void foo(Type type)
- {
- if (type == typeof(List<>))
- {
- }
- else if (type == typeof(Dictionary<,>))
- {
- var bar = typeof(Dictionary<,>).Bar();
- }
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10066-UNI-1977.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10066-UNI-1977.cs deleted file mode 100644 index 94b929c4..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10066-UNI-1977.cs +++ /dev/null @@ -1,18 +0,0 @@ -// We specifically avoid our own tab-space in GenericFormat because of the @"" issue.
-// So we must rely on Uncrustify getting it right, and it nearly does - except for the
-// "Layout has changed, bail out now" where it does not replace the tab preceding the comment.
-
-namespace Namespace
-{
- class Class
- {
- public void Foo()
- {
- if (bar)
- {
- // Layout has changed, bail out now.
- bar = false;
- }
- }
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10067-UNI-1978.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10067-UNI-1978.cs deleted file mode 100644 index 5f55cb2f..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10067-UNI-1978.cs +++ /dev/null @@ -1,19 +0,0 @@ -// `new[] {` on colors12345636 should have brace on following line
-
-namespace Namepsace
-{
- internal static class Colors
- {
- static Color[] colors12345636 = new[]
- {
- new Color(123 / 123f, 123 / 123f, 0 / 123f),
- new Color(123 / 123f, 123 / 123f, 4 / 123f),
- new Color(123 / 123f, 75 / 123f, 36 / 123f),
- new Color(123 / 123f, 97 / 123f, 136 / 123f),
- new Color(123 / 123f, 123 / 123f, 136 / 123f),
- new Color(13 / 123f, 123 / 123f, 136 / 123f),
- new Color(0 / 123f, 123 / 123f, 136 / 123f),
- new Color(123 / 123f, 123 / 123f, 1 / 123f)
- };
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10070-utf16le.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10070-utf16le.cs Binary files differdeleted file mode 100644 index c017f6c3..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10070-utf16le.cs +++ /dev/null diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10071-utf16be.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10071-utf16be.cs Binary files differdeleted file mode 100644 index d9f54e37..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10071-utf16be.cs +++ /dev/null diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10072-utf16le_no_bom.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10072-utf16le_no_bom.cs Binary files differdeleted file mode 100644 index c017f6c3..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10072-utf16le_no_bom.cs +++ /dev/null diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10073-utf16be_no_bom.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10073-utf16be_no_bom.cs Binary files differdeleted file mode 100644 index d9f54e37..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10073-utf16be_no_bom.cs +++ /dev/null diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10074-UNI-2020.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10074-UNI-2020.cs deleted file mode 100644 index 854a3655..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10074-UNI-2020.cs +++ /dev/null @@ -1,45 +0,0 @@ -// As discussed with unity updating the test case
-
-{
- var a = @"asdasda";
-
- var d =
- @"asdasda";
-
- var d =
- @"asdasda";
-
- var b = @"
-line1
-line2";
-
- var c = Very(Long(Nested(Function(
- @"line1
-line2"))));
-
- var c = Very(Long(Nested(Function(
- @"line1
-line2"))));
-
- var c = Function(
- hey,
- you,
- @"line1
-line2", fubar,
- hmm);
-
- var c = Function(
- hey,
- you,
- @"line1
-line2", fubar,
- hmm);
-
- var c = Function(
- hey,
- you,
- @"line1
-line2",
- fubar,
- hmm);
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10075-UNI-2021.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10075-UNI-2021.cs deleted file mode 100644 index b0ec0414..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10075-UNI-2021.cs +++ /dev/null @@ -1,17 +0,0 @@ -// updating the testcase for 1247
-// concluded that we need to convert all the 4,3,2 liners to one liner based on the option
-int fun() {return 0;}
-
-int fun() {return 0; }
-
-int fun() {return 0;}
-
-int fun() {return 0; }
-
-int fun() {return 0; }
-
-int fun() { return 0;}
-
-int fun() {return 0; }
-
-int fun() {return 0;}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10076-UNI-1343.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10076-UNI-1343.cs deleted file mode 100644 index 076e338d..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10076-UNI-1343.cs +++ /dev/null @@ -1,19 +0,0 @@ -// Need to...
-
-// * Deal with the newline-after-opening and brace arrangement thing (eat_blanks_after_open_brace etc - see note in Uncrustify.Cpp.cfg)
-// * Terminate with //namespace if greater than x lines (like with #ifdef)
-
-namespace Unity
-{
- public static void foo1()
- {
- }
-
- public static void foo2()
- {
- }
-
- public static void foo3()
- {
- }
-} // namespace Unity
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10077-UNI-1919.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10077-UNI-1919.cs deleted file mode 100644 index cc8e8420..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10077-UNI-1919.cs +++ /dev/null @@ -1,17 +0,0 @@ -// this
-
-Func(
- "stuff",
- foo =>
- {
- bar();
- });
-
-// formats to this
-
-Func(
- "stuff",
- foo =>
- {
- bar();
- });
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10078-UNI-3484.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10078-UNI-3484.cs deleted file mode 100644 index d7e4f26a..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10078-UNI-3484.cs +++ /dev/null @@ -1,57 +0,0 @@ -// various combos from unity
-
-contents.Append("#include \"{file.GetBoundPath ()}\"");
-contents.Append($"#include \"{file.GetBoundPath ()}\"");
-contents.Append($"#include \"{file.GetBoundPath ("abc def")}\"");
-
-contents.Append(
- $"#include \"{file.GetBoundPath()}\"");
-
-contents.Append($@"#include
-""{file.GetBoundPath($@"abc
- def")}""");
-
-contents.Append(
- $@"#include
-""{file.GetBoundPath(@"abc
- def ghi")}""");
-
-contents.Append(@"#include
-""{file.GetBoundPath ()}""");
-
-// fun with nesting
-
-$@"{$"\\\"abc{$@" \""def\"" {"{ghi}"} {jkl} {{mno}}"}\\\""
-}".Dump();
-
-$@"{$@"\""abc{$@" def {"{ghi}"}
- {jkl} {{mno}}\"""}"
-}".Dump();
-
-// ensure we didn't break @for etc
-
-var @for = @base + @this - $@"{@while}";
-
-// from roslyn's InterpolationTests.cs
-
-Console.WriteLine($"{number}");
-
-Console.WriteLine($"{number}{number}");
-Console.WriteLine($"Jenny don\'t change your number { number :###-####} { number :###-####}.");
-Console.WriteLine($"jenny { ((Func<int>)(() => { return number; })).Invoke() :(408) ###-####}");
-Console.WriteLine($"{hello}, { world }.");
-
-Console.WriteLine($@"{
- hello
- },
-{
- world }.");
-
-System.Console.Write($"{{ x }}");
-var s = $@"{$@""{1}""}";
-
-Console.WriteLine($"{ await hello }, { await world }!");
-
-Console.WriteLine($"X = { 123 , -(3+4) }.");
-
-var s1 = $"X = { 1 } ";
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10080-property.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10080-property.cs deleted file mode 100644 index 98d3c21c..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10080-property.cs +++ /dev/null @@ -1,3 +0,0 @@ -#define X 1 // comment to check tokenizing of URL -#property URL "http://www.google.com" -#define Y 2 // comment diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10090-string_multi.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10090-string_multi.cs deleted file mode 100644 index 7d006dce..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10090-string_multi.cs +++ /dev/null @@ -1,13 +0,0 @@ -public class C -{ - public void F() - { - var x = @" -abc"; - var y = @" -abc" + "def"; - var z = "" + - @" -"; - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10100-bug_600.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10100-bug_600.cs deleted file mode 100644 index 54c24643..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10100-bug_600.cs +++ /dev/null @@ -1,14 +0,0 @@ -Vector2? a; -Vector2 b; - -void G() -{ - int? x = true ? null : (int?)2; - var q = x == null ? y : z; - var q2 = x == q ? y : z; - var q3 = x == null ? (y = new Y()) : z; - var q4 = x == q ? (y = new Y()) : z; - - var q5 = x == null ? y = new Y() : z; - var q6 = x == q ? y = new Y() : z; -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10101-sf607.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10101-sf607.cs deleted file mode 100644 index 3207e6c5..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10101-sf607.cs +++ /dev/null @@ -1,6 +0,0 @@ -int P
-{
- get
- {
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10103-UNI-2506.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10103-UNI-2506.cs deleted file mode 100644 index 8cd07962..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10103-UNI-2506.cs +++ /dev/null @@ -1,12 +0,0 @@ -public class Class
-{
- public int property
- {
- get
- {
- return !IsModeActive(Mode.None)
- && !IsModeActive(Mode.Foo)
- && !IsModeActive(Mode.Bar);
- }
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10104-UNI-2505.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10104-UNI-2505.cs deleted file mode 100644 index a17e6a5e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10104-UNI-2505.cs +++ /dev/null @@ -1,2 +0,0 @@ -public class Class : Base
-{}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10110-mdarray_space.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10110-mdarray_space.cs deleted file mode 100644 index 8c328f5e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10110-mdarray_space.cs +++ /dev/null @@ -1,2 +0,0 @@ -int[ , , ] x;
-var y = new int[2, 3];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10111-mdarray_space.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10111-mdarray_space.cs deleted file mode 100644 index 56aa58ce..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10111-mdarray_space.cs +++ /dev/null @@ -1,2 +0,0 @@ -int[,,] x;
-var y = new int[2, 3];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10112-mdarray_space.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10112-mdarray_space.cs deleted file mode 100644 index ab877b8e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10112-mdarray_space.cs +++ /dev/null @@ -1,2 +0,0 @@ -int[, ,] x;
-var y = new int[2, 3];
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10119-preserveTabs.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10119-preserveTabs.cs deleted file mode 100644 index c9583dcd..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10119-preserveTabs.cs +++ /dev/null @@ -1,3 +0,0 @@ -/// <summary> -/// Event handler. -/// </summary> diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10120-cmt_backslash_eol.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10120-cmt_backslash_eol.cs deleted file mode 100644 index e56aec25..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10120-cmt_backslash_eol.cs +++ /dev/null @@ -1,4 +0,0 @@ -foo(); -// test \ -blah(); -bar(); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10130-sp_between_new_paren.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10130-sp_between_new_paren.cs deleted file mode 100644 index fd706ffa..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10130-sp_between_new_paren.cs +++ /dev/null @@ -1,4 +0,0 @@ -T F<T>() where T : new()
-{
- return new T();
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10140-remove_semi.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10140-remove_semi.cs deleted file mode 100644 index 3ee1926e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10140-remove_semi.cs +++ /dev/null @@ -1,28 +0,0 @@ -var dude = "Dude";
-var dude2 = new {
- Name = "Dude", Age = 30,
-};
-var dude3 = new {
- Name = "Dude", Age = 30, Kids = new {
- Name = "LittleDude"
- }
-};
-var dude4 = new {
- Name = "Dude", Age = 30, Kids = new[] {
- "LittleDude"
- }
-};
-var dude5 = new {
- Name = "Dude", Age = 30, Kids = new[] {
- new {
- Name = "LittleDude"
- }
- }
-};
-Action y = () => { };
-Func<int, float, bool> z = (a, b) => {
- var z = new {
- a, b
- };
- return(z == null);
-};
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10150-operator-null-conditional.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10150-operator-null-conditional.cs deleted file mode 100644 index 61ac6d74..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10150-operator-null-conditional.cs +++ /dev/null @@ -1,16 +0,0 @@ -public class test -{ - public static void TestOfNullConditionalOperator() - { - string s = "Test"; - - if (s ?. Length > 0) - { - s = "Test"; - } - if (System . Reflection . Assembly . GetEntryAssembly() ?. GetName() != null) - { - s = "Test"; - } - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10151-operator_null-coalescing-assignment.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10151-operator_null-coalescing-assignment.cs deleted file mode 100644 index 416e6afc..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10151-operator_null-coalescing-assignment.cs +++ /dev/null @@ -1,8 +0,0 @@ -public class Program
-{
-public static void Main()
-{
- var thing = new int?();
- thing ??= new int?();
-}
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10160-delegate.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10160-delegate.cs deleted file mode 100644 index 6296ad80..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10160-delegate.cs +++ /dev/null @@ -1,29 +0,0 @@ -void foo() -{ - obj.cb += () => { }; - - funcwithverylongname(() => - { - func(); - }); -} - -Func( - "stuff", - foo => -{ - bar(); -}); - -Func( - "stuff", - foo => -{ - bar(); -}); - -data.Sort( - delegate(InputData lhs, InputData rhs) -{ - return lhs.m_Name.CompareTo(rhs.m_Name); -}); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10161-delegate.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10161-delegate.cs deleted file mode 100644 index 152fba2b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10161-delegate.cs +++ /dev/null @@ -1,29 +0,0 @@ -void foo() -{ - obj.cb += () => { }; - - funcwithverylongname(() => - { - func(); - }); -} - -Func( - "stuff", - foo => - { - bar(); - }); - -Func( - "stuff", - foo => - { - bar(); - }); - -data.Sort( - delegate(InputData lhs, InputData rhs) - { - return lhs.m_Name.CompareTo(rhs.m_Name); - }); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10200-logger.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10200-logger.cs deleted file mode 100644 index defede8a..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10200-logger.cs +++ /dev/null @@ -1,4 +0,0 @@ -// Turning on sp_inside_braces=add fixes it, but also changes a lot of initializer code we don't want to touch (like x = {1}). May need special support, or perhaps there's a bug..
-// long comment line(s), such as here, might be too long to produce a correct LOG-file such as
-// with the use of option -L A
-// in such a case, the output of the log will be cut.
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10300-1822.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10300-1822.cs deleted file mode 100644 index 92b5fd5b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10300-1822.cs +++ /dev/null @@ -1,2 +0,0 @@ -foreach (Cat c in *cats) - System.Console.WriteLine(c.Name); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10628-sf628.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10628-sf628.cs deleted file mode 100644 index 54d3c52c..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/10628-sf628.cs +++ /dev/null @@ -1,11 +0,0 @@ -void foo()
-{
- obj.cb += () => { };
- func();
- obj.cb += (p0) => { };
- func();
- obj.cb += (p0, p1) => { };
- func();
- Action a = delegate { };
- func();
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/11011-620_getset-brace.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/11011-620_getset-brace.cs deleted file mode 100644 index d4652c5f..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/11011-620_getset-brace.cs +++ /dev/null @@ -1,10 +0,0 @@ -class C
-{
- float V
- {
- get
- {
- return _v;
- }
- set { _v = value; } }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/11072-UNI-2007.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/11072-UNI-2007.cs deleted file mode 100644 index 29e53f26..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/11072-UNI-2007.cs +++ /dev/null @@ -1,34 +0,0 @@ -public class MyGenericClass<T> where T : IComparable {} - -class MyClass<T, U> - where T : class - where U : struct -{} - -public class MyGenericClass<T> where T : IComparable, new() -{ - // The following line is not possible without new() constraint: - T item = new T(); -} - -interface IMyInterface -{ -} - -class Dictionary<TKey, TVal> - where TKey : IComparable, IEnumerable - where TVal : IMyInterface -{ - public void Add(TKey key, TVal val) - { - } -} - -class List<T> -{ - void Add<U>(List<U> items) where U : T { /*...*/ } - void Add<U>(List<U> items) where U : T { /*...*/ } -} - -extern T GetNodeFromGuid<T>(Guid guid) where T : INode; -extern T GetNodeFromGuid<T>(Guid guid) where T : INode; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/11073-UNI-2008.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/11073-UNI-2008.cs deleted file mode 100644 index a4de3475..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/11073-UNI-2008.cs +++ /dev/null @@ -1,2 +0,0 @@ -Utils.Curve attribute = (Utils.Curve)base.attribute;
-Utils.Curve attribute = (Utils.Curve)base.attribute;
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12001-bug_620.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12001-bug_620.cs deleted file mode 100644 index 56e9b8bc..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12001-bug_620.cs +++ /dev/null @@ -1,11 +0,0 @@ -class C
-{
- float V
- {
- get
- {
- return _v;
- }
- set { _v = value; }
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12002-nullable_prop.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12002-nullable_prop.cs deleted file mode 100644 index 21c4f7b0..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12002-nullable_prop.cs +++ /dev/null @@ -1,18 +0,0 @@ - -namespace Foo -{ - -public class Bar -{ -public int? Val; - -public int? Prop -{ - get - { - return 1; - } -} -} -} - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12003-fncall_as_ctor_in_attr.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12003-fncall_as_ctor_in_attr.cs deleted file mode 100644 index 3dab10f6..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12003-fncall_as_ctor_in_attr.cs +++ /dev/null @@ -1,5 +0,0 @@ -public class ClassName
-{
- [Namespace.ClassName("Array")]
- public int[] Array = { 10 };
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12004-verbatim_strings.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12004-verbatim_strings.cs deleted file mode 100644 index 73fa1bf0..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12004-verbatim_strings.cs +++ /dev/null @@ -1,7 +0,0 @@ -class Class -{ - public string s1 = "\t\tFoo"; - public string s2 = @" - Foo -"; -}; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12005-bug_1591.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12005-bug_1591.cs deleted file mode 100644 index ac62df9e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12005-bug_1591.cs +++ /dev/null @@ -1 +0,0 @@ -byte[] utf8Str = new byte[] { 197, 170, 110, 196, 173, 099, 197, 141, 100, 101, 204, 189 }; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12101-bug_i_679.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12101-bug_i_679.cs deleted file mode 100644 index 199ad7e6..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12101-bug_i_679.cs +++ /dev/null @@ -1,4 +0,0 @@ -using (var x = X()) -using (var y = Y()) -{ -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12102-mod_full_brace_nl_block_rem_mlcond.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12102-mod_full_brace_nl_block_rem_mlcond.cs deleted file mode 100644 index e6e0eede..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12102-mod_full_brace_nl_block_rem_mlcond.cs +++ /dev/null @@ -1,65 +0,0 @@ -// mod_full_brace_nl_block_rem_mlcond should block brace removal here -if( a == true - && b == false ) -{ - return 1; -} -else if( a == true - && b == false) -{ - return 2; -} -// except here as there are no parenthesis -else - return 3; - - -if( a == true; - b == true; - c == true) -{ - return 1; -} - -for( a = true; - a < 9; - a++) -{ - return 1; -} - -while( a == true - && b == true - && c == true) -{ - return 1; -} - -using (Foo bar = - new Foo()) -{ - return 1; -} - - - -// mod_full_brace_nl_block_rem_mlcond should not block brace removal here -if( a == true && b == false ) - return 1; -else if( a == true && b == false) - return 2; -else - return 3; - - -if( a == true; b == true; c == true) - return 1; - -for( a = true; a < 9; a++) - return 1; - -while( a == true && b == true && c == true) - return 1; - -using (Foo bar = new Foo()) - return 1; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12103-mod_full_brace_nl_block_rem_mlcond.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12103-mod_full_brace_nl_block_rem_mlcond.cs deleted file mode 100644 index 8ecd4051..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12103-mod_full_brace_nl_block_rem_mlcond.cs +++ /dev/null @@ -1,71 +0,0 @@ -// mod_full_brace_nl_block_rem_mlcond should block brace removal here -if( a == true - && b == false ) -{ - return 1; -} -else if( a == true - && b == false) -{ - return 2; -} -// except here as there are no parenthesis -else - return 3; - - -if( a == true; - b == true; - c == true) -{ - return 1; -} - -for( a = true; - a < 9; - a++) -{ - return 1; -} - -while( a == true - && b == true - && c == true) -{ - return 1; -} - -using (Foo bar = - new Foo()) -{ - return 1; -} - - - -// mod_full_brace_nl_block_rem_mlcond should not block brace removal here -if( a == true && b == false ) - return 1; -else if( a == true && b == false) - return 2; -else - return 3; - - -if( a == true; b == true; c == true) - return 1; - -for( a = true; a < 9; a++) -{ - return 1; -} - -while( a == true && b == true && c == true) -{ - return 1; -} - -using (Foo bar = new Foo()) -{ - return 1; -}
\ No newline at end of file diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12104-bug_1637.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12104-bug_1637.cs deleted file mode 100644 index 9ffe19e7..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12104-bug_1637.cs +++ /dev/null @@ -1,2 +0,0 @@ -//Test Case-001
-inline double GetAudioBitrateForQuality(double f) { return 56000 + 200000 * (f); }
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12105-bug_1650.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12105-bug_1650.cs deleted file mode 100644 index 869a9d0f..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12105-bug_1650.cs +++ /dev/null @@ -1,46 +0,0 @@ -public string Foo =>
- "bar";
-public string Foo
- => "bar";
-
-public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker
- => _this.WithLinkerSetting(l => l.Flags = l.Flags.Concat(flags));
-
-public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker =>
- _this.WithLinkerSetting(l => l.Flags = l.Flags.Concat(flags));
-
-public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker
- => _this.WithLinkerSetting(
- l => l.Flags =
- l.Flags.Concat(flags));
-
-public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker => _this.WithLinkerSetting(
- l => l.Flags =
- l.Flags.Concat(flags));
-
-public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker
- => _this.WithLinkerSetting(l =>
- l.Flags = l.Flags.Concat(flags));
-
-public static T WithAdditionalFlags<T>(this T _this, IEnumerable<string> flags) where T : ObjectFileLinker =>
- _this.WithLinkerSetting(l
- => l.Flags = l.Flags.Concat(flags));
-
-var islands = EditorCompilationInterface.GetAllMonoIslands().Select(i => new Island
-{
- MonoIsland = i,
- Name = Path.GetFileNameWithoutExtension(i._output),
- References = i._references.ToList()
-}).ToList();
-
-var projectEntries = islands.Select(i => string.Format(
- DefaultSynchronizationSettings.SolutionProjectEntryTemplate,
- SolutionGuid(i), _projectName, Path.GetFileName(ProjectFile(i)), ProjectGuid(i._output)
-));
-
-
-Func<IEnumerable<IMemberDefinition>, IEnumerable<IMemberDefinition>> filterMembersWithObsoleteAttr = members => members.Where(m =>
- !m.IsRuntimeSpecialName
- && !m.IsSpecialName
- && !blackList.Contains(m.FullName)
- && CheckCustomAttributes(m));
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12106-UNI-40685.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12106-UNI-40685.cs deleted file mode 100644 index 9b70920e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12106-UNI-40685.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace Namespace
-{
- public static class Class
- {
- public static void Foo()
- {
- Tests = Bar(
- A,
- cp =>
- cp.Foo(new Bar
- {
- Identifier = "ID",
- PathToEmbed = "VAL"
- })
- .WithPrebuiltReference(Moq),
- Core);
-
- var Test = FooBar(
- B,
- cp => cp.WithB(Bar).WithSource("Path/File.ext"),
- new[] {
- A,
- B,
- C
- }
- );
- }
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12107-mod_full_paren_if_bool.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12107-mod_full_paren_if_bool.cs deleted file mode 100644 index 6bcd9201..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12107-mod_full_paren_if_bool.cs +++ /dev/null @@ -1,5 +0,0 @@ -List<int> list = new List<int>(); -if (list.All(i0 => i1 > 5 && i2 < 9)) -{ - return; -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12108-Issue_2705.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12108-Issue_2705.cs deleted file mode 100644 index 08619bb1..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12108-Issue_2705.cs +++ /dev/null @@ -1,16 +0,0 @@ -//example file -public class A -{ -public void A(string a) -{ - if (a == null) - { - return; - } - - fixed(char* ptr = a) - { - a = a + a; - } -} -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12200-comma.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12200-comma.cs deleted file mode 100644 index 34ccfdd8..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12200-comma.cs +++ /dev/null @@ -1 +0,0 @@ -int[ , , ] x; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12201-comma.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12201-comma.cs deleted file mode 100644 index 794410f0..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12201-comma.cs +++ /dev/null @@ -1 +0,0 @@ -int[ , , ] x; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12202-comma.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12202-comma.cs deleted file mode 100644 index 29ab2c3e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/12202-comma.cs +++ /dev/null @@ -1 +0,0 @@ -int[,,] x; diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/19000-UNI-58354.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/19000-UNI-58354.cs deleted file mode 100644 index 6c77de40..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/19000-UNI-58354.cs +++ /dev/null @@ -1,4 +0,0 @@ -public static class Extensions -{ - public static FluentXboxOneSdk VS2017(this FluentPlatform<XboxOnePlatform> _) => new FluentXboxOneSdk {MsvcVersion = new Version(15, 0)}; -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/20010-UNI-32658.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/20010-UNI-32658.cs deleted file mode 100644 index 145da65f..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/20010-UNI-32658.cs +++ /dev/null @@ -1,36 +0,0 @@ -//TestCase-001
-internal struct MyStruct<T>
- where T : struct, IPrepareFrameJob
-{
-}
-
-//TestCase-002
-class MyClass<T, U>
- where T : class
- where U : struct
-{
-}
-
-//TestCase-003
-interface IMyInterface
-{
-}
-
-class Dictionary<TKey, TVal>
- where TKey : IComparable, IEnumerable
- where TVal : IMyInterface
-{
- public void Add(TKey key, TVal val) {}
-}
-
-long DeviceCommand<TCommand>(int deviceId, ref TCommand command)
- where TCommand : struct, IInputDeviceCommandInfo;
-
-public virtual long OnDeviceCommand<TCommand>(ref TCommand command)
- where TCommand : struct, IInputDeviceCommandInfo;
-
-long DeviceCommand<TCommand>(int deviceId, ref TCommand command)
- where TCommand : struct, IInputDeviceCommandInfo
-
-public virtual long OnDeviceCommand<TCommand>(ref TCommand command)
- where TCommand : struct, IInputDeviceCommandInfo
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/20011-bug_1620.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/20011-bug_1620.cs deleted file mode 100644 index 3b837292..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/20011-bug_1620.cs +++ /dev/null @@ -1,67 +0,0 @@ -new WaveformStreamer(s_sweepedClip, 0, s_sweepedClip.length, 1,
- (streamer, floats, remaining) =>
- {
- return false;
- }
-);
-
-using System.Collections.Generic;
-
-class C
-{
- public void S()
- {
- Action localMethod = () => {
- SomeClass.OtherMethod(new Dictionary<string, string>
- {
- {"a", "one"},
- {"b", "two"},
- {"c", "three"}
- });
- };
- m_Mixers.Add(
- new WeightInfo
- {
- parentMixer = parent,
- mixer = node,
- port = port,
- modulate = (type == typeof(AnimationLayerMixerPlayable))
- }
- );
- }
-}
-
-MergeJSFiles(new string[] {
- GetDecompressor(),
- Paths.Combine(buildToolsDir, "UnityConfig"),
- Paths.Combine(args.stagingAreaData, kOutputFileLoaderFileName),
-}, unityLoader
-);
-
-public void GeneratesCorrectVisualStudioProjectFile()
-{
- GenerateProjectsAndCompareWithTemplates(
- runInJam: InJamCreateTestProject,
- generatedPath: TestRoot.Combine("Solution"),
- templatesPath: "Tools/Unity.BuildSystem/Unity.BuildSystem.VisualStudio.Tests/Templates",
- templates: new[] {
- "TestProjectGeneration_CApplication.sln",
- "Projects/TestProjectGeneration_CApplication.vcxproj",
- "Projects/TestProjectGeneration_CApplication.vcxproj.filters"
- });
-}
-
-public void GeneratesCorrectVisualStudioProjectFile()
-{
- GenerateProjectsAndCompareWithTemplates(
- runInJam: InJamCreateTestProject,
- generatedPath: TestRoot.Combine("Solution"),
- templatesPath: "Tools/Unity.BuildSystem/Unity.BuildSystem.VisualStudio.Tests/Templates",
- templates: new[]
- {
- "TestProjectGeneration_CApplication.sln",
- "Projects/TestProjectGeneration_CApplication.vcxproj",
- "Projects/TestProjectGeneration_CApplication.vcxproj.filters"
- }
- );
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60004-UNI-2684.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60004-UNI-2684.cs deleted file mode 100644 index ff0b31f1..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60004-UNI-2684.cs +++ /dev/null @@ -1,4 +0,0 @@ -EditorApplication.CallDelayed(() => { - foreach (CollabToolbarWindow window in Resources.FindObjectsOfTypeAll<CollabToolbarWindow>()) - window.Close(); -}, 1f); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60005-UNI-2685.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60005-UNI-2685.cs deleted file mode 100644 index ec671dd4..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60005-UNI-2685.cs +++ /dev/null @@ -1,9 +0,0 @@ -func(a, b, c, d, - (float a, int b, Foo bar) => -{ - test(); -}); -(float a, int b, Foo bar) => -{ - test(); -}); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60007-UNI-3083.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60007-UNI-3083.cs deleted file mode 100644 index 5209dc72..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60007-UNI-3083.cs +++ /dev/null @@ -1,15 +0,0 @@ -class ClassWithCtorICall -{ - public ClassWithCtorICall() - { - DoICall(); - } - - //It shouldn't add an extra space before 0x1000 - [MethodImpl((MethodImplOptions)0x1000)] - static extern void DoICall(); - - //It shouldn't add an extra space before 1000 - [MethodImpl((MethodImplOptions)1000)] - static extern void DoICall(); -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60008-UNI-17253.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60008-UNI-17253.cs deleted file mode 100644 index 9021a372..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60008-UNI-17253.cs +++ /dev/null @@ -1,63 +0,0 @@ -// Extra test cases for # 1257 -switch (sometext) -{ - case "a": - return 0; - case "b": - Console.WrieLine("hello world\n"); - - return 0; - case "c": - { - Console.WrieLine("hello world\n"); - - return 0; - } - case "d": - Console.WrieLine("hello world\n"); - - if (hello) - return 0; - else - return 1; - - case "e": - Console.WrieLine("hello world\n"); - - if (hello) - { - int a; - int b; - - return 0; - } - - case "f": - { - return 0; - } - case "g": - - return 0; - - case "h": - for (i = 0; i < 10 i++) - { - a += i; - - return 0; - } - case "i": - - if (hello) - { - int a; - int b; - - return 0; - } - - return 1; - default: - return 0; -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60009-UNI-9917.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60009-UNI-9917.cs deleted file mode 100644 index 5e352d10..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60009-UNI-9917.cs +++ /dev/null @@ -1,53 +0,0 @@ -// 1. Formatting the first produces the second. - -namespace Unity.IL2CPP.IntegrationTests.ILTests.Tests -{ - public class GlobalsWithBoxOptimizationAndBrTrueOpcodeTest : BoxTestsBase { public GlobalsWithBoxOptimizationAndBrTrueOpcodeTest() : base(OpCodes.Brtrue) {} } - public class GlobalsWithBoxOptimizationAndBrTrueSOpcodeTest : BoxTestsBase { public GlobalsWithBoxOptimizationAndBrTrueSOpcodeTest() : base(OpCodes.Brtrue_S) {} } - public class GlobalsWithBoxOptimizationAndBrFalseOpcodeTest : BoxTestsBase { public GlobalsWithBoxOptimizationAndBrFalseOpcodeTest() : base(OpCodes.Brfalse) {} } - public class GlobalsWithBoxOptimizationAndBrFalseSOpcodeTest : BoxTestsBase { public GlobalsWithBoxOptimizationAndBrFalseSOpcodeTest() : base(OpCodes.Brfalse_S) {} } -} - -// 2. And formatting this produces the third. - -namespace Unity.IL2CPP.IntegrationTests.ILTests.Tests -{ - public class GlobalsWithBoxOptimizationAndBrTrueOpcodeTest : BoxTestsBase - { - public GlobalsWithBoxOptimizationAndBrTrueOpcodeTest() : base(OpCodes.Brtrue) {} - } - public class GlobalsWithBoxOptimizationAndBrTrueSOpcodeTest : BoxTestsBase - { - public GlobalsWithBoxOptimizationAndBrTrueSOpcodeTest() : base(OpCodes.Brtrue_S) {} - } - public class GlobalsWithBoxOptimizationAndBrFalseOpcodeTest : BoxTestsBase - { - public GlobalsWithBoxOptimizationAndBrFalseOpcodeTest() : base(OpCodes.Brfalse) {} - } - public class GlobalsWithBoxOptimizationAndBrFalseSOpcodeTest : BoxTestsBase - { - public GlobalsWithBoxOptimizationAndBrFalseSOpcodeTest() : base(OpCodes.Brfalse_S) {} - } -} - -// 3. This doesn't changes when formatted. - -namespace Unity.IL2CPP.IntegrationTests.ILTests.Tests -{ - public class GlobalsWithBoxOptimizationAndBrTrueOpcodeTest : BoxTestsBase - { - public GlobalsWithBoxOptimizationAndBrTrueOpcodeTest() : base(OpCodes.Brtrue) {} - } - public class GlobalsWithBoxOptimizationAndBrTrueSOpcodeTest : BoxTestsBase - { - public GlobalsWithBoxOptimizationAndBrTrueSOpcodeTest() : base(OpCodes.Brtrue_S) {} - } - public class GlobalsWithBoxOptimizationAndBrFalseOpcodeTest : BoxTestsBase - { - public GlobalsWithBoxOptimizationAndBrFalseOpcodeTest() : base(OpCodes.Brfalse) {} - } - public class GlobalsWithBoxOptimizationAndBrFalseSOpcodeTest : BoxTestsBase - { - public GlobalsWithBoxOptimizationAndBrFalseSOpcodeTest() : base(OpCodes.Brfalse_S) {} - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60012-UNI-12303.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60012-UNI-12303.cs deleted file mode 100644 index 01be8291..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60012-UNI-12303.cs +++ /dev/null @@ -1,4 +0,0 @@ -//This gets a double indentation -devicePositions[device] = rect = new Rect( - Vector2.Lerp(rect.position, target.position, 0.1f), - Vector2.Lerp(rect.size, target.size, 0.1f)); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60013-UNI-13955.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60013-UNI-13955.cs deleted file mode 100644 index 940aa89b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60013-UNI-13955.cs +++ /dev/null @@ -1,16 +0,0 @@ -if (m_Preview.GetExpanded()) -{ - m_EventSearchString = EditorGUI.TextField(searchRect, m_EventSearchString, Styles.toolbarSearchField); - if (GUILayout.Button( - GUIContent.none, - m_EventSearchString == string.Empty ? Styles.toolbarSearchFieldCancelEmpty : Styles.toolbarSearchFieldCancel)) - { - } -} - -// The closing parenthesis is being indented twice. -bool success = GenerateSecondaryUVSet( - &mesh.vertices[0].x, mesh.vertices.size(), - &triUV[0].x, &triList[0], triSrcPoly.size() ? &triSrcPoly[0] : 0, triCount, - &outUV[0].x, param, errorBuffer, bufferSize -); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60015-UNI-14131.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60015-UNI-14131.cs deleted file mode 100644 index 9656bee8..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60015-UNI-14131.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System.Collections.Generic; - -class C -{ - public void S() - { - Action localMethod = () => { - SomeClass.OtherMethod(new Dictionary<string, string> - { - {"a", "one"}, - {"b", "two"}, - {"c", "three"} - }); - }; - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60016-UNI-11662.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60016-UNI-11662.cs deleted file mode 100644 index 9a49fdba..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60016-UNI-11662.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Unity -{ - public class Class - { - // doesn't work because ; gets removed but - public static readonly Class A = new Class() { name = "A", id = 1 }; - // works and ; doesn't get removed - public static readonly Class B = new Class { name = "B", id = 2 }; - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60018-UNI-18777.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60018-UNI-18777.cs deleted file mode 100644 index 198d5be3..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60018-UNI-18777.cs +++ /dev/null @@ -1,9 +0,0 @@ -// I want to keeep the function call indented -Thingy - .Select(x => x > 2) - .ToList(); - -// it works with a var -var x = Thingy - .Select(x => x > 2) - .ToList(); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60019-UNI-18780.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60019-UNI-18780.cs deleted file mode 100644 index 0eea713e..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60019-UNI-18780.cs +++ /dev/null @@ -1,7 +0,0 @@ -// note that this only happens with positive int literals. if i use a float with a decimal, or 'c' or "abc" or whatever, or even `(-5)`, it's ok. -5.Clamp(2, 10).ShouldBe(5); -5.Clamp(-5, 10).ShouldBe(5); -5.Clamp("a", 10).ShouldBe(5); - -"4".Clamp(2, 10).ShouldBe(5); -(-5).Clamp(2, 10).ShouldBe(5); diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60020-UNI-18829.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60020-UNI-18829.cs deleted file mode 100644 index a72ca87b..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60020-UNI-18829.cs +++ /dev/null @@ -1,20 +0,0 @@ -// It shouldn't detele the space after the tuple definition -public static (bool updated, Warnings warnings) UpdateIncludesInFile( - string fileToUpdate, string oldIncludeFile, string newIncludeFile) -{ - // ... -} - -// It shouldn't detele the space after the tuple definition -public static (int, string) UpdateIncludesInFile( - string fileToUpdate, string oldIncludeFile, string newIncludeFile) -{ - // ... -} - -// It shouldn't detele the space after the tuple definition and updated, warnings should be tokenized as types -public static (updated, warnings) UpdateIncludesInFile( - string fileToUpdate, string oldIncludeFile, string newIncludeFile) -{ - // ... -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60023-UNI-18437.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60023-UNI-18437.cs deleted file mode 100644 index d8178e73..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60023-UNI-18437.cs +++ /dev/null @@ -1,22 +0,0 @@ -private static Type[] GetAllVisualElementTypes() -{ - return typeof(VisualElement).Assembly.GetTypes() - .Where(t => t != typeof(VisualElement) && - t != typeof(Panel) && - !t.IsAbstract && - !typeof(IMElement).IsAssignableFrom(t) && - !typeof(IMContainer).IsAssignableFrom(t) && - typeof(VisualElement).IsAssignableFrom(t)).ToArray(); -} - -// to this -private static Type[] GetAllVisualElementAssetTypes() -{ - return typeof(VisualElement).Assembly.GetTypes() - .Where(t => t != typeof(VisualElement) && - t != typeof(Panel) && - !t.IsAbstract && - !typeof(IMElement).IsAssignableFrom(t) && - !typeof(IMContainer).IsAssignableFrom(t) && - typeof(VisualElement).IsAssignableFrom(t)).ToArray(); -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60024-UNI-19644.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60024-UNI-19644.cs deleted file mode 100644 index eb0d4c9c..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60024-UNI-19644.cs +++ /dev/null @@ -1,7 +0,0 @@ -//It deletes the space after { -class Foo -{ - extern internal bool canAccess { [NativeMethod(Name = "CanAccessFromScript")] get; } - - extern public int subMeshCount { get; [NativeMethod(Name = "CanAccessFromScript")] set; } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60026-UNI-19895.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60026-UNI-19895.cs deleted file mode 100644 index 1fedd580..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60026-UNI-19895.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using UnityEngine; -using UnityEngine.Serialization; -namespace UnityEngine.Experimental.Input -{ - public class ActionMap : ScriptableObject, IControlDomainSource - { - public List<InputControl> BuildControlsList() - { - ControlSetup controlsSetup = new ControlSetup(); - for (int i = 0; i < actions.Count; i++) - { - var action = actions[i]; -// This line is kept with 71 spaces. - SupportedControl supportedControl = (SupportedControl)(typeof(SupportedControl) - .GetMethod("Get") - .MakeGenericMethod(actions[i].controlType) - .Invoke(null, new object[] { actions[i].name })); - action.controlIndex = controlsSetup.AddControl(supportedControl).index; - } - return controlsSetup.controls; - } - } -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60033-UNI-21730.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60033-UNI-21730.cs deleted file mode 100644 index 6fcb8c16..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60033-UNI-21730.cs +++ /dev/null @@ -1,5 +0,0 @@ -private void Foo()
-{
- Action<UnityPlayerBaseStartInfo, GraphicsTestRunConfiguration, Action<string, Bitmap, long>, RenderingBackend, DX11FeatureLevel? , string> playerRunnerImageCallback
- = (playerStartInfo, description, incomingScreenshotCallback, configuration, dx11Featurelevel, graphicsDriverType) => incomingScreenshotCallback(filename, new Bitmap(1, 1), 42);
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60036-UNI-11993.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60036-UNI-11993.cs deleted file mode 100644 index bf703537..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60036-UNI-11993.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Namespace
-{
- public class Class
- {
- #if DEBUG
- public statc foo()
- {
- }
-
- #endif
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60037-UNI-29933.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60037-UNI-29933.cs deleted file mode 100644 index 943cbf35..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60037-UNI-29933.cs +++ /dev/null @@ -1,27 +0,0 @@ -void Foo1()
-{
- switch (foo)
- {
- case 1:
- _bar = new Bar(x, y,
- z, a);
- break;
- case 2:
- _bar = new Bar(x, y,
- z, a);
- break;
- case 3:
- _bar = foo.bar;
- break;
- case 4:
- foo.bar = Bar.BarFunc(x, (x == y)
- ? foo.x
- : foo.y);
- break;
- case 5:
- foo.bar = Bar.BarFunc(x, (x == y)
- ? foo.x
- : foo.y);
- break;
- }
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60040-UNI-30498_2.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60040-UNI-30498_2.cs deleted file mode 100644 index 445a7c97..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60040-UNI-30498_2.cs +++ /dev/null @@ -1,39 +0,0 @@ -class Foo
-{
- public static IEnumerable<NPath> RuntimeIncludes { get; }
- = new[]
- {
- new NPath("Projects/PrecompiledHeaders")
- };
-
- void Foo(string file)
- {
- var type = Path.GetFileNameWithoutExtension(file);
- switch (Path.GetExtension(file))
- {
- case ".cs":
- resource = new Bar(string.Format("test output",
- type));
- break;
- case ".baz":
- resource = new Baz(type,
- string.Format(@"test output
-with multiple
-lines
-",
- type));
- break;
- }
- }
-}
-
-public class Bar
-{
- private static FooBar Baz { get; }
- = new FooBar()
- .WithPath("foo/bar/baz")
- .WithSource("qux/quux/quuz")
- .WithPrebuiltReference(FooBar.Baz)
- .WithBaz("2")
- .Complete();
-}
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60041-squeeze-paren-close-Option.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60041-squeeze-paren-close-Option.cs deleted file mode 100644 index 2fc371c3..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60041-squeeze-paren-close-Option.cs +++ /dev/null @@ -1,29 +0,0 @@ -bool success(GenerateSecondaryUVSet(test(
- &mesh.vertices[0].x, mesh.vertices.size(),
- &triUV[0].x, &triList[0], triSrcPoly.size() ? &triSrcPoly[0] : 0, triCount,
- &outUV[0].x, param, errorBuffer, bufferSize
-)));
-
-int m = aaaaaaaaaaabaaaaaaaaaa(caaaaaaaaaa(
- eaaaaaaaaaa(gaaaaaaaaaaa(haaaaaaaaaaaaa(
- iaaaaaaaaaaaaaaaaaaaaaa(kaaaaaaaaaaaaaaaaaaaa)
- )))
-));
-
-int m = aaaaaaaaaaabaaaaaaaaaa(caaaaaaaaaa(
- eaaaaaaaaaa(gaaaaaaaaaaa(haaaaaaaaaaaaa(
- iaaaaaaaaaaaaaaaaaaaaaa(kaaaaaaaaaaaaaaaaaaaa)
- )))
-));
-
-int m = aaaaaaaaaaabaaaaaaaaaa(
- caaaaaaaaaa(
- eaaaaaaaaaa(
- gaaaaaaaaaaa(
- haaaaaaaaaaaaa(
- iaaaaaaaaaaaaaaaaaaaaaa(kaaaaaaaaaaaaaaaaaaaa)
- )
- )
- )
- )
-);
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60042-indent-multistring-coulmn1.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60042-indent-multistring-coulmn1.cs deleted file mode 100644 index 4f66d541..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60042-indent-multistring-coulmn1.cs +++ /dev/null @@ -1,16 +0,0 @@ -//This -var a = hello( - @"world" - ); - -//should stay the same. -//But this -var a = hello( -@"world -"); - -//should get formatted to this -var a = hello( -@"world -"); - diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60044-UNI-37241.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60044-UNI-37241.cs deleted file mode 100644 index 57d4ffeb..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60044-UNI-37241.cs +++ /dev/null @@ -1,5 +0,0 @@ -public double TotalPurchases { get; set; }
-protected IEnumerable<string> Defines { get; } =
- TargetPlatformRules.Elements
- .Append("LINUX")
- .Append("_RAKNET_LIB");
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60045-add-nl-before-namespace.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60045-add-nl-before-namespace.cs deleted file mode 100644 index d9840704..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60045-add-nl-before-namespace.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace MyNamespace -{ - -namespace MyNamespace2 -{ - -class A -{ -} - -} - -} diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60046-cast.cs b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60046-cast.cs deleted file mode 100644 index 6c5d11db..00000000 --- a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cs/60046-cast.cs +++ /dev/null @@ -1,7 +0,0 @@ -foo = (Type) bar; - -foo = (Ns.Type) bar; - -foo = (Type<int>) bar; - -foo = (Type<int, int>) bar; |