Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
9c3cd40a
Unverified
Commit
9c3cd40a
authored
Aug 03, 2021
by
Darren Austin
Committed by
GitHub
Aug 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip test audit for dev tests. (#87147)
parent
1b77fca7
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
19 deletions
+13
-19
stock_view_test.dart
...chmarks/test_apps/stocks/test_driver/stock_view_test.dart
+3
-1
prepare_package_test.dart
dev/bots/test/prepare_package_test.dart
+1
-1
sdk_directory_has_space_test.dart
dev/bots/test/sdk_directory_has_space_test.dart
+1
-1
accessibility_test.dart
...ration_tests/flutter_gallery/test/accessibility_test.dart
+4
-12
default_streams_test.dart
dev/tracing_tests/test/default_streams_test.dart
+1
-1
image_cache_tracing_test.dart
dev/tracing_tests/test/image_cache_tracing_test.dart
+1
-1
image_painting_event_test.dart
dev/tracing_tests/test/image_painting_event_test.dart
+2
-2
No files found.
dev/benchmarks/test_apps/stocks/test_driver/stock_view_test.dart
View file @
9c3cd40a
...
@@ -39,6 +39,8 @@ void main() {
...
@@ -39,6 +39,8 @@ void main() {
final
String
symbol
=
await
driver
.
getText
(
stockOption
);
final
String
symbol
=
await
driver
.
getText
(
stockOption
);
expect
(
symbol
,
'AAPL'
);
expect
(
symbol
,
'AAPL'
);
},
skip:
'Needs to be fixed on Fuchsia.'
,
timeout:
Timeout
.
none
);
},
skip:
'Needs to be fixed on Fuchsia.'
,
// https://github.com/flutter/flutter/issues/87069
timeout:
Timeout
.
none
);
});
});
}
}
dev/bots/test/prepare_package_test.dart
View file @
9c3cd40a
...
@@ -282,7 +282,7 @@ void main() {
...
@@ -282,7 +282,7 @@ void main() {
contains
(
'The binary
$binPath
was not codesigned!'
),
contains
(
'The binary
$binPath
was not codesigned!'
),
)),
)),
);
);
},
skip:
!
platform
.
isMacOS
);
},
skip:
!
platform
.
isMacOS
);
// [intended] codesign is only available on macOS
});
});
group
(
'ArchivePublisher for
$platformName
'
,
()
{
group
(
'ArchivePublisher for
$platformName
'
,
()
{
...
...
dev/bots/test/sdk_directory_has_space_test.dart
View file @
9c3cd40a
...
@@ -17,5 +17,5 @@ void main() {
...
@@ -17,5 +17,5 @@ void main() {
expect
(
expectedName
,
contains
(
' '
));
expect
(
expectedName
,
contains
(
' '
));
final
List
<
String
>
parts
=
path
.
split
(
Directory
.
current
.
absolute
.
path
);
final
List
<
String
>
parts
=
path
.
split
(
Directory
.
current
.
absolute
.
path
);
expect
(
parts
.
reversed
.
take
(
3
),
<
String
?>[
'bots'
,
'dev'
,
expectedName
]);
expect
(
parts
.
reversed
.
take
(
3
),
<
String
?>[
'bots'
,
'dev'
,
expectedName
]);
},
skip:
true
);
// https://github.com/flutter/flutter/issues/
62919
},
skip:
true
);
// https://github.com/flutter/flutter/issues/
87285
}
}
dev/integration_tests/flutter_gallery/test/accessibility_test.dart
View file @
9c3cd40a
...
@@ -560,9 +560,7 @@ void main() {
...
@@ -560,9 +560,7 @@ void main() {
await
tester
.
pumpWidget
(
MaterialApp
(
theme:
theme
,
home:
const
DialogDemo
()));
await
tester
.
pumpWidget
(
MaterialApp
(
theme:
theme
,
home:
const
DialogDemo
()));
await
expectLater
(
tester
,
meetsGuideline
(
textContrastGuideline
));
await
expectLater
(
tester
,
meetsGuideline
(
textContrastGuideline
));
handle
.
dispose
();
handle
.
dispose
();
},
skip:
theme
==
ThemeData
.
dark
());
// Raised Button does not follow
});
// theme. https://github.com/flutter/flutter/issues/16488,
// https://github.com/flutter/flutter/issues/19623
testWidgets
(
'drawer_demo
$themeName
'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'drawer_demo
$themeName
'
,
(
WidgetTester
tester
)
async
{
tester
.
binding
.
addTime
(
const
Duration
(
seconds:
3
));
tester
.
binding
.
addTime
(
const
Duration
(
seconds:
3
));
...
@@ -636,9 +634,7 @@ void main() {
...
@@ -636,9 +634,7 @@ void main() {
);
);
await
expectLater
(
tester
,
meetsGuideline
(
textContrastGuideline
));
await
expectLater
(
tester
,
meetsGuideline
(
textContrastGuideline
));
handle
.
dispose
();
handle
.
dispose
();
},
skip:
theme
==
ThemeData
.
dark
());
// Raised Button does not follow
});
// theme. https://github.com/flutter/flutter/issues/16488,
// https://github.com/flutter/flutter/issues/19623
testWidgets
(
'overscroll_demo'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'overscroll_demo'
,
(
WidgetTester
tester
)
async
{
tester
.
binding
.
addTime
(
const
Duration
(
seconds:
3
));
tester
.
binding
.
addTime
(
const
Duration
(
seconds:
3
));
...
@@ -664,9 +660,7 @@ void main() {
...
@@ -664,9 +660,7 @@ void main() {
);
);
await
expectLater
(
tester
,
meetsGuideline
(
textContrastGuideline
));
await
expectLater
(
tester
,
meetsGuideline
(
textContrastGuideline
));
handle
.
dispose
();
handle
.
dispose
();
},
skip:
theme
==
ThemeData
.
dark
());
// Raised Button does not follow
});
// theme. https://github.com/flutter/flutter/issues/16488,
// https://github.com/flutter/flutter/issues/19623
testWidgets
(
'progress_indicator_demo
$themeName
'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'progress_indicator_demo
$themeName
'
,
(
WidgetTester
tester
)
async
{
tester
.
binding
.
addTime
(
const
Duration
(
seconds:
3
));
tester
.
binding
.
addTime
(
const
Duration
(
seconds:
3
));
...
@@ -724,9 +718,7 @@ void main() {
...
@@ -724,9 +718,7 @@ void main() {
);
);
await
expectLater
(
tester
,
meetsGuideline
(
textContrastGuideline
));
await
expectLater
(
tester
,
meetsGuideline
(
textContrastGuideline
));
handle
.
dispose
();
handle
.
dispose
();
},
skip:
theme
==
ThemeData
.
dark
());
// Raised Button does not follow
});
// theme. https://github.com/flutter/flutter/issues/16488,
// https://github.com/flutter/flutter/issues/19623
testWidgets
(
'tabs_demo
$themeName
'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'tabs_demo
$themeName
'
,
(
WidgetTester
tester
)
async
{
tester
.
binding
.
addTime
(
const
Duration
(
seconds:
3
));
tester
.
binding
.
addTime
(
const
Duration
(
seconds:
3
));
...
...
dev/tracing_tests/test/default_streams_test.dart
View file @
9c3cd40a
...
@@ -37,5 +37,5 @@ void main() {
...
@@ -37,5 +37,5 @@ void main() {
'Embedder'
,
'Embedder'
,
'GC'
,
'GC'
,
]));
]));
},
skip:
isBrowser
);
//
uses dart:isolate and io
},
skip:
isBrowser
);
//
[intended] uses dart:isolate and io.
}
}
dev/tracing_tests/test/image_cache_tracing_test.dart
View file @
9c3cd40a
...
@@ -77,7 +77,7 @@ void main() {
...
@@ -77,7 +77,7 @@ void main() {
},
},
],
],
);
);
},
skip:
isBrowser
);
//
uses dart:isolate and io
},
skip:
isBrowser
);
//
[intended] uses dart:isolate and io.
}
}
void
_expectTimelineEvents
(
List
<
TimelineEvent
>
events
,
List
<
Map
<
String
,
dynamic
>>
expected
)
{
void
_expectTimelineEvents
(
List
<
TimelineEvent
>
events
,
List
<
Map
<
String
,
dynamic
>>
expected
)
{
...
...
dev/tracing_tests/test/image_painting_event_test.dart
View file @
9c3cd40a
...
@@ -74,7 +74,7 @@ void main() {
...
@@ -74,7 +74,7 @@ void main() {
jsonEncode
(
event
.
extensionData
!.
data
),
jsonEncode
(
event
.
extensionData
!.
data
),
'{"test.png":{"source":"test.png","displaySize":{"width":200.0,"height":100.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":106666,"decodedSizeInBytes":480000}}'
,
'{"test.png":{"source":"test.png","displaySize":{"width":200.0,"height":100.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":106666,"decodedSizeInBytes":480000}}'
,
);
);
},
skip:
isBrowser
);
//
uses dart:isolate and io
},
skip:
isBrowser
);
//
[intended] uses dart:isolate and io.
test
(
'Image painting events - deduplicates across frames'
,
()
async
{
test
(
'Image painting events - deduplicates across frames'
,
()
async
{
final
Completer
<
Event
>
completer
=
Completer
<
Event
>();
final
Completer
<
Event
>
completer
=
Completer
<
Event
>();
...
@@ -106,7 +106,7 @@ void main() {
...
@@ -106,7 +106,7 @@ void main() {
jsonEncode
(
event
.
extensionData
!.
data
),
jsonEncode
(
event
.
extensionData
!.
data
),
'{"test.png":{"source":"test.png","displaySize":{"width":300.0,"height":300.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":480000,"decodedSizeInBytes":480000}}'
,
'{"test.png":{"source":"test.png","displaySize":{"width":300.0,"height":300.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":480000,"decodedSizeInBytes":480000}}'
,
);
);
},
skip:
isBrowser
);
//
uses dart:isolate and io
},
skip:
isBrowser
);
//
[intended] uses dart:isolate and io.
}
}
class
TestCanvas
implements
Canvas
{
class
TestCanvas
implements
Canvas
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment