text_template mock_text_template_factory:: make_expression_text_expression_single_line() const { text_template r(make_text_template_with_trivial_settings()); r.lines(make_expression_block_only_lines()); r.lines().splice(r.lines().end(), make_text_block_only_lines()); r.lines().splice(r.lines().end(), make_expression_block_only_lines()); return r; }
text_template mock_text_template_factory:: make_expression_text_expression_multi_line(const unsigned int how_many) const { text_template r(make_text_template_with_trivial_properties()); r.body().lines(make_expression_block_only_lines(how_many)); auto& l(r.body().lines()); l.splice(l.end(), make_text_block_only_lines(how_many)); l.splice(l.end(), make_expression_block_only_lines(how_many)); return r; }
text_template mock_text_template_factory:: make_expression_text_expression_single_line() const { text_template r(make_text_template_with_trivial_properties()); r.body().lines(make_expression_block_only_lines()); auto& l(r.body().lines()); l.splice(l.end(), make_text_block_only_lines()); l.splice(l.end(), make_expression_block_only_lines()); return r; }
text_template mock_text_template_factory:: make_expression_text_expression_multi_line(const unsigned int how_many) const { text_template r(make_text_template_with_trivial_settings()); r.lines(make_expression_block_only_lines(how_many)); r.lines().splice(r.lines().end(), make_text_block_only_lines(how_many)); r.lines().splice(r.lines().end(), make_expression_block_only_lines(how_many)); return r; }
text_template mock_text_template_factory:: make_multiple_expression_block_lines(const unsigned int how_many) const { text_template r(make_text_template_with_trivial_properties()); r.body().lines(make_expression_block_only_lines(how_many)); return r; }
text_template mock_text_template_factory:: make_single_expression_block_line() const { text_template r(make_text_template_with_trivial_properties()); r.body().lines(make_expression_block_only_lines()); return r; }