AddConverterDlgTests.CnvtrPropertiesControlTests.SelectMapping_Compound C# (CSharp) Method

SelectMapping_Compound() private method

private SelectMapping_Compound ( ) : void
return void
		public void SelectMapping_Compound()
		{
			// This is a type we don't recognize.
			m_myCtrl.SelectMapping("ZZZUnitTestCompound");
			Assert.AreEqual(-1, m_myCtrl.cboConverter.SelectedIndex, "Should NOT be able to select ZZZUnitTestCompound");
			Assert.IsFalse(m_myCtrl.cboSpec.Visible, "ComboBox for Specifying Converter should not be visible for ZZZUnitTestCompound");
			Assert.IsTrue(m_myCtrl.btnMapFile.Visible, "Button for selecting map file should be visible for ZZZUnitTestCompound");
			Assert.IsTrue(m_myCtrl.txtMapFile.Visible, "TextBox for displaying map file should be visible for ZZZUnitTestCompound");
			Assert.AreEqual("ZZZUnitTestCompound", m_myCtrl.txtName.Text, "Displayed converter should be ZZZUnitTestCompound");
		}