search for: ctrl_class

Displaying 1 result from an estimated 1 matches for "ctrl_class".

Did you mean: cert_class
2006 Nov 21
0
[744] trunk/wxruby2: get_data support & mem mgmt to all ControlWithItems types, using more
.../ui/console/testrunner'' +require ''wx'' + +class TestApp < Wx::App + attr_accessor :test_class + def on_init + Test::Unit::UI::Console::TestRunner.run(self.test_class) + end +end + +class CtrlContainerFrame < Wx::Frame + attr_accessor :control + def initialize(ctrl_class, *args) + super(nil, -1, ''Test '' + ctrl_class.name) + self.control = ctrl_class.new(self, -1, *args) + end +end + +class TestItemData < Test::Unit::TestCase + def assert_retrievable_data(ctrl, n, test_value) + compare = Marshal.load( Marshal.dump(test_value) ) + c...