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
blackwinter-autotest-notification-1.8.0 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.6.0 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.7.0 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.7.1 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.7.2 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.7.3 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.8.0 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.8.1 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.8.2 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.9.0 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.9.1 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-2.0.0 test/autotest_notification/test_cygwin.rb
dcrec1-autotest-notification-1.7.3 test/autotest_notification/test_cygwin.rb
samflores-autotest-notification-1.8.2 test/autotest_notification/test_cygwin.rb
samflores-autotest-notification-1.9.1 test/autotest_notification/test_cygwin.rb
autotest-notification-2.3.4 test/autotest_notification/test_cygwin.rb
autotest-notification-2.3.3 test/autotest_notification/test_cygwin.rb
autotest-notification-2.3.2 test/autotest_notification/test_cygwin.rb
autotest-notification-2.3.1 test/autotest_notification/test_cygwin.rb
autotest-notification-2.3.0 test/autotest_notification/test_cygwin.rb