Esempio n. 1
0
 void mdxrReader_ZacatekRadku(object sender, TableRowEventArgs ev)
 {
     mxwWriter.WriteStartElement(mtrTransformace.Tabulky.Radek);
     if (mtrTransformace.Tabulky.CislovatElementy)
     {
         mxwWriter.WriteAttributeString("n", ev.Sequence.ToString());
     }
 }
Esempio n. 2
0
        private void ParseRow(object sender, TableRowEventArgs e)
        {
            if (!e.Row.ContainsKey(Constants.SpecFlow.TABLE_VALUE))
            {
                return;
            }

            var value = e.Row[Constants.SpecFlow.TABLE_VALUE];

            if (string.IsNullOrWhiteSpace(value) || !value.StartsWith("="))
            {
                return;
            }

            object parsed    = _formulaContext.Parse(value.Substring(1));
            var    attribute = GlobalTestingContext.Metadata.GetAttributeMetadata(e.EntityName, e.Row[Constants.SpecFlow.TABLE_KEY]);

            e.Row[Constants.SpecFlow.TABLE_VALUE] = ObjectConverter.ToSpecflowTableValue(attribute, parsed);
        }
Esempio n. 3
0
 private void mdxrReader_ZacatekRadku(object sender, TableRowEventArgs ev)
 {
     ZpracovatZnakovyStylJakoJevNaKonciUseku();
     //throw new NotImplementedException();
 }
Esempio n. 4
0
 void mdxrReader_KonecRadku(object sender, TableRowEventArgs ev)
 {
     mxwWriter.WriteEndElement();
 }