Displaying 3 results from an estimated 3 matches for "test_valu".
Did you mean:
test_value
2006 Nov 21
0
[744] trunk/wxruby2: get_data support & mem mgmt to all ControlWithItems types, using more
...rame < 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) )
+ ctrl.set_client_data(n, test_value)
+ assert_equal(compare, ctrl.get_client_data(n) )
+ GC.start
+ assert_equal(compare, ctrl.get_client_data(n) )
+ end
+
+ def do_control_with_items_assertions(f)
+ assert_retrievable_data...
2006 Dec 01
0
[766] trunk/wxruby2: Added item_data aliases for client_data functions, update doc & tests;
...p  2006-12-01 17:40:06 UTC (rev 766)
</span><span class="lines">@@ -20,10 +20,10 @@
</span><span class="cx"> class TestItemData < Test::Unit::TestCase
</span><span class="cx"> def assert_retrievable_data(ctrl, n, test_value)
</span><span class="cx"> compare = Marshal.load( Marshal.dump(test_value) )
</span><del>- ctrl.set_client_data(n, test_value)
- assert_equal(compare, ctrl.get_client_data(n) )
</del><ins>+ ctrl.set_item_data(n, test_value)
+ assert_equ...
2006 May 17
0
[LLVMdev] Obfuscation with LLVM
...ew BasicBlock( "case", prevBB->getParent(),
prevBB->getNext() );
// If not all cases was handled ...
if( caseIdx != switchInst->getNumCases() )
{
// Instructions for checking the case.
LoadInst* testValue = new LoadInst( testValuePtr,
"test_value", caseBlock );
SetCondInst* setCondInst = new SetCondInst( Instruction::SetEQ,
testValue, switchInst->getCaseValue( caseIdx ), "is_case", caseBlock );
// Get a reference to the basic block for the next case.
BasicBlock* nextCaseBlock = ProcessCase( swi...