class TestActIcon
Public Instance Methods
test_all()
click to toggle source
# File vendor/qwik/lib/qwik/act-file.rb, line 244 def test_all res = session a = @action # test_icon_path ok_eq('.theme/i/broken.gif', a.icon_path('broken')) ok_eq('.theme/i/image2.gif', a.icon_path('image2')) # test_find_icon ok_eq('.theme/i/tar.gif', a.icon_find('tgz')) ok_eq('.theme/i/text.gif', a.icon_find('txt')) ok_eq('.theme/i/text.gif', a.icon_find('css')) ok_eq('.theme/i/image2.gif', a.icon_find('png')) ok_eq('.theme/i/image2.gif', a.icon_find('gif')) ok_eq('.theme/i/pdf.gif', a.icon_find('pdf')) ok_eq('.theme/i/ps.gif', a.icon_find('ps')) ok_eq('.theme/i/compressed.gif', a.icon_find('zip')) ok_eq('.theme/i/binary.gif', a.icon_find('exe')) ok_eq('.theme/i/generic.gif', a.icon_find('nosuchext')) end