@@ -0,0 +1,1418 @@
+from mpf.tests.MpfTestCase import MpfTestCase%0A%0A%0Aclass MpfSlideTestCase(MpfTestCase):%0A%0A    def assertSlideOnTop(self, slide_name, target=%22default%22):%0A        self.assertEqual(slide_name, self.mc.targets%5Btarget%5D.current_slide.name)%0A%0A    def assertTextOnTopSlide(self, text, target=%22default%22):%0A        self.assertTextInSlide(text, self.mc.targets%5Btarget%5D.current_slide.name)%0A%0A    def assertTextNotOnTopSlide(self, text, target=%22default%22):%0A        self.assertTextNotInSlide(text, self.mc.targets%5Btarget%5D.current_slide.name)%0A%0A    def assertSlideActive(self, slide_name):%0A        self.assertIn(slide_name, self.mc.active_slides, %22Slide %7B%7D is not active.%22.format(slide_name))%0A%0A    def assertSlideNotActive(self, slide_name):%0A        self.assertNotIn(slide_name, self.mc.active_slides, %22Slide %7B%7D is active but should not.%22.format(slide_name))%0A%0A    def assertTextInSlide(self, text, slide_name):%0A        self.assertSlideActive(slide_name)%0A        self.assertIn(text, %5Bx.text for x in self.mc.active_slides%5Bslide_name%5D.children%5B0%5D.children%5D,%0A                      %22Text %7B%7D not found in slide %7B%7D.%22.format(text, slide_name))%0A%0A    def assertTextNotInSlide(self, text, slide_name):%0A        self.assertSlideActive(slide_name)%0A        self.assertNotIn(text, %5Bx.text for x in self.mc.active_slides%5Bslide_name%5D.children%5B0%5D.children%5D,%0A                         %22Text %7B%7D found in slide %7B%7D but should not be there.%22.format(text, slide_name))

add slide test case