james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [01/10] james-project git commit: JAMES−1589 Removing innacurate test description in XMLDomainListTest
Date Tue, 08 Aug 2017 10:46:36 GMT
Repository: james-project
Updated Branches:
  refs/heads/master 975fcf12e -> eaf503e66


JAMES−1589 Removing innacurate test description in XMLDomainListTest


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/94ee9bd9
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/94ee9bd9
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/94ee9bd9

Branch: refs/heads/master
Commit: 94ee9bd9a737253780fb6a6b06678c8df5610d36
Parents: 5edfac1
Author: benwa <btellier@linagora.com>
Authored: Mon Jul 31 08:05:13 2017 +0700
Committer: benwa <btellier@linagora.com>
Committed: Tue Aug 8 17:08:50 2017 +0700

----------------------------------------------------------------------
 .../org/apache/james/domainlist/xml/XMLDomainListTest.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/94ee9bd9/server/data/data-file/src/test/java/org/apache/james/domainlist/xml/XMLDomainListTest.java
----------------------------------------------------------------------
diff --git a/server/data/data-file/src/test/java/org/apache/james/domainlist/xml/XMLDomainListTest.java
b/server/data/data-file/src/test/java/org/apache/james/domainlist/xml/XMLDomainListTest.java
index d1b2d6b..4f0207d 100644
--- a/server/data/data-file/src/test/java/org/apache/james/domainlist/xml/XMLDomainListTest.java
+++ b/server/data/data-file/src/test/java/org/apache/james/domainlist/xml/XMLDomainListTest.java
@@ -85,7 +85,7 @@ public class XMLDomainListTest {
         dom.setLog(LoggerFactory.getLogger("MockLog"));
         dom.configure(setUpConfiguration(false, false, domains));
 
-        assertThat(dom.getDomains()).describedAs("No domain found").containsOnly(DEFAULT_DOMAIN);
+        assertThat(dom.getDomains()).containsOnly(DEFAULT_DOMAIN);
     }
 
     @Test
@@ -98,7 +98,7 @@ public class XMLDomainListTest {
         dom.setLog(LoggerFactory.getLogger("MockLog"));
         dom.configure(setUpConfiguration(false, false, domains));
 
-        assertThat(dom.getDomains()).describedAs("Three domain found").hasSize(3);
+        assertThat(dom.getDomains()).hasSize(3);
     }
 
     @Test
@@ -110,7 +110,7 @@ public class XMLDomainListTest {
         dom.setLog(LoggerFactory.getLogger("MockLog"));
         dom.configure(setUpConfiguration(true, false, domains));
 
-        assertThat(dom.getDomains()).describedAs("Two domains found").hasSize(3);
+        assertThat(dom.getDomains()).hasSize(3);
     }
 
     @Test
@@ -123,7 +123,7 @@ public class XMLDomainListTest {
         dom.configure(setUpConfiguration(true, false, domains));
 
 
-        assertThat(dom.getDomains()).describedAs("One domain found").hasSize(2);
+        assertThat(dom.getDomains()).hasSize(2);
     }
 
     @Test


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message