예제 #1
0
 public void DataEntryContractAttribute_InitializingConstructorForWorkflowDesigner()
 {
     _dataEntryContractAttribute = new DataEntryContractAttribute(ModuleType.WorkflowDesigner, DataEntryType.Unset);
     Assert.AreEqual(ModuleType.WorkflowDesigner, _dataEntryContractAttribute.ModuleType);
     Assert.AreEqual(DataEntryType.Unset, _dataEntryContractAttribute.DataEntryType);
 }
예제 #2
0
 public void DataEntryContractAttribute_InitializingConstructorForFieldInterview()
 {
     _dataEntryContractAttribute = new DataEntryContractAttribute(ModuleType.FieldInterview, DataEntryType.Summary);
     Assert.AreEqual(ModuleType.FieldInterview, _dataEntryContractAttribute.ModuleType);
     Assert.AreEqual(DataEntryType.Summary, _dataEntryContractAttribute.DataEntryType);
 }
예제 #3
0
 public void DataEntryContractAttribute_InitializingConstructorForIncident()
 {
     _dataEntryContractAttribute = new DataEntryContractAttribute(ModuleType.Incident, DataEntryType.Summary);
     Assert.AreEqual(ModuleType.Incident, _dataEntryContractAttribute.ModuleType);
     Assert.AreEqual(DataEntryType.Summary, _dataEntryContractAttribute.DataEntryType);
 }
예제 #4
0
 public void DataEntryContractAttribute_InitializingConstructorForCallForService()
 {
     _dataEntryContractAttribute = new DataEntryContractAttribute(ModuleType.CallForService, DataEntryType.Report);
     Assert.AreEqual(ModuleType.CallForService, _dataEntryContractAttribute.ModuleType);
     Assert.AreEqual(DataEntryType.Report, _dataEntryContractAttribute.DataEntryType);
 }
예제 #5
0
 public void DataEntryContractAttribute_InitializingConstructorForArrest()
 {
     _dataEntryContractAttribute = new DataEntryContractAttribute(ModuleType.Arrest, DataEntryType.Report);
     Assert.AreEqual(ModuleType.Arrest, _dataEntryContractAttribute.ModuleType);
     Assert.AreEqual(DataEntryType.Report, _dataEntryContractAttribute.DataEntryType);
 }
예제 #6
0
 public void DataEntryContractAttribute_InitializingConstructorForAgencyAdministration()
 {
     _dataEntryContractAttribute = new DataEntryContractAttribute(ModuleType.AgencyAdministration, DataEntryType.Report);
     Assert.AreEqual(ModuleType.AgencyAdministration, _dataEntryContractAttribute.ModuleType);
     Assert.AreEqual(DataEntryType.Report, _dataEntryContractAttribute.DataEntryType);
 }
 public void DataEntryContractAttribute_InitializingConstructorForCitation()
 {
     dataEntryContractAttribute = new DataEntryContractAttribute(ModuleType.Citation, DataEntryType.Summary);
     Assert.AreEqual(ModuleType.Citation, dataEntryContractAttribute.ModuleType);
     Assert.AreEqual(DataEntryType.Summary, dataEntryContractAttribute.DataEntryType);
 }
 public void DataEntryContractAttribute_InitializingConstructorForAccident()
 {
     dataEntryContractAttribute = new DataEntryContractAttribute(ModuleType.Crash, DataEntryType.Report);
     Assert.AreEqual(ModuleType.Crash, dataEntryContractAttribute.ModuleType);
     Assert.AreEqual(DataEntryType.Report, dataEntryContractAttribute.DataEntryType);
 }