summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cs/bug_1620.cs
blob: 0c9d4eb977e7cea68439b6fac08f09d2c6c8297f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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"
    }
        );
}