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
c5709251
Unverified
Commit
c5709251
authored
May 08, 2020
by
Jonah Williams
Committed by
GitHub
May 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] rename to .sksl.json (#56634)
parent
717f9de6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
resident_runner.dart
packages/flutter_tools/lib/src/resident_runner.dart
+1
-1
resident_runner_test.dart
...lutter_tools/test/general.shard/resident_runner_test.dart
+3
-3
No files found.
packages/flutter_tools/lib/src/resident_runner.dart
View file @
c5709251
...
...
@@ -836,7 +836,7 @@ abstract class ResidentRunner {
final
File
outputFile
=
globals
.
fsUtils
.
getUniqueFile
(
globals
.
fs
.
currentDirectory
,
'flutter'
,
'sksl'
,
'sksl
.json
'
,
);
final
Device
device
=
flutterDevices
.
first
.
device
;
...
...
packages/flutter_tools/test/general.shard/resident_runner_test.dart
View file @
c5709251
...
...
@@ -630,9 +630,9 @@ void main() {
when
(
mockDevice
.
name
).
thenReturn
(
'test device'
);
await
residentRunner
.
writeSkSL
();
expect
(
testLogger
.
statusText
,
contains
(
'flutter_01.sksl'
));
expect
(
globals
.
fs
.
file
(
'flutter_01.sksl'
),
exists
);
expect
(
json
.
decode
(
globals
.
fs
.
file
(
'flutter_01.sksl'
).
readAsStringSync
()),
<
String
,
Object
>{
expect
(
testLogger
.
statusText
,
contains
(
'flutter_01.sksl
.json
'
));
expect
(
globals
.
fs
.
file
(
'flutter_01.sksl
.json
'
),
exists
);
expect
(
json
.
decode
(
globals
.
fs
.
file
(
'flutter_01.sksl
.json
'
).
readAsStringSync
()),
<
String
,
Object
>{
'platform'
:
'android'
,
'name'
:
'test device'
,
'engineRevision'
:
'42.2'
,
// From FakeFlutterVersion
...
...
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