Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release-5u21'
Browse files Browse the repository at this point in the history
  • Loading branch information
opengl-8080 committed Mar 25, 2022
2 parents 8945246 + f66d42b commit b5e0903
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 28 deletions.
27 changes: 23 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.nablarch.example</groupId>
<artifactId>nablarch-example-mom-sync-receive</artifactId>
<version>5u20</version>
<version>5u21</version>
<packaging>jar</packaging>

<properties>
Expand Down Expand Up @@ -35,7 +35,14 @@
<dependency>
<groupId>com.nablarch.profile</groupId>
<artifactId>nablarch-bom</artifactId>
<version>5u20</version>
<version>5u21</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.8.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -47,7 +54,7 @@
<dependency>
<groupId>com.nablarch.example</groupId>
<artifactId>nablarch-example-mom-testing-common</artifactId>
<version>5u20</version>
<version>5u21</version>
<scope>runtime</scope>
</dependency>

Expand Down Expand Up @@ -136,14 +143,26 @@
<artifactId>nablarch-fw-messaging-http</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.nablarch.framework</groupId>
<artifactId>nablarch-testing-junit5</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>jp.co.tis.gsp</groupId>
<artifactId>gsp-dba-maven-plugin</artifactId>
<version>4.4.1</version>
<version>4.5.0</version>
<configuration>
<adminUser>${db.adminUser}</adminUser>
<adminPassword>${db.adminUser}</adminPassword>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
package com.nablarch.example;

import org.junit.Test;

import com.nablarch.example.test.MessagingRequestTestBase;
import nablarch.test.core.messaging.MessagingRequestTestSupport;
import nablarch.test.junit5.extension.messaging.MessagingRequestTest;
import org.junit.jupiter.api.Test;

/**
* {@link ProjectInsertMessageAction}のテストクラス。
*
*/
public class ProjectInsertMessageRequestTest extends MessagingRequestTestBase {
@MessagingRequestTest
class ProjectInsertMessageRequestTest {
MessagingRequestTestSupport support;

/** 正常終了のテストケース。 */
@Test
public void testNormalEnd() {
execute();
void testNormalEnd() {
support.execute(support.testName.getMethodName());
}

/** 異常終了のテストケース。 */
@Test
public void testValidationError() {
execute();
void testValidationError() {
support.execute(support.testName.getMethodName());
}
}

This file was deleted.

0 comments on commit b5e0903

Please sign in to comment.