You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2015/04/01 22:10:50 UTC
tomee git commit: fixing test
Repository: tomee
Updated Branches:
refs/heads/master 768055ebf -> 9205c0110
fixing test
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/9205c011
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/9205c011
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/9205c011
Branch: refs/heads/master
Commit: 9205c011055f6fcd46b6b301db80616ed28fc5d8
Parents: 768055e
Author: Romain Manni-Bucau <rm...@apache.org>
Authored: Wed Apr 1 22:10:40 2015 +0200
Committer: Romain Manni-Bucau <rm...@apache.org>
Committed: Wed Apr 1 22:10:40 2015 +0200
----------------------------------------------------------------------
.../openejb/cdi/CdiAppContextsServiceTest.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/9205c011/container/openejb-core/src/test/java/org/apache/openejb/cdi/CdiAppContextsServiceTest.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/test/java/org/apache/openejb/cdi/CdiAppContextsServiceTest.java b/container/openejb-core/src/test/java/org/apache/openejb/cdi/CdiAppContextsServiceTest.java
index e56cc7b..41ba092 100644
--- a/container/openejb-core/src/test/java/org/apache/openejb/cdi/CdiAppContextsServiceTest.java
+++ b/container/openejb-core/src/test/java/org/apache/openejb/cdi/CdiAppContextsServiceTest.java
@@ -24,13 +24,13 @@ import static org.junit.Assert.assertNull;
public class CdiAppContextsServiceTest {
@Test
public void cid() {
- assertNull(CdiAppContextsService.getFromQuery(null));
- assertNull(CdiAppContextsService.getFromQuery(""));
- assertNull(CdiAppContextsService.getFromQuery("superparam=cejdzl&cfdlcjlzdbc=czlbcjb&cdlzcs&cdlcjkd"));
- assertEquals("1", CdiAppContextsService.getFromQuery("cid=1"));
- assertEquals("10", CdiAppContextsService.getFromQuery("cid=10"));
- assertEquals("10", CdiAppContextsService.getFromQuery("cecfzd=cefczerf&cfdzcd=&é&cdzc&cid=10"));
- assertEquals("10", CdiAppContextsService.getFromQuery("cecfzd=cefczerf&cfdzcd=&é&cdzc&cid=10&cdsjlcbdjc=djlbcsjlb=ldjbs=cdsln"));
- assertEquals("10", CdiAppContextsService.getFromQuery("cid=10&cdsjlcbdjc=djlbcsjlb=ldjbs=cdsln"));
+ assertNull(CdiAppContextsService.getFromQuery("cid", null));
+ assertNull(CdiAppContextsService.getFromQuery("cid", ""));
+ assertNull(CdiAppContextsService.getFromQuery("cid", "superparam=cejdzl&cfdlcjlzdbc=czlbcjb&cdlzcs&cdlcjkd"));
+ assertEquals("1", CdiAppContextsService.getFromQuery("cid", "cid=1"));
+ assertEquals("10", CdiAppContextsService.getFromQuery("cid", "cid=10"));
+ assertEquals("10", CdiAppContextsService.getFromQuery("cid", "cecfzd=cefczerf&cfdzcd=&é&cdzc&cid=10"));
+ assertEquals("10", CdiAppContextsService.getFromQuery("cid", "cecfzd=cefczerf&cfdzcd=&é&cdzc&cid=10&cdsjlcbdjc=djlbcsjlb=ldjbs=cdsln"));
+ assertEquals("10", CdiAppContextsService.getFromQuery("cid", "cid=10&cdsjlcbdjc=djlbcsjlb=ldjbs=cdsln"));
}
}