# The test plan, read by test.py to run unit tests.
# The format of this file is as follows:
# 
#   * Lines beginning with "#" are comments and are ignored
#   * Blank or whitespace-only lines are ignored.
#   * A line with no period "." is a section header.  The section follows until       the level of indent is returned.
#   * All other lines are test cases.  The line is split into tokens by
#     whitespace.  The first token is the fully-qualified module name.
#     Subsequent tokens are capabilities to assign to the test (e.g. platform
#     requirements, developer status).
#   * Order matters... tests are run in the order they are specified.

top
    top.IMPORT                                  GENERIC

app
    app.EVENT_LOOP                              GENERIC

graphics
    graphics.GRAPHICS_ALLOCATION                GENERIC
    graphics.IMMEDIATE                          GENERIC
    graphics.IMMEDIATE_INDEXED                  GENERIC
    graphics.RETAINED                           GENERIC
    graphics.RETAINED_INDEXED                   GENERIC
    graphics.MULTITEXTURE                       GENERIC

window
    window-basic
        window.WINDOW_OPEN                      X11 WIN OSX
        window.MULTIPLE_WINDOW_OPEN             X11 WIN OSX
        window.CONTEXT_SHARE                    X11 WIN OSX
        window.WINDOW_SET_VSYNC                 X11 WIN OSX
        window.WINDOW_MULTISAMPLE               X11 WIN OSX

    window-styles
        window.WINDOW_STYLE_DIALOG              X11 WIN OSX
        window.WINDOW_STYLE_TOOL                X11 WIN OSX
        window.WINDOW_STYLE_BORDERLESS          X11 WIN OSX

    window-appearance
        window.WINDOW_CAPTION                   X11 WIN OSX
        window.WINDOW_SET_ICON                  X11 WIN OSX

    window-resize
        window.WINDOW_RESIZABLE                 X11 WIN OSX
        window.WINDOW_SET_SIZE                  X11 WIN OSX
        window.WINDOW_FIXED_SET_SIZE            X11 WIN OSX
        window.WINDOW_SET_MIN_MAX_SIZE          X11 WIN OSX

    window-actions
        window.WINDOW_SET_LOCATION              X11 WIN OSX
        window.WINDOW_ACTIVATE                  X11 WIN OSX
        window.WINDOW_SET_VISIBLE               X11 WIN OSX
        window.WINDOW_MINIMIZE_MAXIMIZE         X11 WIN OSX

    window-mouse
        window.WINDOW_SET_EXCLUSIVE_MOUSE       X11 WIN OSX
        window.WINDOW_SET_MOUSE_VISIBLE         X11 WIN OSX
        window.WINDOW_SET_MOUSE_CURSOR          X11 WIN OSX
        window.WINDOW_SET_MOUSE_SYSTEM_CURSOR   X11 WIN OSX

    window-keyboard
        window.WINDOW_SET_EXCLUSIVE_KEYBOARD    X11 WIN OSX

    window-fullscreen
        window.WINDOW_INITIAL_FULLSCREEN        X11 WIN OSX
        window.WINDOW_SET_FULLSCREEN            X11 WIN OSX
        window.MULTIPLE_SCREEN                  X11 WIN OSX
        window.MODE_SWITCH                      X11 WIN OSX
        window.WINDOW_FULLSCREEN_SIZE           X11 WIN OSX

    window-event
        window-event-keyboard
            window.EVENT_KEY                    X11 WIN OSX
            window.EVENT_TEXT                   X11 WIN OSX
            window.EVENT_CURSOR_MOVEMENT        

        window-event-mouse
            window.EVENT_BUTTON                 X11 WIN OSX
            window.EVENT_MOUSE_MOTION           X11 WIN OSX
            window.EVENT_MOUSE_DRAG             X11 WIN OSX
            window.EVENT_MOUSE_ENTER_LEAVE      X11 WIN OSX
            window.EVENT_MOUSE_SCROLL           X11 WIN OSX

        window-event-window
            window.EVENT_CLOSE                  X11 WIN OSX
            window.EVENT_EXPOSE                 X11 WIN OSX
            window.EVENT_RESIZE                 X11 WIN OSX
            window.EVENT_MOVE                   X11 WIN OSX
            window.EVENT_ACTIVATE_DEACTIVATE    X11 WIN OSX
            window.EVENT_SHOW_HIDE              X11 WIN OSX

        window-event-sequence
            window.EVENT_SEQUENCE_CREATE            X11 WIN OSX
            window.EVENT_SEQUENCE_SHOW              X11 WIN OSX
            window.EVENT_SEQUENCE_CREATE_FULLSCREEN X11 WIN OSX
            window.EVENT_SEQUENCE_SET_FULLSCREEN    X11 WIN OSX
            window.EVENT_SEQUENCE_UNSET_FULLSCREEN  X11 WIN OSX


clock
    clock-basic
        clock.FPS                               X11 WIN OSX

    clock-schedule
        clock.SCHEDULE                          X11 WIN OSX
        clock.SCHEDULE_INTERVAL                 X11 WIN OSX
        clock.SCHEDULE_ONCE                     X11 WIN OSX

    clock-multicore
        clock.MULTICORE                         WIN
