예제 #1
0
        private static void writeInitialData(HtmlDocument document, Suite top, FixtureLibrary fixtures, string title)
        {
            ClientMessage[] initial = new ClientMessage[]
            {
                new FixturesReloaded {fixtures = fixtures.Models.ToArray()},
                new HierarchyLoaded(top, new ResultsCache()),
                new ProjectTitle(title),
            };

            var cleanJson = JsonSerialization.ToCleanJson(initial);
            document.Body.Add("div").Hide().Id("spec-data").Text(cleanJson);
        }
예제 #2
0
 public void Add(ClientMessage message)
 {
     _messages.Add(message);
 }
예제 #3
0
 public void Add(ClientMessage message)
 {
     _messages.Add(message);
 }