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 |
| 55 | org.sophie2.base.model.text |
| 56 | org.sophie2.base.persistence |
| 57 | org.sophie2.base.scene |
| 58 | org.sophie2.base.skins |
| 59 | org.sophie2.base.visual |
| 60 | org.sophie2.core |
| 61 | org.sophie2.core.modularity |
| 62 | org.sophie2.core.mvc |
| 63 | org.sophie2.extra.func.annotations |
| 64 | org.sophie2.extra.func.embedded |
| 65 | org.sophie2.extra.func.pdf |
| 66 | org.sophie2.extra.func.print |
| 67 | org.sophie2.launcher |
| 68 | org.sophie2.main.app.commons |
| 69 | org.sophie2.main.app.halos |
| 70 | org.sophie2.main.app.layout |
| 71 | org.sophie2.main.app.menus |
| 72 | org.sophie2.main.app.model |
| 73 | org.sophie2.main.dialogs.input |
| 74 | org.sophie2.main.func.config |
| 75 | org.sophie2.main.func.file |
| 76 | org.sophie2.main.func.help |
| 77 | org.sophie2.main.func.image |
| 78 | org.sophie2.main.func.links |
| 79 | org.sophie2.main.func.media |
| 80 | org.sophie2.main.func.resources |
| 81 | org.sophie2.main.func.servers |
| 82 | org.sophie2.main.layout.mydoggy |
| 83 | org.sophie2.main.layout.vldocking |
| 84 | org.sophie2.main.media.fobs |
| 85 | org.sophie2.main.persistence.r1 |
| 86 | org.sophie2.main.persistence.r2 |
| 87 | org.sophie2.main.scene.jogl |
| 88 | org.sophie2.main.scene.simple |
| 89 | org.sophie2.main.skin.alternative |
| 90 | org.sophie2.main.ws_connector |
| 91 | org.sophie2.server |
| 92 | org.sophie2.server.connector |
| 93 | org.sophie2.server.persistence |
| 94 | org.sophie2.base.bound |
| 95 | org.sophie2.base.commons |
| 96 | org.sophie2.base.connectivity |
| 97 | org.sophie2.base.dialogs |
| 98 | org.sophie2.base.halos |
| 99 | org.sophie2.base.layout |
| 100 | org.sophie2.base.media |
| 101 | org.sophie2.base.menus |
| 102 | org.sophie2.base.model.book |
| 103 | org.sophie2.base.model.resources |
| 104 | org.sophie2.base.model.text |
| 105 | org.sophie2.base.persistence |
| 106 | org.sophie2.base.scene |
| 107 | org.sophie2.base.skins |
| 108 | org.sophie2.base.visual |
| 109 | org.sophie2.core |
| 110 | org.sophie2.core.modularity |
| 111 | org.sophie2.core.mvc |
| 112 | org.sophie2.extra.func.annotations |
| 113 | org.sophie2.extra.func.embedded |
| 114 | org.sophie2.extra.func.pdf |
| 115 | org.sophie2.extra.func.print |
| 116 | org.sophie2.launcher |
| 117 | org.sophie2.main.app.commons |
| 118 | org.sophie2.main.app.halos |
| 119 | org.sophie2.main.app.layout |
| 120 | org.sophie2.main.app.menus |
| 121 | org.sophie2.main.app.model |
| 122 | org.sophie2.main.dialogs.input |
| 123 | org.sophie2.main.func.config |
| 124 | org.sophie2.main.func.file |
| 125 | org.sophie2.main.func.help |
| 126 | org.sophie2.main.func.image |
| 127 | org.sophie2.main.func.links |
| 128 | org.sophie2.main.func.media |
| 129 | org.sophie2.main.func.resources |
| 130 | org.sophie2.main.func.servers |
| 131 | org.sophie2.main.layout.mydoggy |
| 132 | org.sophie2.main.layout.vldocking |
| 133 | org.sophie2.main.media.fobs |
| 134 | org.sophie2.main.persistence.r1 |
| 135 | org.sophie2.main.persistence.r2 |
| 136 | org.sophie2.main.scene.jogl |
| 137 | org.sophie2.main.scene.simple |
| 138 | org.sophie2.main.skin.alternative |
| 139 | org.sophie2.main.ws_connector |
| 140 | org.sophie2.server |
| 141 | org.sophie2.server.connector |
| 142 | org.sophie2.server.persistence |
| 143 | |