Start on a randomized integration test

This commit is contained in:
Antonio Scandurra 2022-02-15 17:33:43 +01:00
parent c33d554675
commit a11495af19
4 changed files with 309 additions and 1 deletions

View file

@ -474,6 +474,10 @@ impl TestAppContext {
self.cx.borrow().cx.font_cache.clone()
}
pub fn foreground_platform(&self) -> Rc<platform::test::ForegroundPlatform> {
self.foreground_platform.clone()
}
pub fn platform(&self) -> Arc<dyn platform::Platform> {
self.cx.borrow().cx.platform.clone()
}