-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50f46cd
commit 81a1ae7
Showing
40 changed files
with
87 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
examples/dart_example/test/dart_example_test.verify_combinations.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
[1, 2, Fizz] | ||
[1, 2, Fizz, 4, Buzz] | ||
[1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, FizzBuzz] |
2 changes: 2 additions & 0 deletions
2
examples/flutter_example/test/widget_test.smoke_test.should_display_0.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
examples/flutter_example/test/widget_test.smoke_test.should_display_1.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Text: {key: 'Counter', text: '2', count: 1} | ||
Text: {key: 'Counter', text: '0', count: 0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/example/main.verify_combinations.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
[1, 2, Fizz] | ||
[1, 2, Fizz, 4, Buzz] | ||
[1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, FizzBuzz] |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/example/verify_methods/verify/verify_test.verify_method.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{"result": "success", "data": {"id": 1, "name": "Item"}} |
2 changes: 2 additions & 0 deletions
2
...val_tests/example/verify_methods/verify_all/verify_all_test.verify_all_items.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Item: apple | ||
Item: banana | ||
Item: cherry |
2 changes: 2 additions & 0 deletions
2
...ods/verify_all_combinations/verify_all_combinations_test.verify_combinations.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Combination: [1, 3], [1, 4], [2, 3], [2, 4] |
2 changes: 2 additions & 0 deletions
2
...roval_tests/example/verify_methods/verify_as_json/json_test.test_JSON_object.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{ | ||
"name": "JsonTest", | ||
"features": [ | ||
|
2 changes: 2 additions & 0 deletions
2
...tests/example/verify_methods/verify_as_json/verify_as_json_test.verify_model.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{ | ||
"jsonItem": { | ||
"id": 1, | ||
|
2 changes: 2 additions & 0 deletions
2
...sts/example/verify_methods/verify_query/verify_db_query_test.verify_db_query.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{"id": "1", "name": "John Doe", "email": "[email protected]"} |
2 changes: 2 additions & 0 deletions
2
...e/verify_methods/verify_query/verify_network_query_test.verify_network_query.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{ | ||
"userId": 1, | ||
"id": 1, | ||
|
2 changes: 2 additions & 0 deletions
2
.../example/verify_methods/verify_sequence/verify_sequence_test.verify_sequence.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
1 | ||
2 | ||
3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
packages/approval_tests/lib/src/core/constants/constants.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
final class ApprovalTestsConstants { | ||
static const String widgetHeader = ''' | ||
# This file was autogenerated by package:approval_tests_flutter. Please do not edit. | ||
# Below is a list of class found in the project /lib folder.'''; | ||
|
||
static const String baseHeader = ''' | ||
# This file was generated by approval_tests. Please do not edit.\n'''; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...est/approved_files/approval_test.description_with_filenamer.test_description.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Hello World |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Hello World |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify_all.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Hello World | ||
Hello World |
2 changes: 2 additions & 0 deletions
2
...ges/approval_tests/test/approved_files/approval_test.verify_all_combinations.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Combination: [1, 3], [1, 4], [2, 3], [2, 4] |
2 changes: 2 additions & 0 deletions
2
...al_tests/test/approved_files/approval_test.verify_all_combinations_exception.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Combination: [1, 3], [1, 4], [2, 3], [2, 4] |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify_as_json.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{ | ||
"message": "Hello World" | ||
} |
2 changes: 2 additions & 0 deletions
2
...es/approval_tests/test/approved_files/approval_test.verify_as_json_exception.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{ | ||
"message": "Hello World" | ||
} |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify_as_model_json.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{ | ||
"jsonItem": { | ||
"id": 1, | ||
|
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify_custom_scrub.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
-Hello-World- |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify_date_scrub.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
<date1> | ||
<date2> |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify_exception.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Hello World |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify_query.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{"id": "1", "name": "John Doe", "email": "[email protected]"} |
2 changes: 2 additions & 0 deletions
2
...ages/approval_tests/test/approved_files/approval_test.verify_query_exception.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{"id": "1", "name": "John Doe", "email": "[email protected]"} |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify_scrub.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Hello World |
2 changes: 2 additions & 0 deletions
2
packages/approval_tests/test/approved_files/approval_test.verify_sequence.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
1 | ||
2 | ||
3 |
2 changes: 2 additions & 0 deletions
2
...s/approval_tests/test/approved_files/approval_test.verify_sequence_exception.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
1 | ||
2 | ||
3 |
2 changes: 2 additions & 0 deletions
2
...s/approval_tests/test/approved_files/approval_test.verify_without_class_name.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
{ | ||
"id": 1, | ||
"name": "JsonItem", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...proval_tests/test/groups/minor_tests.description_with_namer.test_description.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# This file was generated by approval_tests. Please do not edit. | ||
|
||
Hello World |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters