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.10.3.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.10.3.1 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.10.2 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.10.2 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.10.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.10.1 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.10.0 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.10.0 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.10.0.rc.3 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.10.0.rc.3 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.10.0.rc.2 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.10.0.rc.2 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.10.0.rc.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.10.0.rc.1 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.9.2 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.9.2 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.9.1 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js
sproutcore-1.9.1 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.9.0 lib/frameworks/sproutcore/frameworks/desktop/tests/views/scroll/integration.js
sproutcore-1.9.0 lib/frameworks/sproutcore/frameworks/experimental/frameworks/scroll_view/tests/scroll/integration.js