Commit e201247b1dca0f9d2e5b61166d4c0e7e7995a636
1 parent
0e73af66
Exists in
master
Retirada do @Ignore
Showing
2 changed files
with
6 additions
and
4 deletions
Show diff stats
impl/core/src/test/java/br/gov/frameworkdemoiselle/internal/implementation/PaginationContextImplTest.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.implementation; |
38 | + | |
38 | 39 | import org.junit.Ignore; |
39 | 40 | import static org.junit.Assert.assertEquals; |
40 | 41 | import static org.junit.Assert.assertNotNull; |
... | ... | @@ -55,7 +56,7 @@ import org.powermock.reflect.Whitebox; |
55 | 56 | import br.gov.frameworkdemoiselle.internal.configuration.PaginationConfig; |
56 | 57 | import br.gov.frameworkdemoiselle.pagination.Pagination; |
57 | 58 | import br.gov.frameworkdemoiselle.pagination.PaginationContext; |
58 | -@Ignore | |
59 | + | |
59 | 60 | @RunWith(PowerMockRunner.class) |
60 | 61 | public class PaginationContextImplTest { |
61 | 62 | ... | ... |
impl/core/src/test/java/br/gov/frameworkdemoiselle/internal/implementation/PaginationImplTest.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.implementation; |
38 | + | |
38 | 39 | import org.junit.Ignore; |
39 | 40 | import static org.junit.Assert.assertEquals; |
40 | 41 | import static org.junit.Assert.fail; |
... | ... | @@ -49,7 +50,7 @@ import br.gov.frameworkdemoiselle.util.Strings; |
49 | 50 | /** |
50 | 51 | * @author SERPRO |
51 | 52 | */ |
52 | -@Ignore | |
53 | + | |
53 | 54 | public class PaginationImplTest { |
54 | 55 | |
55 | 56 | private Pagination pagination; |
... | ... | @@ -171,7 +172,7 @@ public class PaginationImplTest { |
171 | 172 | fail(); |
172 | 173 | } catch (IndexOutOfBoundsException cause) { |
173 | 174 | } |
174 | - | |
175 | + | |
175 | 176 | try { |
176 | 177 | pagination.setTotalResults(0); |
177 | 178 | pagination.setFirstResult(0); |
... | ... | @@ -314,7 +315,7 @@ public class PaginationImplTest { |
314 | 315 | pagination.setCurrentPage(9); |
315 | 316 | assertEquals(90, pagination.getFirstResult()); |
316 | 317 | } |
317 | - | |
318 | + | |
318 | 319 | @Test |
319 | 320 | public void testToStringFormat() { |
320 | 321 | assertEquals(Strings.toString(pagination), pagination.toString()); | ... | ... |