uncomment tests

This commit is contained in:
jantunesmessias 2025-02-10 14:07:38 -03:00
parent b0e4e86391
commit a4b7ee3cd0
2 changed files with 17 additions and 50 deletions

View File

@ -32,7 +32,6 @@ import 'app_test.dart';
import 'fuzzer/fuzzer.dart'; import 'fuzzer/fuzzer.dart';
import 'package:patrol_finders/patrol_finders.dart'; import 'package:patrol_finders/patrol_finders.dart';
import 'package:integration_test/integration_test.dart';
export 'package:flutter_test/flutter_test.dart'; export 'package:flutter_test/flutter_test.dart';
export 'package:patrol/patrol.dart'; export 'package:patrol/patrol.dart';
@ -72,26 +71,26 @@ void main() {
// setUp(() async {}); // setUp(() async {});
// tearDown(() async {}); // tearDown(() async {});
// WelcomeTest.signInToSignUp(); WelcomeTest.signInToSignUp();
// WelcomeTest.signUpToSignIn(); WelcomeTest.signUpToSignIn();
// AuthenticationTest.signIn(); AuthenticationTest.signIn();
// AuthenticationTest.signUp(); AuthenticationTest.signUp();
// AuthenticationTest.signOut(); AuthenticationTest.signOut();
// AuthenticationTest.recovery(); // AuthenticationTest.recovery();
// ModularizationTest.switchLicense(); ModularizationTest.switchLicense();
// ModularizationTest.containLicense(); ModularizationTest.containLicense();
// MenuTest.navToEntries(); MenuTest.navToEntries();
// MenuTest.containEntries(); MenuTest.containEntries();
// MenuTest.labels2AppbarConsistency(); MenuTest.labels2AppbarConsistency();
// LocalsTest.setLocal(); LocalsTest.setLocal();
// LocalsTest.unlinkLocal(); LocalsTest.unlinkLocal();
// VehicleTest.vehiclePage(); VehicleTest.vehiclePage();
// VehicleTest.historyScreen(); VehicleTest.historyScreen();
VehicleTest.registerScreen(); VehicleTest.registerScreen();
// VehicleTest.updateScreen(); VehicleTest.updateScreen();
} }

View File

@ -537,40 +537,8 @@ void showSnackbarMessenger(
int duration = 4, int duration = 4,
}) { }) {
ScaffoldMessenger.of(context).hideCurrentSnackBar(); ScaffoldMessenger.of(context).hideCurrentSnackBar();
ScaffoldMessenger.of(context).showSnackBar( ScaffoldMessenger.of(context)
SnackBar( .showSnackBar(showSnackbar(context, message, error));
content: Row(
children: [
if (loading)
Padding(
padding: const EdgeInsetsDirectional.only(end: 10.0),
child: SizedBox(
height: 20,
width: 20,
child: CircularProgressIndicator(
color: FlutterFlowTheme.of(context).info,
),
),
),
Text(
message,
style: TextStyle(
color: FlutterFlowTheme.of(context).info,
fontSize: LimitedFontSizeUtil.getBodyFontSize(context),
),
),
],
),
duration: Duration(seconds: duration),
backgroundColor: error
? FlutterFlowTheme.of(context).error
: FlutterFlowTheme.of(context).success,
behavior: SnackBarBehavior.floating,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(30),
),
),
);
} }
SnackBar showSnackbar( SnackBar showSnackbar(