Sha256: 63b0b89fb9b13c2799a7ff566860ffa354ed6875013887a11dcc5cb17d434e8a

Contents?: true

Size: 863 Bytes

Versions: 3

Compression:

Stored size: 863 Bytes

Contents

// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2010 Sprout Systems, Inc. and contributors.
//            portions copyright @2009 Apple Inc.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================

/*global module test htmlbody ok equals same stop start */


var pane;
(function() {

  pane = SC.ControlTestPane.design()

  .add("aria-role_ToolbarView", SC.ToolbarView, {
    
  });

  pane.show();

  module('SC.ToolbarView UI', pane.standardSetup());

  test("Check that the toolbar view has role set", function(){
    var viewElem = pane.view('aria-role_ToolbarView').$();

    equals(viewElem.attr('role'), 'toolbar', "toolbar view has correct role set");
  });
})();

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
spade-0.0.1 sproutcore/frameworks/desktop/tests/views/toolbar/ui.js
sproutcore-1.5.0.pre.5 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/ui.js
sproutcore-1.5.0.pre.4.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/ui.js