Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jonatas
2020-09-19 13:51:53 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0d66b1a465cd283477f95f7f399f85236c6fc4a1
0d66b1a4
1 parent
8e19a07c
improve unit tests on get_instance
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
packages/get_instance/pubspec.yaml
packages/get_instance/test/.test_coverage.dart
packages/get_instance/test/get_instance_test.dart
packages/get_rx/pubspec.yaml
packages/get_instance/pubspec.yaml
View file @
0d66b1a
...
...
@@ -15,6 +15,7 @@ dependencies:
dev_dependencies
:
test
:
"
>=1.0.0
<2.0.0"
test_coverage
:
"
>=0.4.3
<1.0.0"
# For information on the generic Dart part of this file, see the
...
...
packages/get_instance/test/.test_coverage.dart
0 → 100644
View file @
0d66b1a
// Auto-generated by test_coverage. Do not edit by hand.
// Consider adding this file to your .gitignore.
import
'get_instance_test.dart'
as
get_instance_test
;
void
main
(
)
{
get_instance_test
.
main
();
}
...
...
packages/get_instance/test/get_instance_test.dart
View file @
0d66b1a
...
...
@@ -13,6 +13,15 @@ class Mock {
class
Controller
{}
class
DisposableController
extends
GetLifeCycle
{
DisposableController
()
{
onStart
.
callback
=
_onStart
;
}
// Internal callback that starts the cycle of this controller.
void
_onStart
()
{
onInit
();
}
bool
initialized
=
false
;
void
onInit
()
async
{
...
...
packages/get_rx/pubspec.yaml
View file @
0d66b1a
...
...
@@ -18,4 +18,5 @@ dependencies:
dev_dependencies
:
test
:
"
>=1.0.0
<2.0.0"
test_coverage
:
"
>=0.4.3
<1.0.0"
\ No newline at end of file
...
...
Please
register
or
login
to post a comment