Lines Matching full:n
367 "first line\n" in ATF_TEST_CASE_BODY()
368 "%%testvar1%%\n" in ATF_TEST_CASE_BODY()
369 "third line\n" in ATF_TEST_CASE_BODY()
370 "%%testvar2%% %%testvar3%%%%testvar4%%\n" in ATF_TEST_CASE_BODY()
371 "fifth line\n"; in ATF_TEST_CASE_BODY()
374 "first line\n" in ATF_TEST_CASE_BODY()
375 "second line\n" in ATF_TEST_CASE_BODY()
376 "third line\n" in ATF_TEST_CASE_BODY()
377 "fourth line.\n" in ATF_TEST_CASE_BODY()
378 "fifth line\n"; in ATF_TEST_CASE_BODY()
394 "%%testvar1%%\n"; in ATF_TEST_CASE_BODY()
407 "%%length(testvector1)%%\n" in ATF_TEST_CASE_BODY()
408 "%%length(testvector2)%% - %%length(testvector3)%%\n"; in ATF_TEST_CASE_BODY()
411 "4\n" in ATF_TEST_CASE_BODY()
412 "0 - 1\n"; in ATF_TEST_CASE_BODY()
432 "%%length(testvector)%%\n"; in ATF_TEST_CASE_BODY()
445 "first line\n" in ATF_TEST_CASE_BODY()
446 "%%testvector1(i)%%\n" in ATF_TEST_CASE_BODY()
447 "third line\n" in ATF_TEST_CASE_BODY()
448 "%%testvector2(j)%%\n" in ATF_TEST_CASE_BODY()
449 "fifth line\n"; in ATF_TEST_CASE_BODY()
452 "first line\n" in ATF_TEST_CASE_BODY()
453 "543\n" in ATF_TEST_CASE_BODY()
454 "third line\n" in ATF_TEST_CASE_BODY()
455 "123\n" in ATF_TEST_CASE_BODY()
456 "fifth line\n"; in ATF_TEST_CASE_BODY()
477 "%%testvector(j)%%\n"; in ATF_TEST_CASE_BODY()
490 "%%testvector(j)%%\n"; in ATF_TEST_CASE_BODY()
504 "%%testvector(j)%%\n"; in ATF_TEST_CASE_BODY()
520 "first line\n" in ATF_TEST_CASE_BODY()
521 "%if defined(some_var)\n" in ATF_TEST_CASE_BODY()
522 "hello from within the variable conditional\n" in ATF_TEST_CASE_BODY()
523 "%endif\n" in ATF_TEST_CASE_BODY()
524 "%if defined(some_vector)\n" in ATF_TEST_CASE_BODY()
525 "hello from within the vector conditional\n" in ATF_TEST_CASE_BODY()
526 "%else\n" in ATF_TEST_CASE_BODY()
527 "bye from within the vector conditional\n" in ATF_TEST_CASE_BODY()
528 "%endif\n" in ATF_TEST_CASE_BODY()
529 "some more\n"; in ATF_TEST_CASE_BODY()
532 "first line\n" in ATF_TEST_CASE_BODY()
533 "hello from within the variable conditional\n" in ATF_TEST_CASE_BODY()
534 "hello from within the vector conditional\n" in ATF_TEST_CASE_BODY()
535 "some more\n"; in ATF_TEST_CASE_BODY()
549 "first line\n" in ATF_TEST_CASE_BODY()
550 "%if defined(some_var)\n" in ATF_TEST_CASE_BODY()
551 "hello from within the variable conditional\n" in ATF_TEST_CASE_BODY()
552 "%endif\n" in ATF_TEST_CASE_BODY()
553 "%if defined(some_vector)\n" in ATF_TEST_CASE_BODY()
554 "hello from within the vector conditional\n" in ATF_TEST_CASE_BODY()
555 "%else\n" in ATF_TEST_CASE_BODY()
556 "bye from within the vector conditional\n" in ATF_TEST_CASE_BODY()
557 "%endif\n" in ATF_TEST_CASE_BODY()
558 "some more\n"; in ATF_TEST_CASE_BODY()
561 "first line\n" in ATF_TEST_CASE_BODY()
562 "bye from within the vector conditional\n" in ATF_TEST_CASE_BODY()
563 "some more\n"; in ATF_TEST_CASE_BODY()
575 "first line\n" in ATF_TEST_CASE_BODY()
576 "%if defined(var1)\n" in ATF_TEST_CASE_BODY()
577 "first before\n" in ATF_TEST_CASE_BODY()
578 "%if length(var2)\n" in ATF_TEST_CASE_BODY()
579 "second before\n" in ATF_TEST_CASE_BODY()
580 "%if defined(var3)\n" in ATF_TEST_CASE_BODY()
581 "third before\n" in ATF_TEST_CASE_BODY()
582 "hello from within the conditional\n" in ATF_TEST_CASE_BODY()
583 "third after\n" in ATF_TEST_CASE_BODY()
584 "%endif\n" in ATF_TEST_CASE_BODY()
585 "second after\n" in ATF_TEST_CASE_BODY()
586 "%else\n" in ATF_TEST_CASE_BODY()
587 "second after not shown\n" in ATF_TEST_CASE_BODY()
588 "%endif\n" in ATF_TEST_CASE_BODY()
589 "first after\n" in ATF_TEST_CASE_BODY()
590 "%endif\n" in ATF_TEST_CASE_BODY()
591 "some more\n"; in ATF_TEST_CASE_BODY()
594 "first line\n" in ATF_TEST_CASE_BODY()
595 "first before\n" in ATF_TEST_CASE_BODY()
596 "second before\n" in ATF_TEST_CASE_BODY()
597 "third before\n" in ATF_TEST_CASE_BODY()
598 "hello from within the conditional\n" in ATF_TEST_CASE_BODY()
599 "third after\n" in ATF_TEST_CASE_BODY()
600 "second after\n" in ATF_TEST_CASE_BODY()
601 "first after\n" in ATF_TEST_CASE_BODY()
602 "some more\n"; in ATF_TEST_CASE_BODY()
618 "first line\n" in ATF_TEST_CASE_BODY()
619 "%if defined(var1)\n" in ATF_TEST_CASE_BODY()
620 "first before\n" in ATF_TEST_CASE_BODY()
621 "%if length(var2)\n" in ATF_TEST_CASE_BODY()
622 "second before\n" in ATF_TEST_CASE_BODY()
623 "%if defined(var3)\n" in ATF_TEST_CASE_BODY()
624 "third before\n" in ATF_TEST_CASE_BODY()
625 "hello from within the conditional\n" in ATF_TEST_CASE_BODY()
626 "third after\n" in ATF_TEST_CASE_BODY()
627 "%else\n" in ATF_TEST_CASE_BODY()
628 "will not be shown either\n" in ATF_TEST_CASE_BODY()
629 "%endif\n" in ATF_TEST_CASE_BODY()
630 "second after\n" in ATF_TEST_CASE_BODY()
631 "%else\n" in ATF_TEST_CASE_BODY()
632 "second after shown\n" in ATF_TEST_CASE_BODY()
633 "%endif\n" in ATF_TEST_CASE_BODY()
634 "first after\n" in ATF_TEST_CASE_BODY()
635 "%endif\n" in ATF_TEST_CASE_BODY()
636 "some more\n"; in ATF_TEST_CASE_BODY()
639 "first line\n" in ATF_TEST_CASE_BODY()
640 "first before\n" in ATF_TEST_CASE_BODY()
641 "second after shown\n" in ATF_TEST_CASE_BODY()
642 "first after\n" in ATF_TEST_CASE_BODY()
643 "some more\n"; in ATF_TEST_CASE_BODY()
658 "first line\n" in ATF_TEST_CASE_BODY()
659 "%loop table1 i\n" in ATF_TEST_CASE_BODY()
660 "hello\n" in ATF_TEST_CASE_BODY()
661 "value in vector: %%table1(i)%%\n" in ATF_TEST_CASE_BODY()
662 "%if defined(var1)\n" "some other text\n" "%endif\n" in ATF_TEST_CASE_BODY()
663 "%endloop\n" in ATF_TEST_CASE_BODY()
664 "some more\n"; in ATF_TEST_CASE_BODY()
667 "first line\n" in ATF_TEST_CASE_BODY()
668 "some more\n"; in ATF_TEST_CASE_BODY()
682 "first line\n" in ATF_TEST_CASE_BODY()
683 "%loop table1 i\n" in ATF_TEST_CASE_BODY()
684 "hello %%table1(i)%% %%table2(i)%%\n" in ATF_TEST_CASE_BODY()
685 "%endloop\n" in ATF_TEST_CASE_BODY()
686 "some more\n"; in ATF_TEST_CASE_BODY()
689 "first line\n" in ATF_TEST_CASE_BODY()
690 "hello foo1 foo2\n" in ATF_TEST_CASE_BODY()
691 "hello bar1 bar2\n" in ATF_TEST_CASE_BODY()
692 "some more\n"; in ATF_TEST_CASE_BODY()
710 "first line\n" in ATF_TEST_CASE_BODY()
711 "%loop table1 i\n" in ATF_TEST_CASE_BODY()
712 "before: %%table1(i)%%\n" in ATF_TEST_CASE_BODY()
713 "%loop table2 j\n" in ATF_TEST_CASE_BODY()
714 "before: %%table2(j)%%\n" in ATF_TEST_CASE_BODY()
715 "%loop table3 k\n" in ATF_TEST_CASE_BODY()
716 "%%table3(k)%%\n" in ATF_TEST_CASE_BODY()
717 "%endloop\n" in ATF_TEST_CASE_BODY()
718 "after: %%table2(i)%%\n" in ATF_TEST_CASE_BODY()
719 "%endloop\n" in ATF_TEST_CASE_BODY()
720 "after: %%table1(i)%%\n" in ATF_TEST_CASE_BODY()
721 "%endloop\n" in ATF_TEST_CASE_BODY()
722 "some more\n"; in ATF_TEST_CASE_BODY()
725 "first line\n" in ATF_TEST_CASE_BODY()
726 "before: a\n" in ATF_TEST_CASE_BODY()
727 "after: a\n" in ATF_TEST_CASE_BODY()
728 "before: b\n" in ATF_TEST_CASE_BODY()
729 "after: b\n" in ATF_TEST_CASE_BODY()
730 "some more\n"; in ATF_TEST_CASE_BODY()
748 "first line\n" in ATF_TEST_CASE_BODY()
749 "%loop table1 i\n" in ATF_TEST_CASE_BODY()
750 "%loop table2 j\n" in ATF_TEST_CASE_BODY()
751 "%%table1(i)%% %%table2(j)%%\n" in ATF_TEST_CASE_BODY()
752 "%endloop\n" in ATF_TEST_CASE_BODY()
753 "%endloop\n" in ATF_TEST_CASE_BODY()
754 "some more\n"; in ATF_TEST_CASE_BODY()
757 "first line\n" in ATF_TEST_CASE_BODY()
758 "a 1\n" in ATF_TEST_CASE_BODY()
759 "a 2\n" in ATF_TEST_CASE_BODY()
760 "a 3\n" in ATF_TEST_CASE_BODY()
761 "b 1\n" in ATF_TEST_CASE_BODY()
762 "b 2\n" in ATF_TEST_CASE_BODY()
763 "b 3\n" in ATF_TEST_CASE_BODY()
764 "some more\n"; in ATF_TEST_CASE_BODY()
783 "first line\n" in ATF_TEST_CASE_BODY()
784 "%loop table1 iter\n" in ATF_TEST_CASE_BODY()
785 "1: %%table1(iter)%%\n" in ATF_TEST_CASE_BODY()
786 "%endloop\n" in ATF_TEST_CASE_BODY()
787 "divider\n" in ATF_TEST_CASE_BODY()
788 "%loop table2 iter\n" in ATF_TEST_CASE_BODY()
789 "2: %%table2(iter)%%\n" in ATF_TEST_CASE_BODY()
790 "%endloop\n" in ATF_TEST_CASE_BODY()
791 "divider\n" in ATF_TEST_CASE_BODY()
792 "%loop table3 iter\n" in ATF_TEST_CASE_BODY()
793 "3: %%table3(iter)%%\n" in ATF_TEST_CASE_BODY()
794 "%endloop\n" in ATF_TEST_CASE_BODY()
795 "divider\n" in ATF_TEST_CASE_BODY()
796 "%loop table4 iter\n" in ATF_TEST_CASE_BODY()
797 "4: %%table4(iter)%%\n" in ATF_TEST_CASE_BODY()
798 "%endloop\n" in ATF_TEST_CASE_BODY()
799 "some more\n"; in ATF_TEST_CASE_BODY()
802 "first line\n" in ATF_TEST_CASE_BODY()
803 "1: a\n" in ATF_TEST_CASE_BODY()
804 "1: b\n" in ATF_TEST_CASE_BODY()
805 "divider\n" in ATF_TEST_CASE_BODY()
806 "divider\n" in ATF_TEST_CASE_BODY()
807 "divider\n" in ATF_TEST_CASE_BODY()
808 "4: 1\n" in ATF_TEST_CASE_BODY()
809 "4: 2\n" in ATF_TEST_CASE_BODY()
810 "4: 3\n" in ATF_TEST_CASE_BODY()
811 "some more\n"; in ATF_TEST_CASE_BODY()
832 "%loop table1 i\n" in ATF_TEST_CASE_BODY()
833 "%if defined(i)\n" "i defined inside scope 1\n" "%endif\n" in ATF_TEST_CASE_BODY()
834 "%loop table2 j\n" in ATF_TEST_CASE_BODY()
835 "%if defined(i)\n" "i defined inside scope 2\n" "%endif\n" in ATF_TEST_CASE_BODY()
836 "%if defined(j)\n" "j defined inside scope 2\n" "%endif\n" in ATF_TEST_CASE_BODY()
837 "%endloop\n" in ATF_TEST_CASE_BODY()
838 "%if defined(j)\n" "j defined inside scope 1\n" "%endif\n" in ATF_TEST_CASE_BODY()
839 "%endloop\n" in ATF_TEST_CASE_BODY()
840 "%if defined(i)\n" "i defined outside\n" "%endif\n" in ATF_TEST_CASE_BODY()
841 "%if defined(j)\n" "j defined outside\n" "%endif\n"; in ATF_TEST_CASE_BODY()
844 "i defined inside scope 1\n" in ATF_TEST_CASE_BODY()
845 "i defined inside scope 2\n" in ATF_TEST_CASE_BODY()
846 "j defined inside scope 2\n" in ATF_TEST_CASE_BODY()
847 "i defined inside scope 1\n" in ATF_TEST_CASE_BODY()
848 "i defined inside scope 2\n" in ATF_TEST_CASE_BODY()
849 "j defined inside scope 2\n"; in ATF_TEST_CASE_BODY()
866 "this is some %% text\n" in ATF_TEST_CASE_BODY()
867 "and this is %%var%% text%%\n"; in ATF_TEST_CASE_BODY()
870 "this is some %% text\n" in ATF_TEST_CASE_BODY()
871 "and this is some more text%%\n"; in ATF_TEST_CASE_BODY()
883 do_test_fail(text::templates_def(), "%\n", "Empty statement"); in ATF_TEST_CASE_BODY()
890 do_test_fail(text::templates_def(), "%if2\n", "Unknown statement 'if2'"); in ATF_TEST_CASE_BODY()
897 do_test_fail(text::templates_def(), "%if a b\n", in ATF_TEST_CASE_BODY()
908 atf::utils::create_file("input.txt", "The string is: %%string%%\n"); in ATF_TEST_CASE_BODY()