get rid of ugly side-effects in tests
[?]
Sep 17, 2022, 5:47 PM
JMUD7T3OJTEF5V73Y2B2GSVUBNBSJFRJPZNREBE5E4BV3IG6SJLQCDependencies
- [2]
KKMFQDR4editing source code from within the app - [3]
ZJOSQFN6bugfix: path munging on Windows - [4]
NFI42KGXmore correct absolute path detection - [5]
ENENSZLKbugfix: source margins when toggling log browser - [6]
X3CQLBTRset window title within each app - [*]
3QNOKBFMbeginnings of a test harness - [*]
AVTNUQYRbasic test-enabled framework
Change contents
- replacement in source.lua at line 119
love.window.setMode(0, 0) -- maximizeDisplay_width, Display_height, App.screen.flags = love.window.getMode()App.screen.resize(0, 0) -- maximizeDisplay_width, Display_height, App.screen.flags = App.screen.size() - replacement in source.lua at line 127
love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)App.screen.resize(App.screen.width, App.screen.height, App.screen.flags) - replacement in source.lua at line 159
love.window.setMode(0, 0) -- maximizeDisplay_width, Display_height, App.screen.flags = love.window.getMode()App.screen.resize(0, 0) -- maximizeDisplay_width, Display_height, App.screen.flags = App.screen.size() - replacement in source.lua at line 167
love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)App.screen.resize(App.screen.width, App.screen.height, App.screen.flags) - replacement in source.lua at line 171
Settings.source.x, Settings.source.y, Settings.source.displayindex = love.window.getPosition()Settings.source.x, Settings.source.y, Settings.source.displayindex = App.screen.position() - replacement in source.lua at line 257
Settings.source.x, Settings.source.y, Settings.source.displayindex = love.window.getPosition()Settings.source.x, Settings.source.y, Settings.source.displayindex = App.screen.position() - replacement in source.lua at line 333
love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)App.screen.resize(App.screen.width, App.screen.height, App.screen.flags) - edit in app.lua at line 157[9.6077][9.6077]
-- operations on the LÖVE window within the monitor/displayfunction App.screen.resize(width, height, flags)App.screen.width = widthApp.screen.height = heightApp.screen.flags = flagsendfunction App.screen.size()return App.screen.width, App.screen.height, App.screen.flagsendfunction App.screen.move(x,y, displayindex)App.screen.x = xApp.screen.y = yApp.screen.displayindex = displayindexendfunction App.screen.position()return App.screen.x, App.screen.y, App.screen.displayindexend - edit in app.lua at line 403[9.7988][9.7988]
App.screen.resize = love.window.setModeApp.screen.size = love.window.getModeApp.screen.move = love.window.setPositionApp.screen.position = love.window.getPosition