Add spaces after flow control statements (#126320)

This commit is contained in:
Tomasz Gucio
2023-05-15 11:07:30 +02:00
committed by GitHub
parent 231e00d26b
commit 99c7e9f088
116 changed files with 264 additions and 174 deletions

View File

@@ -68,7 +68,7 @@ class ResampleFlagVariant extends TestVariant<TestScenario> {
late TestScenario currentValue;
bool get resample {
switch(currentValue) {
switch (currentValue) {
case TestScenario.resampleOn90Hz:
case TestScenario.resampleOn59Hz:
return true;
@@ -78,7 +78,7 @@ class ResampleFlagVariant extends TestVariant<TestScenario> {
}
}
double get frequency {
switch(currentValue) {
switch (currentValue) {
case TestScenario.resampleOn90Hz:
case TestScenario.resampleOff90Hz:
return 90.0;
@@ -92,7 +92,7 @@ class ResampleFlagVariant extends TestVariant<TestScenario> {
@override
String describeValue(TestScenario value) {
switch(value) {
switch (value) {
case TestScenario.resampleOn90Hz:
return 'resample on with 90Hz input';
case TestScenario.resampleOn59Hz:

View File

@@ -13,7 +13,7 @@ Future<void> main() => driver.integrationDriver(
final Map<String, dynamic> fullyLiveResult =
data?['fullyLive'] as Map<String,dynamic>;
if(benchmarkLiveResult['frame_count'] as int < 10
if (benchmarkLiveResult['frame_count'] as int < 10
|| fullyLiveResult['frame_count'] as int < 10) {
print('Failure Details:\nNot Enough frames collected: '
'benchmarkLive ${benchmarkLiveResult['frameCount']}, '