-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #378 from atsign-foundation/enable_onb_cli_func_test
test: remove skip tags for all the skipped tests
- Loading branch information
Showing
6 changed files
with
64 additions
and
11 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
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
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
20 changes: 20 additions & 0 deletions
20
tests/at_onboarding_cli_functional_tests/test/onboarding_service_impl_override.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,20 @@ | ||
import 'package:at_onboarding_cli/at_onboarding_cli.dart'; | ||
import 'package:at_server_status/at_server_status.dart'; | ||
|
||
class OnboardingServiceImplOverride extends AtOnboardingServiceImpl { | ||
OnboardingServiceImplOverride( | ||
atsign, AtOnboardingPreference atOnboardingPreference) | ||
: super(atsign, atOnboardingPreference); | ||
|
||
AtStatus status = AtStatus() | ||
..rootStatus = RootStatus.found | ||
..serverStatus = ServerStatus.ready | ||
..atSignStatus = AtSignStatus.teapot; | ||
|
||
@override | ||
Future<AtStatus> getServerStatus() { | ||
print('[Test] Using overrided getServerStatus()'); | ||
print('[Test] Returning ${status.atSignStatus}'); | ||
return Future.value(status); | ||
} | ||
} |