public void SetUp() { theScenario = ParsingScenario.Create(scenario => { scenario.WriteLine("feed 'some url', mode: 'float', stability: 'released'"); }); }
public void SetUp() { theScenario = ParsingScenario.Create(scenario => { scenario.WriteLine("feed 'url1', mode: 'fixed'"); scenario.WriteLine("feed 'url2', mode: 'float'"); }); }
public void SetUp() { theScenario = ParsingScenario.Create(scenario => { scenario.WriteLine("# Comment"); scenario.WriteLine("blockProperty:"); scenario.WriteLine(" property1: 'string value'"); scenario.WriteLine(" property2: 'another string value'"); }); }
public void SetUp() { theScenario = ParsingScenario.Create(scenario => { scenario.WriteLine("blockProperty:"); scenario.WriteLine(" property1: 'string value'"); scenario.WriteLine(" property2: 'another string value'"); scenario.WriteLine(" nestedObject:"); scenario.WriteLine(" nestedProperty1: '1'"); scenario.WriteLine(" nestedProperty2: '2'"); }); }
public void SetUp() { theScenario = ParsingScenario.Create(scenario => { scenario.WriteLine("test1: 'immediate value'"); scenario.WriteLine(""); scenario.WriteLine("nestedType:"); scenario.WriteLine(" nestedProperty: 'string value'"); scenario.WriteLine(""); scenario.WriteLine("test2: 'another value'"); }); }
public void SetUp() { theScenario = ParsingScenario.Create(scenario => { scenario.WriteLine("test1: 'immediate value'"); scenario.WriteLine(""); scenario.WriteLine("nestedType:"); scenario.WriteLine(" nestedProperty: 'string value'"); scenario.WriteLine(""); scenario.WriteLine("feed 'some url', mode: 'float', stability: 'released'"); scenario.WriteLine(""); scenario.WriteLine("test2: 'another value'"); }); }
public void SetUp() { theScenario = ParsingScenario.Create(scenario => { scenario.WriteLine("name: 'Joel'"); scenario.WriteLine("email: '*****@*****.**'"); scenario.WriteLine(""); scenario.WriteLine("target:"); scenario.WriteLine(" url: '/test'"); scenario.WriteLine(""); scenario.WriteLine("item 'value1', property: 'test'"); scenario.WriteLine("item 'value2', property: 'testing'"); scenario.WriteLine(""); scenario.WriteLine("feed 'http://localhost', mode: 'fixed'"); }); theTarget = theScenario.Read <EndToEndTarget, EndToEndSettings>(); }