Sha256: f4b0a617c6ec20c8f16235eb117180537bb21d5f3cc3adbd613f76a2480ccc50

Contents?: true

Size: 391 Bytes

Versions: 15

Compression:

Stored size: 391 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

15 entries across 15 versions & 6 rubygems

Version Path
carlosbrando-autotest-notification-0.2.1 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-0.2.2 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.0.0 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.1.2 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.2.0 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.3.0 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.4.0 test/autotest_notification/test_cygwin.rb
carlosbrando-autotest-notification-1.5.0 test/autotest_notification/test_cygwin.rb
chjunior-autotest-notification-0.2.1 test/autotest_notification/test_cygwin.rb
notch8-autotest-notification-1.2.0 test/autotest_notification/test_cygwin.rb
tapajos-autotest-notification-1.1.2 test/autotest_notification/test_cygwin.rb
tapajos-autotest-notification-1.4.0 test/autotest_notification/test_cygwin.rb
tchandy-autotest-notification-1.4.0 test/autotest_notification/test_cygwin.rb
urubatan-autotest-notification-1.0.1 test/autotest_notification/test_cygwin.rb
urubatan-autotest-notification-1.4.0 test/autotest_notification/test_cygwin.rb