public void Test_Toast_Xml_TextBox_Title_Value() { var textBox = new ToastTextBox("myId") { Title = "My title" }; AssertInputPayload("<input id='myId' type='text' title='My title' />", textBox); }
public void Test_Toast_Xml_TextBox_PlaceholderContent_Value() { var textBox = new ToastTextBox("myId") { PlaceholderContent = "My placeholder content" }; AssertInputPayload("<input id='myId' type='text' placeHolderContent='My placeholder content' />", textBox); }
public void Test_Toast_Xml_TextBox_DefaultTextInput_Value() { var textBox = new ToastTextBox("myId") { DefaultInput = "Default text input" }; AssertInputPayload("<input id='myId' type='text' defaultInput='Default text input' />", textBox); }
public void Test_Toast_Xml_TextBox_EmptyId() { var textBox = new ToastTextBox(""); AssertInputPayload("<input id='' type='text' />", textBox); }
public void Test_Toast_Xml_TextBox_Defaults() { var textBox = new ToastTextBox("myId"); AssertInputPayload("<input id='myId' type='text' />", textBox); }