SILUBS.ScriptureChecks.QuotationCheckUnitTest.ToManyLevels C# (CSharp) Method

ToManyLevels() private method

private ToManyLevels ( ) : void
return void
		public void ToManyLevels()
		{
			m_qmarks = QuotationMarksList.NewList();
			m_qmarks.QMarksList[0].Opening = "<<";
			m_qmarks.QMarksList[0].Closing = ">>";
			m_qmarks.QMarksList[1].Opening = "<";
			m_qmarks.QMarksList[1].Closing = ">";
			m_source.SetParameterValue("QuotationMarkInfo", m_qmarks.XmlString);

			Test(new string[,] {
				{ "<", FormatMessage(kUnmatchedOpeningMark, 2) },
				{ "<<", FormatMessage(kUnmatchedOpeningMark, 1) },
				{ ">", FormatMessage(kUnmatchedClosingMark, 2) },
				{ ">>", FormatMessage(kUnmatchedClosingMark, 1) },
				}, @"\p \v 1 << <foo <<bar baz>> qux> quux>>");

			Test(new string[,] {
				{ "<", FormatMessage(kUnmatchedOpeningMark, 2) },
				{ ">", FormatMessage(kUnmatchedClosingMark, 2) },
				}, @"\p \v 1 << <foo <bar baz> qux> quux>>");
		}
QuotationCheckUnitTest