FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Querya-Desktop/test/flutter_test_config.dart at main · QueryaHub/Querya-Desktop · GitHub
QueryaHub
/
Querya-Desktop
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
23
Code
Issues
39
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Querya-Desktop
/
test
/
flutter_test_config.dart
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (13 loc) · 623 Bytes
Breadcrumbs
Querya-Desktop
/
test
/
flutter_test_config.dart
Copy path
File metadata and controls
16 lines (13 loc) · 623 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import
'dart:async'
;
import
'package:querya_desktop/core/storage/app_data_root.dart'
;
import
'package:querya_desktop/core/storage/connection_secrets_store.dart'
;
import
'memory_secrets_backend.dart'
;
/// Runs before all tests in this package (see
`package:test`
global configuration).
Future
<
void
>
testExecutable
(
FutureOr
<
void
>
Function
() testMain)
async
{
ConnectionSecretsStore
.backend
=
testMemorySecrets;
testMemorySecrets.
clear
();
// Avoid copying the developer's real legacy profile into test temp dirs.
AppDataRoot
.mockLegacySupportCandidates
=
const
[];
await
testMain
();
AppDataRoot
.
resetMocks
();
}
Back
|
FazBrowse Home
|
New Git URL