james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [08/17] james-project git commit: JAMES-2525 Rename test methods to fit our standard
Date Mon, 15 Oct 2018 06:28:31 GMT
JAMES-2525 Rename test methods to fit our standard


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

Branch: refs/heads/master
Commit: 5898631a6a5775dc9a9706144c4171752dd29e93
Parents: bf8f52f
Author: Raphael Ouazana <raphael.ouazana@linagora.com>
Authored: Thu Oct 11 11:48:14 2018 +0200
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Mon Oct 15 13:17:08 2018 +0700

----------------------------------------------------------------------
 .../james/blob/objectstorage/ObjectStorageBlobsDAOTest.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/5898631a/server/blob/blob-objectstorage/src/test/java/org/apache/james/blob/objectstorage/ObjectStorageBlobsDAOTest.java
----------------------------------------------------------------------
diff --git a/server/blob/blob-objectstorage/src/test/java/org/apache/james/blob/objectstorage/ObjectStorageBlobsDAOTest.java
b/server/blob/blob-objectstorage/src/test/java/org/apache/james/blob/objectstorage/ObjectStorageBlobsDAOTest.java
index 4c04014..d5e101d 100644
--- a/server/blob/blob-objectstorage/src/test/java/org/apache/james/blob/objectstorage/ObjectStorageBlobsDAOTest.java
+++ b/server/blob/blob-objectstorage/src/test/java/org/apache/james/blob/objectstorage/ObjectStorageBlobsDAOTest.java
@@ -90,13 +90,14 @@ public class ObjectStorageBlobsDAOTest implements BlobStoreContract {
     }
 
     @Test
-    void canCreateContainer() throws Exception {
+    void createContainerShouldMakeTheContainerToExist() throws Exception {
         ContainerName containerName = ContainerName.of(UUID.randomUUID().toString());
         testee.createContainer(containerName).get();
         assertThat(blobStore.containerExists(containerName.value())).isTrue();
     }
+
     @Test
-    void failsWithRuntimeExceptionOnCreateContainerTwice() throws Exception {
+    void createContainerShouldFailWithRuntimeExceptionWhenCreateContainerTwice() throws Exception
{
         ContainerName containerName = ContainerName.of(UUID.randomUUID().toString());
         testee.createContainer(containerName).get();
         assertThatThrownBy(() -> testee.createContainer(containerName).get())


---------------------------------------------------------------------
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