UI fixes and league
This commit is contained in:
@@ -15,8 +15,14 @@ void main() {
|
||||
expect(File(asset!).existsSync(), isTrue, reason: '$asset missing');
|
||||
}
|
||||
}
|
||||
// Every design (picker and holidays) has its screen background, dark and light
|
||||
for (final style in [...TargetStyle.all, ...TargetStyle.holidays]) {
|
||||
for (final dark in [true, false]) {
|
||||
expect(File(style.background(dark)).existsSync(), isTrue, reason: '${style.background(dark)} missing');
|
||||
}
|
||||
}
|
||||
expect(TargetStyle.byId(13), TargetStyle.fallback); // removed skin falls back to the default
|
||||
expect(TargetStyle.all.length, 6); // the default and five designs
|
||||
expect(TargetStyle.all.length, 9); // the default and eight designs (a 3 × 3 picker)
|
||||
expect(TargetStyle.byId(24), TargetStyle.fallback); // a design no longer shipped falls back too
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user