Sha256: 72463fe48ca920611b7c7b6ab0b63f2261547469f337a37a14f0b8b5a4068520

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 Bytes

Contents

require 'spec_helper'
require 'swing/shared'

describe Swing::JFrame do

  context 'creating' do
    after(:each) {@frame.dispose if @frame}
    let(:new_args) { ['Frame'] }

    it_behaves_like 'enhanced awt component'

    it 'is possible to create Frame with options' do
      @frame = Swing::JFrame.new "Swing GUI",
                            :layout => Awt::FlowLayout.new(Awt::FlowLayout::LEFT),
                            :size => [1100, 1200]
    end


  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
swing-0.1.7 spec/swing/j_frame_spec.rb
swing-0.1.5 spec/swing/j_frame_spec.rb