mirror of
https://github.com/hanskokx/arcane_framework.git
synced 2026-05-14 10:29:06 +02:00
Rename ArcaneReactiveTheme to ArcaneTheme
This commit is contained in:
@@ -8,7 +8,7 @@ void main() {
|
||||
setUpAll(() {
|
||||
ArcaneFeatureFlags.I.reset();
|
||||
ArcaneAuthenticationService.I.reset();
|
||||
ArcaneReactiveTheme.I.reset();
|
||||
ArcaneTheme.I.reset();
|
||||
});
|
||||
|
||||
group("Arcane", () {
|
||||
@@ -16,7 +16,7 @@ void main() {
|
||||
final services = Arcane.services;
|
||||
expect(services, contains(isA<ArcaneFeatureFlags>()));
|
||||
expect(services, contains(isA<ArcaneAuthenticationService>()));
|
||||
expect(services, contains(isA<ArcaneReactiveTheme>()));
|
||||
expect(services, contains(isA<ArcaneTheme>()));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -3,11 +3,11 @@ import "package:flutter/material.dart";
|
||||
import "package:flutter_test/flutter_test.dart";
|
||||
|
||||
void main() {
|
||||
group("ArcaneReactiveTheme", () {
|
||||
late ArcaneReactiveTheme theme;
|
||||
group("ArcaneTheme", () {
|
||||
late ArcaneTheme theme;
|
||||
|
||||
setUp(() {
|
||||
theme = ArcaneReactiveTheme.I;
|
||||
theme = ArcaneTheme.I;
|
||||
theme.reset();
|
||||
});
|
||||
|
||||
@@ -16,7 +16,7 @@ void main() {
|
||||
});
|
||||
|
||||
test("singleton instance is consistent", () {
|
||||
expect(identical(ArcaneReactiveTheme.I, theme), true);
|
||||
expect(identical(ArcaneTheme.I, theme), true);
|
||||
});
|
||||
|
||||
group("theme mode", () {
|
||||
|
||||
Reference in New Issue
Block a user