コード例 #1
0
 def test_write_config_to_file_shaders(self):
     retroconf = libretroConfig.createLibretroConfig(nes43)
     libretroConfig.writeLibretroConfigToFile(retroconf)
     self.assertEquals(libretroSettings.load('rewind_enable'), 'false')
     self.assertEquals(libretroSettings.load('video_shader'), 'myshaders.gpslp')
     self.assertEquals(libretroSettings.load('video_shader_enable'), 'true')
     self.assertEquals(libretroSettings.load('aspect_ratio_index'), '0')
     self.assertEquals(libretroSettings.load('video_aspect_ratio_auto'), 'false')
コード例 #2
0
 def test_write_config_to_file_shaders(self):
     retroconf = libretroConfig.createLibretroConfig(nes43)
     libretroConfig.writeLibretroConfigToFile(retroconf)
     self.assertEquals(libretroSettings.load('rewind_enable'), 'false')
     self.assertEquals(libretroSettings.load('video_shader'),
                       'myshaders.gpslp')
     self.assertEquals(libretroSettings.load('video_shader_enable'), 'true')
     self.assertEquals(libretroSettings.load('aspect_ratio_index'), '0')
     self.assertEquals(libretroSettings.load('video_aspect_ratio_auto'),
                       'false')
コード例 #3
0
 def test_write_config_to_file_new1610(self):
     retroconf = libretroConfig.createLibretroConfig(wswan)
     libretroConfig.writeLibretroConfigToFile(retroconf)
     self.assertEquals(libretroSettings.load('aspect_ratio_index'), '2')
     self.assertEquals(libretroSettings.load('video_aspect_ratio_auto'),
                       'false')
コード例 #4
0
 def test_write_config_to_file(self):
     retroconf = libretroConfig.createLibretroConfig(nesauto)
     libretroConfig.writeLibretroConfigToFile(retroconf)
     self.assertEquals(libretroSettings.load('rewind_enable'), 'true')
コード例 #5
0
 def test_write_config_to_file(self):
     retroconf = libretroConfig.createLibretroConfig(nesauto)
     libretroConfig.writeLibretroConfigToFile(retroconf)
     self.assertEquals(libretroSettings.load('rewind_enable'), 'true')
コード例 #6
0
 def test_write_config_to_file_new1610(self):
     retroconf = libretroConfig.createLibretroConfig(wswan)
     libretroConfig.writeLibretroConfigToFile(retroconf)
     self.assertEquals(libretroSettings.load('aspect_ratio_index'), '2')
     self.assertEquals(libretroSettings.load('video_aspect_ratio_auto'), 'false')