Beispiel #1
0
		public void SetGet ()
		{
			Activity activity = new Activity ();

			Assert.AreEqual ("Activity", activity.Name, "C1#1");
			Assert.AreEqual ("", activity.Description, "C1#2");
			Assert.AreEqual (true, activity.Enabled, "C1#3");
			Assert.AreEqual (activity.ExecutionResult, ActivityExecutionResult.None, "C1#4");
			Assert.AreEqual (activity.ExecutionStatus, ActivityExecutionStatus.Initialized, "C1#5");
			Assert.AreEqual ("Activity", activity.QualifiedName, "C1#6");
			Assert.AreEqual ("Activity [System.Workflow.ComponentModel.Activity]", activity.ToString (), "C1#7");
		}