d01 ex04 ajouts de plusieurs tests pour le sed
This commit is contained in:
4
d01/ex04/unitests/test_log/empty_find
Normal file
4
d01/ex04/unitests/test_log/empty_find
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/empty_find.replace
Normal file
4
d01/ex04/unitests/test_log/empty_find.replace
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/empty_find_and_replacement
Normal file
4
d01/ex04/unitests/test_log/empty_find_and_replacement
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/empty_replacement
Normal file
4
d01/ex04/unitests/test_log/empty_replacement
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/empty_replacement.replace
Normal file
4
d01/ex04/unitests/test_log/empty_replacement.replace
Normal file
@@ -0,0 +1,4 @@
|
||||
No more ters, my hert is dry
|
||||
I don't lugh nd I don't cry
|
||||
I don't think bout you ll the time
|
||||
But when I do - I wonder why
|
||||
1
d01/ex04/unitests/test_log/first_letter_lure
Normal file
1
d01/ex04/unitests/test_log/first_letter_lure
Normal file
@@ -0,0 +1 @@
|
||||
test de mmdr foubar
|
||||
1
d01/ex04/unitests/test_log/first_letter_lure.replace
Normal file
1
d01/ex04/unitests/test_log/first_letter_lure.replace
Normal file
@@ -0,0 +1 @@
|
||||
test de m||| foubar
|
||||
2
d01/ex04/unitests/test_log/half_replacement_lure
Normal file
2
d01/ex04/unitests/test_log/half_replacement_lure
Normal file
@@ -0,0 +1,2 @@
|
||||
trouve ce mot toutouille
|
||||
et celui-la toutoutouille
|
||||
2
d01/ex04/unitests/test_log/half_replacement_lure.replace
Normal file
2
d01/ex04/unitests/test_log/half_replacement_lure.replace
Normal file
@@ -0,0 +1,2 @@
|
||||
trouve ce mot ||||||||||
|
||||
et celui-la tou||||||||||
|
||||
5
d01/ex04/unitests/test_log/multi_line_file
Normal file
5
d01/ex04/unitests/test_log/multi_line_file
Normal file
@@ -0,0 +1,5 @@
|
||||
ce fichier
|
||||
contient
|
||||
plusieurs lignes
|
||||
les unes au dessus des autres
|
||||
youhouuu ioieux
|
||||
5
d01/ex04/unitests/test_log/multi_line_file.replace
Normal file
5
d01/ex04/unitests/test_log/multi_line_file.replace
Normal file
@@ -0,0 +1,5 @@
|
||||
ce fich++r
|
||||
cont++nt
|
||||
plus++urs lignes
|
||||
les unes au dessus des autres
|
||||
youhouuu io++ux
|
||||
4
d01/ex04/unitests/test_log/multiline_replacement
Normal file
4
d01/ex04/unitests/test_log/multiline_replacement
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/multiline_replacement.replace
Normal file
4
d01/ex04/unitests/test_log/multiline_replacement.replace
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is doo
|
||||
oooooooolaugh and I don't coo
|
||||
oooooooothink about you all the time
|
||||
But when I do - I wonder why
|
||||
1
d01/ex04/unitests/test_log/one_line_file
Normal file
1
d01/ex04/unitests/test_log/one_line_file
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
1
d01/ex04/unitests/test_log/one_line_file.replace
Normal file
1
d01/ex04/unitests/test_log/one_line_file.replace
Normal file
@@ -0,0 +1 @@
|
||||
hello
|
||||
1
d01/ex04/unitests/test_log/replace_one_character
Normal file
1
d01/ex04/unitests/test_log/replace_one_character
Normal file
@@ -0,0 +1 @@
|
||||
....................................................;
|
||||
1
d01/ex04/unitests/test_log/replace_one_character.replace
Normal file
1
d01/ex04/unitests/test_log/replace_one_character.replace
Normal file
@@ -0,0 +1 @@
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++;
|
||||
2
d01/ex04/unitests/test_log/replace_two_characters
Normal file
2
d01/ex04/unitests/test_log/replace_two_characters
Normal file
@@ -0,0 +1,2 @@
|
||||
...................................................;
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . .;
|
||||
@@ -0,0 +1,2 @@
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++.;
|
||||
. . . . . . . . . . . . . . . . . . . . . . . . . .;
|
||||
27
d01/ex04/unitests/test_log/special_character_'
Normal file
27
d01/ex04/unitests/test_log/special_character_'
Normal file
@@ -0,0 +1,27 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
|
||||
You have to go out of my door
|
||||
And leave just like you did before
|
||||
I know I said that I was sure
|
||||
But rich men can't imagine poor.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
|
||||
Little me and little you
|
||||
Kept doing all the things they do
|
||||
They never really think it through
|
||||
Like I can never think you're true
|
||||
|
||||
Here I go again - the blame
|
||||
The guilt, the pain, the hurt, the shame
|
||||
The founding fathers of our plane
|
||||
That's stuck in heavy clouds of rain.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
27
d01/ex04/unitests/test_log/special_character_'.replace
Normal file
27
d01/ex04/unitests/test_log/special_character_'.replace
Normal file
@@ -0,0 +1,27 @@
|
||||
No more tears, my heart is dry
|
||||
I do000 laugh and I do000 cry
|
||||
I do000 think about you all the time
|
||||
But when I do - I wonder why
|
||||
|
||||
You have to go out of my door
|
||||
And leave just like you did before
|
||||
I know I said that I was sure
|
||||
But rich men ca000 imagine poor.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
|
||||
Little me and little you
|
||||
Kept doing all the things they do
|
||||
They never really think it through
|
||||
Like I can never think you're true
|
||||
|
||||
Here I go again - the blame
|
||||
The guilt, the pain, the hurt, the shame
|
||||
The founding fathers of our plane
|
||||
That's stuck in heavy clouds of rain.
|
||||
|
||||
One day baby, we'll be old
|
||||
Oh baby, we'll be old
|
||||
And think of all the stories that we could have told
|
||||
4
d01/ex04/unitests/test_log/test10
Normal file
4
d01/ex04/unitests/test_log/test10
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/test10.replace
Normal file
4
d01/ex04/unitests/test_log/test10.replace
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/test11
Normal file
4
d01/ex04/unitests/test_log/test11
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/test11.replace
Normal file
4
d01/ex04/unitests/test_log/test11.replace
Normal file
@@ -0,0 +1,4 @@
|
||||
No more ters, my hert is dry
|
||||
I don't lugh nd I don't cry
|
||||
I don't think bout you ll the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/test12
Normal file
4
d01/ex04/unitests/test_log/test12
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/test12.replace
Normal file
4
d01/ex04/unitests/test_log/test12.replace
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
4
d01/ex04/unitests/test_log/test13
Normal file
4
d01/ex04/unitests/test_log/test13
Normal file
@@ -0,0 +1,4 @@
|
||||
No more tears, my heart is dry
|
||||
I don't laugh and I don't cry
|
||||
I don't think about you all the time
|
||||
But when I do - I wonder why
|
||||
0
d01/ex04/unitests/test_log/test13.replace
Normal file
0
d01/ex04/unitests/test_log/test13.replace
Normal file
Reference in New Issue
Block a user