fortrangoingonforty/ferp / 4811614

Browse files

test fixtures

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
48116141ad12727a05d093eb3ba125ca82d3fa47
Parents
a7e7dd0
Tree
595489a

15 changed files

StatusFile+-
A tests/fixtures/binary.bin bin
A tests/fixtures/context.txt 13 0
A tests/fixtures/empty_lines.txt 6 0
A tests/fixtures/multifile1.txt 3 0
A tests/fixtures/multifile2.txt 3 0
A tests/fixtures/multifile3.txt 3 0
A tests/fixtures/numbers.txt 10 0
A tests/fixtures/patterns.txt 3 0
A tests/fixtures/simple.txt 8 0
A tests/fixtures/skipme/should_skip.txt 2 0
A tests/fixtures/special_chars.txt 10 0
A tests/fixtures/subdir1/code.f90 4 0
A tests/fixtures/subdir1/nested1.txt 3 0
A tests/fixtures/subdir2/nested2.txt 3 0
A tests/fixtures/words.txt 5 0
tests/fixtures/binary.binadded
Binary file changed.
tests/fixtures/context.txtadded
@@ -0,0 +1,13 @@
1
+before 1
2
+before 2
3
+before 3
4
+MATCH LINE
5
+after 1
6
+after 2
7
+after 3
8
+gap line 1
9
+gap line 2
10
+gap line 3
11
+ANOTHER MATCH
12
+trailing 1
13
+trailing 2
tests/fixtures/empty_lines.txtadded
@@ -0,0 +1,6 @@
1
+first line
2
+
3
+third line
4
+fourth line
5
+
6
+sixth line
tests/fixtures/multifile1.txtadded
@@ -0,0 +1,3 @@
1
+file1 line1 match
2
+file1 line2
3
+file1 line3 match
tests/fixtures/multifile2.txtadded
@@ -0,0 +1,3 @@
1
+file2 line1
2
+file2 line2 match
3
+file2 line3
tests/fixtures/multifile3.txtadded
@@ -0,0 +1,3 @@
1
+file3 no matches here
2
+file3 nothing to see
3
+file3 all clear
tests/fixtures/numbers.txtadded
@@ -0,0 +1,10 @@
1
+line 1
2
+line 2
3
+line 3
4
+line 4
5
+line 5
6
+line 6
7
+line 7
8
+line 8
9
+line 9
10
+line 10
tests/fixtures/patterns.txtadded
@@ -0,0 +1,3 @@
1
+hello
2
+world
3
+test
tests/fixtures/simple.txtadded
@@ -0,0 +1,8 @@
1
+hello world
2
+Hello World
3
+HELLO WORLD
4
+goodbye world
5
+foo bar baz
6
+The quick brown fox jumps over the lazy dog
7
+testing 123 testing
8
+line with hello in middle
tests/fixtures/skipme/should_skip.txtadded
@@ -0,0 +1,2 @@
1
+this file should be skipped
2
+match here should not appear
tests/fixtures/special_chars.txtadded
@@ -0,0 +1,10 @@
1
+a+b equals c
2
+price is $100
3
+regex: foo.*bar
4
+path/to/file.txt
5
+brackets [test] here
6
+question? yes!
7
+pipe|character
8
+caret^start
9
+dollar$end
10
+parentheses (test) here
tests/fixtures/subdir1/code.f90added
@@ -0,0 +1,4 @@
1
+program test
2
+  implicit none
3
+  print *, "match"
4
+end program test
tests/fixtures/subdir1/nested1.txtadded
@@ -0,0 +1,3 @@
1
+nested file 1
2
+match in subdir1
3
+another line
tests/fixtures/subdir2/nested2.txtadded
@@ -0,0 +1,3 @@
1
+nested file 2
2
+this has a match too
3
+final line
tests/fixtures/words.txtadded
@@ -0,0 +1,5 @@
1
+test testing tested tester
2
+the cat sat on the mat
3
+hello helloworld worldhello
4
+word word-hyphen word_underscore
5
+foobar foo bar foo-bar