Commit 04aa1987fdfd5b372451f0adf521e7c1efd36838
1 parent
d677aece
Exists in
master
Retirada do @Ignore
Showing
5 changed files
with
11 additions
and
9 deletions
Show diff stats
impl/core/src/test/java/br/gov/frameworkdemoiselle/internal/configuration/PaginationConfigTest.java
| ... | ... | @@ -41,21 +41,20 @@ import org.junit.Ignore; |
| 41 | 41 | import org.junit.Before; |
| 42 | 42 | import org.junit.Test; |
| 43 | 43 | |
| 44 | -@Ignore | |
| 45 | 44 | public class PaginationConfigTest { |
| 46 | 45 | |
| 47 | 46 | private PaginationConfig config; |
| 48 | - | |
| 47 | + | |
| 49 | 48 | @Before |
| 50 | 49 | public void setUp() throws Exception { |
| 51 | 50 | this.config = new PaginationConfig(); |
| 52 | 51 | } |
| 53 | - | |
| 52 | + | |
| 54 | 53 | @Test |
| 55 | 54 | public void testGetMaxPageLinks() { |
| 56 | 55 | assertEquals(5, config.getMaxPageLinks()); |
| 57 | 56 | } |
| 58 | - | |
| 57 | + | |
| 59 | 58 | @Test |
| 60 | 59 | public void testGetPageSize() { |
| 61 | 60 | assertEquals(10, config.getPageSize()); | ... | ... |
impl/core/src/test/java/br/gov/frameworkdemoiselle/internal/configuration/SecurityConfigTest.java
| 1 | 1 | package br.gov.frameworkdemoiselle.internal.configuration; |
| 2 | + | |
| 2 | 3 | import org.junit.Ignore; |
| 3 | 4 | import static org.junit.Assert.assertEquals; |
| 4 | 5 | |
| 5 | 6 | import org.junit.Before; |
| 6 | 7 | import org.junit.Test; |
| 7 | 8 | |
| 8 | -@Ignore | |
| 9 | 9 | public class SecurityConfigTest { |
| 10 | 10 | |
| 11 | 11 | private SecurityConfig config; | ... | ... |
impl/core/src/test/java/br/gov/frameworkdemoiselle/internal/context/ContextStoreTest.java
| ... | ... | @@ -35,6 +35,7 @@ |
| 35 | 35 | * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. |
| 36 | 36 | */ |
| 37 | 37 | package br.gov.frameworkdemoiselle.internal.context; |
| 38 | + | |
| 38 | 39 | import org.junit.Ignore; |
| 39 | 40 | import java.util.Map; |
| 40 | 41 | import java.util.TreeMap; |
| ... | ... | @@ -45,7 +46,7 @@ import org.junit.Before; |
| 45 | 46 | import org.junit.Test; |
| 46 | 47 | import org.powermock.api.easymock.PowerMock; |
| 47 | 48 | import org.powermock.reflect.Whitebox; |
| 48 | -@Ignore | |
| 49 | + | |
| 49 | 50 | public class ContextStoreTest { |
| 50 | 51 | |
| 51 | 52 | private ContextStore store; | ... | ... |
impl/core/src/test/java/br/gov/frameworkdemoiselle/internal/context/ContextsTest.java
| ... | ... | @@ -17,6 +17,7 @@ |
| 17 | 17 | * Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. |
| 18 | 18 | */ |
| 19 | 19 | package br.gov.frameworkdemoiselle.internal.context; |
| 20 | + | |
| 20 | 21 | import org.junit.Ignore; |
| 21 | 22 | import static org.easymock.EasyMock.createMock; |
| 22 | 23 | import static org.easymock.EasyMock.expectLastCall; |
| ... | ... | @@ -39,7 +40,7 @@ import org.junit.BeforeClass; |
| 39 | 40 | import org.junit.Test; |
| 40 | 41 | |
| 41 | 42 | import br.gov.frameworkdemoiselle.annotation.ViewScoped; |
| 42 | -@Ignore | |
| 43 | + | |
| 43 | 44 | public class ContextsTest { |
| 44 | 45 | |
| 45 | 46 | private AfterBeanDiscovery event; |
| ... | ... | @@ -193,7 +194,7 @@ public class ContextsTest { |
| 193 | 194 | Contexts.add(context, event); |
| 194 | 195 | assertEquals(1, Contexts.getActiveContexts().size()); |
| 195 | 196 | } |
| 196 | - | |
| 197 | + | |
| 197 | 198 | // Only to get 100% on coverage report |
| 198 | 199 | @Test |
| 199 | 200 | public void testCreateNew() { | ... | ... |
impl/core/src/test/java/br/gov/frameworkdemoiselle/internal/context/ThreadLocalContextTest.java
| ... | ... | @@ -35,6 +35,7 @@ |
| 35 | 35 | * 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. |
| 36 | 36 | */ |
| 37 | 37 | package br.gov.frameworkdemoiselle.internal.context; |
| 38 | + | |
| 38 | 39 | import org.junit.Ignore; |
| 39 | 40 | import static org.easymock.EasyMock.expect; |
| 40 | 41 | import static org.junit.Assert.fail; |
| ... | ... | @@ -58,7 +59,7 @@ import org.powermock.api.easymock.PowerMock; |
| 58 | 59 | import org.powermock.core.classloader.annotations.PrepareForTest; |
| 59 | 60 | import org.powermock.modules.junit4.PowerMockRunner; |
| 60 | 61 | import org.powermock.reflect.Whitebox; |
| 61 | -@Ignore | |
| 62 | + | |
| 62 | 63 | @RunWith(PowerMockRunner.class) |
| 63 | 64 | @PrepareForTest({ Bean.class }) |
| 64 | 65 | public class ThreadLocalContextTest { | ... | ... |