public void TestFixtureSetUp() { connection = new SynergyConnectionInfo(); connection.Host = "localhost"; connection.Database = @"\\server\share\mydb"; connection.Delimiter = '-'; project = new SynergyProjectInfo(); project.ProjectSpecification = "MyProject-MyProject_Int"; }
public void ProjectDefaults() { SynergyProjectInfo actual = new SynergyProjectInfo(); Assert.IsNull(actual.Release); Assert.IsNull(actual.ProjectSpecification); Assert.AreEqual(0, actual.TaskFolder); Assert.AreEqual(DateTime.MinValue, actual.LastReconfigureTime); Assert.IsFalse(actual.BaseliningEnabled); Assert.AreEqual("Integration Testing", actual.Purpose); }
public void TestFixtureSetUp() { Synergy synergy = (Synergy)NetReflector.Read(SynergyMother.ConfigValues); connection = synergy.Connection; connection.Host = "localhost"; connection.Username = "******"; connection.Password = "******"; connection.Role = "build_mgr"; connection.Database = @"\\server\share\dbname"; connection.Delimiter = '-'; connection.WorkingDirectory = @"C:\Program Files\Telelogic\CM Synergy 6.3\bin"; connection.HomeDirectory = @"C:\cmsynergy\jdoe"; connection.ClientDatabaseDirectory = @"C:\cmsynergy\uidb"; connection.SessionId = "LOCALHOST:1234:127.0.0.1"; project = synergy.Project; project.ProjectSpecification = "MyProject-MyProject_Int"; project.ObjectName = "MyProject-MyProject_Int:project:1"; project.Purpose = "Integration Testing"; project.Release = "MyProduct/1.0"; project.TaskFolder = 1234; }