Ignore:
Timestamp:
Feb 24, 2010, 4:21:12 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
5bf941
Parents:
01d28a
git-author:
Tillmann Crueger <crueger@…> (02/24/10 15:29:12)
git-committer:
Tillmann Crueger <crueger@…> (02/24/10 16:21:12)
Message:

Made the world solely responsible for creating and destroying atoms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/unittests/manipulateAtomsTest.cpp

    r01d28a r7bfc19  
    6969  for(int i=0;i<ATOM_COUNT;++i){
    7070    atoms[i]= new AtomStub(i);
     71    World::get()->registerAtom(atoms[i]);
    7172  }
    7273}
    7374void manipulateAtomsTest::tearDown(){
    7475  World::destroy();
    75   for(int i=0;i<ATOM_COUNT;++i){
    76     delete atoms[i];
    77   }
    7876  ActionRegistry::purgeRegistry();
    7977}
Note: See TracChangeset for help on using the changeset viewer.