Changes between Version 7 and Version 8 of UNPLANNED_UNIT_TEST_FIX_R0


Ignore:
Timestamp:
04/28/09 02:59:11 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UNPLANNED_UNIT_TEST_FIX_R0

    v7 v8  
    3131 
    3232= Design = 
    33 ^(Describe your design here.)^ 
     33 * While refactoring tests, look for the following things: 
     34  * Tests should UnitTestBase or IntegrationTestBase 
     35  * All resources needed for tests should be placed in the /src/test/resources folder of the module where the test is in 
     36  * Remove testing of simple getters 
     37  * Repair fake JavaDoc 
     38  * Where ither modules are needed, use FakeModuleRegistry.start(). In this case, make the class extend IntegrationTestBase. Look specifically at the modules ewhich have to be started, this is a common mistake. 
     39  * Take care for "//TODO: refactor" things. 
     40  * Remove "fail('not implemented')" methods. 
     41  * Refactor any "try{fail();} catch(Throwable){}" statements, since they are useless. Fix the errors that will appear after refactoring them. 
     42  * Either refactor commented tests, or delete them. 
     43  * Look for the correct place of each test - if incorrect, fix it. 
     44 * Here is a list of the current modules and what has to be changed there : 
     45||org.sophie2.base.bound 
     46||org.sophie2.base.commons 
     47||org.sophie2.base.connectivity 
     48||org.sophie2.base.dialogs 
     49||org.sophie2.base.halos 
     50||org.sophie2.base.layout 
     51||org.sophie2.base.media 
     52||org.sophie2.base.menus 
     53||org.sophie2.base.model.book 
     54||org.sophie2.base.model.resources 
     55org.sophie2.base.model.text 
     56org.sophie2.base.persistence 
     57org.sophie2.base.scene 
     58org.sophie2.base.skins 
     59org.sophie2.base.visual 
     60org.sophie2.core 
     61org.sophie2.core.modularity 
     62org.sophie2.core.mvc 
     63org.sophie2.extra.func.annotations 
     64org.sophie2.extra.func.embedded 
     65org.sophie2.extra.func.pdf 
     66org.sophie2.extra.func.print 
     67org.sophie2.launcher 
     68org.sophie2.main.app.commons 
     69org.sophie2.main.app.halos 
     70org.sophie2.main.app.layout 
     71org.sophie2.main.app.menus 
     72org.sophie2.main.app.model 
     73org.sophie2.main.dialogs.input 
     74org.sophie2.main.func.config 
     75org.sophie2.main.func.file 
     76org.sophie2.main.func.help 
     77org.sophie2.main.func.image 
     78org.sophie2.main.func.links 
     79org.sophie2.main.func.media 
     80org.sophie2.main.func.resources 
     81org.sophie2.main.func.servers 
     82org.sophie2.main.layout.mydoggy 
     83org.sophie2.main.layout.vldocking 
     84org.sophie2.main.media.fobs 
     85org.sophie2.main.persistence.r1 
     86org.sophie2.main.persistence.r2 
     87org.sophie2.main.scene.jogl 
     88org.sophie2.main.scene.simple 
     89org.sophie2.main.skin.alternative 
     90org.sophie2.main.ws_connector 
     91org.sophie2.server 
     92org.sophie2.server.connector 
     93org.sophie2.server.persistence 
     94org.sophie2.base.bound 
     95org.sophie2.base.commons 
     96org.sophie2.base.connectivity 
     97org.sophie2.base.dialogs 
     98org.sophie2.base.halos 
     99org.sophie2.base.layout 
     100org.sophie2.base.media 
     101org.sophie2.base.menus 
     102org.sophie2.base.model.book 
     103org.sophie2.base.model.resources 
     104org.sophie2.base.model.text 
     105org.sophie2.base.persistence 
     106org.sophie2.base.scene 
     107org.sophie2.base.skins 
     108org.sophie2.base.visual 
     109org.sophie2.core 
     110org.sophie2.core.modularity 
     111org.sophie2.core.mvc 
     112org.sophie2.extra.func.annotations 
     113org.sophie2.extra.func.embedded 
     114org.sophie2.extra.func.pdf 
     115org.sophie2.extra.func.print 
     116org.sophie2.launcher 
     117org.sophie2.main.app.commons 
     118org.sophie2.main.app.halos 
     119org.sophie2.main.app.layout 
     120org.sophie2.main.app.menus 
     121org.sophie2.main.app.model 
     122org.sophie2.main.dialogs.input 
     123org.sophie2.main.func.config 
     124org.sophie2.main.func.file 
     125org.sophie2.main.func.help 
     126org.sophie2.main.func.image 
     127org.sophie2.main.func.links 
     128org.sophie2.main.func.media 
     129org.sophie2.main.func.resources 
     130org.sophie2.main.func.servers 
     131org.sophie2.main.layout.mydoggy 
     132org.sophie2.main.layout.vldocking 
     133org.sophie2.main.media.fobs 
     134org.sophie2.main.persistence.r1 
     135org.sophie2.main.persistence.r2 
     136org.sophie2.main.scene.jogl 
     137org.sophie2.main.scene.simple 
     138org.sophie2.main.skin.alternative 
     139org.sophie2.main.ws_connector 
     140org.sophie2.server 
     141org.sophie2.server.connector 
     142org.sophie2.server.persistence 
     143 
    34144 
    35145= Implementation =