Add spaces after flow control statements (#126320)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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']}, '
|
||||
|
||||
Reference in New Issue
Block a user