# File swig/lib/tuitest.rb, line 184
        def Tuitest.wait_until_expected_text(row, col, expected_text, timeout = 0)
                no_timeout = (timeout == 0)
                begin
                        return true if Tuitest.gettext(row, col, expected_text.length) == expected_text
                        wait(1000)
                        timeout -= 1000 if timeout
                end while no_timeout or timeout > 0
                false
        end