Sha256: fd857272249632f163a772d7170b1497b81f89fd9be79175dd84ea4e2e3040c1

Contents?: true

Size: 559 Bytes

Versions: 24

Compression:

Stored size: 559 Bytes

Contents

module("SC.ScrollView integration");

test("should work with views that have static layout applied", function() {
  var pane;
  try {
    pane = SC.MainPane.create({
      childViews: ['scrollView'],

      scrollView: SC.ScrollView.design({
        layout: { width: 400, height: 600 },

        contentView: SC.View.design({
          useStaticLayout: YES
        })
      })
    });

    pane.append();
    SC.RunLoop.begin().end();

    ok(true, "displays scroll view without throwing an exception");
  } finally {
    if (pane) { pane.remove(); }
  }
});

Version data entries

24 entries across 12 versions & 1 rubygems

Version Path
sproutcore-1.8.2.1 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.8.2.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.8.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.8.1 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js