SEE ICheckDataSource for documentation of these functions !!!!
Inheritance: IChecksDataSource
コード例 #1
0
		public void TestSetup()
		{
			m_source = new UnitTestChecksDataSource();

			string stylesInfo =
				"<?xml version=\"1.0\" encoding=\"utf-16\"?><StylePropsInfo>" +
				"<SentenceInitial>" +
					"<StyleInfo StyleName=\"q1\" StyleType=\"paragraph\" UseType=\"line\"/>" +
					"<StyleInfo StyleName=\"q2\" StyleType=\"paragraph\" UseType=\"line\"/>" +
					"<StyleInfo StyleName=\"p\" StyleType=\"paragraph\" UseType=\"prose\"/>" +
					"<StyleInfo StyleName=\"d\" StyleType=\"paragraph\" UseType=\"prose\"/>" +
				"</SentenceInitial><ProperNouns/><Table/><List/>" +
				"<Special>" +
					"<StyleInfo StyleName=\"b\" StyleType=\"paragraph\" UseType=\"stanzabreak\"/>" +
				"</Special>" +
				"<Heading>" +
					"<StyleInfo StyleName=\"s\" StyleType=\"paragraph\" UseType=\"other\"/>" +
				"</Heading>" +
				"<Title/>" +
				"</StylePropsInfo>";

			m_source.SetParameterValue("StylesInfo", stylesInfo);
		}