| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
require 'test/unit' |
| 7 |
Dir::chdir __dir__ + '/../../../' |
| 8 |
require File.expand_path(__dir__ + '/lib/test_unit_extensions') |
| 9 |
require File.expand_path(__dir__ + '/utils') |
| 10 |
require File.expand_path(__dir__ + '/plugin') |
| 11 |
require File.expand_path(__dir__ + '/plugin/gui/gui') |
| 12 |
|
| 13 |
class TC_PluginGUIDSL < Test::Unit::TestCase |
| 14 |
|
| 15 |
def setup |
| 16 |
end |
| 17 |
|
| 18 |
must "can initialize tab" do |
| 19 |
Plugin.create :home_timeline do |
| 20 |
tab :home_timeline, "Home Timeline" do |
| 21 |
timeline :home_timeline end end |
| 22 |
end |
| 23 |
|
| 24 |
end |
| 25 |
|
| 26 |
|
| 27 |
|