image
    image-basic
	    image-save
	        image.NO_ENCODER_RGB_SAVE           X11 WIN OSX

    image-pattern
        image.CHECKERBOARD                      X11 WIN OSX

    image-png
        image-png-load
            image.PYPNG_RGBA_LOAD               X11 WIN OSX
            image.PYPNG_RGB_LOAD                X11 WIN OSX
            image.PYPNG_LA_LOAD                 X11 WIN OSX
            image.PYPNG_L_LOAD                 	X11 WIN OSX
            image.PNG_INDEXED_LOAD              X11 WIN OSX
            image.PNG_INDEXED_TRANS_LOAD        X11 WIN OSX

        image-png-save
            image.PYPNG_RGBA_SAVE               X11 WIN OSX
            image.PYPNG_RGB_SAVE                X11 WIN OSX
            image.PYPNG_LA_SAVE                 X11 WIN OSX
            image.PYPNG_L_SAVE                  X11 WIN OSX

    image-bmp
        image.BMP_RGB_1BPP_LOAD                 X11 WIN OSX
        image.BMP_RGB_4BPP_LOAD                 X11 WIN OSX
        image.BMP_RGB_8BPP_LOAD                 X11 WIN OSX
        image.BMP_RGB_16BPP_LOAD                X11 WIN OSX
        image.BMP_RGB_24BPP_LOAD                X11 WIN OSX
        image.BMP_RGB_32BPP_LOAD                X11 WIN OSX
        image.BMP_RGBA_32BPP_LOAD               X11 WIN OSX

    image-pil
        image-pil-load
            image.PIL_RGBA_LOAD                 X11 WIN OSX
            image.PIL_RGB_LOAD                  X11 WIN OSX
            image.PIL_LA_LOAD                   X11 WIN OSX
            image.PIL_L_LOAD                    X11 WIN OSX
        image-pil-save
            image.PIL_RGBA_SAVE                 X11 WIN OSX
            image.PIL_RGB_SAVE                  X11 WIN OSX
            image.PIL_LA_SAVE                   X11 WIN OSX
            image.PIL_L_SAVE                    X11 WIN OSX
            image.PIL_RGB_LOAD_NO_DECODER       X11 WIN OSX

    image-platform
        image.PLATFORM_RGBA_LOAD                X11 WIN OSX
        image.PLATFORM_RGB_LOAD                 X11 WIN OSX
        image.PLATFORM_LA_LOAD                  X11 WIN OSX
        image.PLATFORM_L_LOAD                   X11 WIN OSX

    image-matrix
        image.MATRIX_RGB                        GENERIC
        image.MATRIX_RGBA                       GENERIC

    image-dds
        image.DDS_RGB_DXT1_LOAD                 GENERIC
        image.DDS_RGBA_DXT1_LOAD                GENERIC
        image.DDS_RGBA_DXT3_LOAD                GENERIC
        image.DDS_RGBA_DXT5_LOAD                GENERIC

    image-buffer
        image.BUFFER_COPY                       X11 WIN OSX
        image.BUFFER_SAVE                       X11 WIN OSX
        image.DEPTH_SAVE                        X11 WIN OSX

    image-sequence
        image.TEXTURE_GRID                      X11 WIN OSX
        image.TEXTURE_3D                        X11 WIN OSX

    image-atlas
        image.ATLAS                             GENERIC

    image-gdkpixbuf2
        image.GIF_LOAD                          X11

font
    font-render
        font.DEFAULT                            X11 WIN OSX
        font.SYSTEM                             X11 WIN OSX
        font.COLOR                              X11 WIN OSX
        font.COLOR_BLEND                        X11 WIN OSX
        font.LARGE_FONT                         X11 WIN OSX

    font-load
        font.ADD_FONT                           X11 WIN OSX
        font.HAVE_FONT                          X11 WIN OSX
        font.SET_DPI                            X11 WIN OSX
        font.FONTCONFIG                         X11

    font-align
        font.HALIGN                             GENERIC
        font.VALIGN                             GENERIC
        font.ALIGN_MULTILINE                    GENERIC

    font-metrics
        font.HORIZONTAL_METRICS                 GENERIC
        font.METRICS_WORKAROUND                 X11

    font-layout
        font.WRAP_INVARIANT                     GENERIC

media
    media-player
        media.PLAYER_QUEUE_PLAY                 X11 WIN OSX
        media.PLAYER_PLAY_QUEUE                 X11 WIN OSX
        media.PLAYER_PAUSE                      X11 WIN OSX
        media.PLAYER_PAUSE_QUEUE                X11 WIN OSX
        media.PLAYER_EOS_NEXT                   X11 WIN OSX
        media.PLAYER_STATIC_STATIC              GENERIC

resource
    resource.RES_LOAD                           GENERIC
    resource.RES_LOAD_IMAGE                     GENERIC

text
    text.RUNLIST                                GENERIC
    text.EMPTY                                  GENERIC
    text.EMPTY_BOLD                             GENERIC
    text.ISSUE_471                              GENERIC
    text.PLAIN                                  GENERIC
    text.CONTENT_VALIGN_BOTTOM                  GENERIC
    text.CONTENT_VALIGN_CENTER                  GENERIC
    text.STYLE                                  GENERIC
    text.ELEMENT                                GENERIC
    text.HTML                                   GENERIC
    text.HTML_IMAGE                             GENERIC
    text.MULTILINE_WRAP                         GENERIC
    text.ATTRIBUTED_TEXT_DECODER                GENERIC
