예제 #1
0
        public void SerializeAndDeserializeProject2()
        {
            var project = TestProjects.CreateBasicProject2();

            var strProject = ProjectSerialization.SerializeProject(project);

            var project2 = ProjectSerialization.LoadFromString(strProject);
        }
예제 #2
0
        public async Task RunProject2()
        {
            var project = TestProjects.CreateBasicProject2();

            var expectedText = string.Join(Environment.NewLine,
                                           sourceText.Split(Environment.NewLine)
                                           .Select(l => l.Trim())
                                           );

            await RunProject(project, expectedText);
        }
예제 #3
0
        public async Task RunProject1()
        {
            var project = TestProjects.CreateBasicProject1();

            await RunProject(project, sourceText);
        }
예제 #4
0
        public void SerializeProject2()
        {
            var project = TestProjects.CreateBasicProject2();

            var strProject = ProjectSerialization.SerializeProject(project);
        }