code: remove `protected` from top-level methods (now in sys)
[nit.git] / lib / mnit_linux / linux_app.nit
index 4b599ed..440187a 100644 (file)
@@ -19,18 +19,19 @@ module linux_app
 import mnit
 import sdl
 import linux_opengles1
+import linux
 
 in "C" `{
        #include <EGL/egl.h>
 `}
 
 redef class App
-       redef type IE: SDLInputEvent
        redef type D: Opengles1Display
        redef type I: Opengles1Image
 
        redef fun setup
        do
+               if "NIT_TESTING".environ == "true" then exit 0
                display = new Opengles1Display
 
                super