Quantcast

Overhaul of WoWAPI unit testing module.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-07-13 11:30:16
Author local date 2014-07-13 11:30:16 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-07-13 11:30:16
Committer local date 2014-07-13 11:30:16 +0000
Commit cc25637af0102ad0b3c3726ea50249dcc8d62233
Tree ab9b7d143a8c09516170eee25417b5333c84efa3
Parent 6a7d6bc1d0c9e8855e8c5c54718270af83b499c7
Overhaul of WoWAPI unit testing module.

The WoWAPI module tries to provide enough of the WoW environment to be
able to load addon files and do unit testing or integration testing of
addon components.

WoWAPI contains fake implementations of some libraries that are used
by Ovale.

Example usage:

    local state = {
        class = "DRUID",
        level = 90,
    }
    dofile("WoWAPI.lua")
    WoWAPI:Initialize("Ovale", state)
    WoWAPI:ExportSymbols()
    WoWAPI:LoadTOC("Ovale.toc")

This example loads all of the Ovale addon's files in the order listed in
its TOC file.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1532 d5049fe3-3747-40f7-a4b5-f36d6801af5f