FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
angular/test-main.dart at master · ieatpants/angular · GitHub
ieatpants
angular
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
angular
/
test-main.dart
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (21 loc) · 676 Bytes
Breadcrumbs
angular
/
test-main.dart
Copy path
File metadata and controls
29 lines (21 loc) · 676 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
17
18
19
20
21
22
23
24
25
26
27
28
29
import
'package:guinness/guinness.dart'
;
import
'package:unittest/unittest.dart'
as
unit;
import
'package:angular2/src/test_lib/test_lib.dart'
show
testSetup;
main
() {
unit.filterStacks
=
true
;
unit.formatStacks
=
false
;
unit.unittestConfiguration.timeout
=
new
Duration
(milliseconds
:
100
);
_printWarnings
();
guinness.autoInit
=
false
;
guinness.
initSpecs
();
testSetup
();
}
_printWarnings () {
final
info
=
guinness.
suiteInfo
();
if
(info.activeIts.
any
((it)
=>
it.exclusive)) {
print
(
"WARN: iit caused some tests to be excluded"
);
}
if
(info.exclusiveDescribes.isNotEmpty) {
print
(
"WARN: ddescribe caused some tests to be excluded"
);
}
}
Back
|
FazBrowse Home
|
New Git URL