Hi Hilaire, There is probably something I missed in your email.
> - when i subclass linked list test with trait, i get the trait test > but not the test from linked list test, i expected to get these ones > as well DoubleLinkedListTest run: #testTAdd => 1 run, 1 passes, 0 expected failures, 0 failures, 0 errors, 0 unexpected passes LinkedList overrides testTAdd of TAddTest Printing: LinkedListTest compile: 'testFoo ^ true' DoubleLinkedListTest run: #testFoo => 1 run, 1 passes, 0 expected failures, 0 failures, 0 errors, 0 unexpected passes I do not understand what you said. > - when i sublcass without trait i get the test from linked list test > but not the trait ones, i guess this is an expected behavior If a class A uses a trait T, then a subclass of A should also get the methods of T. > - when i subclass without trait then reimplement some of the test, i > only got the those test exexuted, not the one from super. > > how do you deal with such situation? Can you provide an example? This remains obscure to me. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
