William Bowling is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

wbowling / adium (fork of adium / adium)

Fork of Adium for patches/improvements

Clone this repository (size: 338.7 MB): HTTPS / SSH
hg clone https://bitbucket.org/wbowling/adium
hg clone ssh://hg@bitbucket.org/wbowling/adium

adium / ASUnitTests / CheckChatWindowCloses.applescript

global HandyAdiumScripts

on run
        tell application "Adium"
                set newChatWindow to HandyAdiumScripts's makeNewChatWindow()
                set c to count of chat windows
                close newChatWindow
                delay 1
                if (count of chat windows) is not c - 1 then error ("Count of chat windows is " & (count of chat windows) & " when it should be " & (c - 1))
        end tell
end run