Sha256: 53e8392e298ff442443583e26803d57dd2e1a293df3e24b0a2aa248c5cd43d37

Contents?: true

Size: 913 Bytes

Versions: 41

Compression:

Stored size: 913 Bytes

Contents

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

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

var pane, view;
module("SC.ToolbarView", {
  setup: function() {
    SC.RunLoop.begin();
    pane = SC.MainPane.create({
      childViews: [
        SC.ToolbarView.extend({
          layout: { left:12, height: 200, right:12, top:12 }
          
        })]
    });
    pane.append(); // make sure there is a layer...
    SC.RunLoop.end();
    
    view = pane.childViews[0];
  }, 
  
  teardown: function() {
    pane.remove();
    pane = view = null ;
  }
});


Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
sproutcore-1.11.0 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.11.0.rc3 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.11.0.rc2 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.11.0.rc1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.10.3.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.10.2 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.10.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.10.0 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.10.0.rc.3 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.10.0.rc.2 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.10.0.rc.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.9.2 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.9.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.9.0 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.8.2.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.8.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.8.0 lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.7.1.beta-java lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.7.1.beta lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js
sproutcore-1.6.0.1-java lib/frameworks/sproutcore/frameworks/desktop/tests/views/toolbar/method.js