Sha256: f6948d1df8c9f79da5dcc1f922f242c4bd7d6096455caabb53a7c50f9bde96b8

Contents?: true

Size: 387 Bytes

Versions: 24

Compression:

Stored size: 387 Bytes

Contents

require File.dirname(__FILE__) + '/../test_helper.rb'

class TestCygwin < Test::Unit::TestCase
  
  def test_notify
    AutotestNotification::Cygwin.expects(:get_image_path).with("image").returns(" image       ")
    AutotestNotification::Cygwin.expects(:system).with('sncmd /m \'title\' \'msg\' \'image\' /t 3')
    AutotestNotification::Cygwin.notify("title", "msg", "image")
  end
end

Version data entries

24 entries across 24 versions & 5 rubygems

Version Path
autotest-notification-2.2.1 test/autotest_notification/test_cygwin.rb
blackwinter-autotest-notification-2.2.0 test/autotest_notification/test_cygwin.rb
autotest-notification-2.2.0 test/autotest_notification/test_cygwin.rb
autotest-notification-2.1.0 test/autotest_notification/test_cygwin.rb