~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/UnitTests/MonoDevelop.Projects/SolutionTests.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
229
229
                        
230
230
                        // Projects inherit the file format from the parent solution
231
231
                        Solution sol = new Solution ();
 
232
                        sol.ConvertToFormat (Util.FileFormatMSBuild05, true);
232
233
                        sol.RootFolder.Items.Add (prj);
233
234
                        Assert.AreEqual ("test4", prj.Name);
234
235
                        Assert.AreEqual (Path.Combine (Path.GetTempPath (), "test4.csproj"), (string) prj.FileName);
491
492
                        Solution sol = TestProjectsChecks.CreateConsoleSolution ("reloading");
492
493
                        Project p = (Project) sol.Items [0];
493
494
                        
494
 
                        Assert.AreEqual (Ide.IdeApp.Services.ProjectService.DefaultFileFormatId, sol.FileFormat.Id);
495
 
                        Assert.AreEqual (Ide.IdeApp.Services.ProjectService.DefaultFileFormatId, p.FileFormat.Id);
 
495
                        Assert.AreEqual (Services.ProjectService.DefaultFileFormatId, sol.FileFormat.Id);
 
496
                        Assert.AreEqual (Services.ProjectService.DefaultFileFormatId, p.FileFormat.Id);
496
497
                        
497
498
                        // Change solution format of unsaved solution
498
499
                        
521
522
                        // Add new project
522
523
                        
523
524
                        Project newp = new DotNetAssemblyProject ("C#");
524
 
                        Assert.AreEqual ("MSBuild05", newp.FileFormat.Id);
 
525
                        Assert.AreEqual ("MSBuild10", newp.FileFormat.Id);
525
526
                        
526
527
                        sol.RootFolder.Items.Add (newp);
527
528
                        Assert.AreEqual ("MD1", newp.FileFormat.Id);