Skip to content

Commit

Permalink
#1094 new parent
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 15, 2021
1 parent 0ac6580 commit ae3c15c
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 25 deletions.
9 changes: 1 addition & 8 deletions pom.xml
Expand Up @@ -27,7 +27,7 @@ SOFTWARE.
<parent>
<groupId>com.jcabi</groupId>
<artifactId>parent</artifactId>
<version>0.49.1</version>
<version>0.56.0</version>
</parent>
<groupId>org.takes</groupId>
<artifactId>takes</artifactId>
Expand Down Expand Up @@ -221,11 +221,6 @@ SOFTWARE.
<version>9.7.0-7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.el</groupId>
<artifactId>javax.el-api</artifactId>
Expand Down Expand Up @@ -311,7 +306,6 @@ SOFTWARE.
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<!--
@todo #1110:1h There are 18 tests that fail now, mostly due to versions
Expand Down Expand Up @@ -403,7 +397,6 @@ SOFTWARE.
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>0.19.4</version>
<configuration>
<excludes combine.children="append">
<exclude>checkstyle:/src/site/resources/.*</exclude>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/takes/rq/multipart/RqMtFake.java
Expand Up @@ -65,7 +65,6 @@ public final class RqMtFake implements RqMultipart {
* Fake ctor.
* @param req Fake request header holder
* @param dispositions Fake request body parts
* @throws IOException If fails
*/
public RqMtFake(final Request req, final Request... dispositions) {
this.fake = new Sticky<>(
Expand Down
8 changes: 4 additions & 4 deletions src/site/site.xml
Expand Up @@ -26,21 +26,21 @@ SOFTWARE.
<skin>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-maven-skin</artifactId>
<version>1.5.1</version>
<version>1.7.1</version>
</skin>
<bannerLeft>
<name>takes.org</name>
<src>logo.svg</src>
<href>http://www.takes.org/</href>
<href>https://www.takes.org/</href>
<width>96</width>
<height>96</height>
</bannerLeft>
<body>
<head>
<link href="http://www.takes.org/logo.png" rel="shortcut icon"/>
&lt;link href="http://www.takes.org/logo.png" rel="shortcut icon"/&gt;
</head>
<breadcrumbs>
<item name="take.com" href="http://www.takes.org"/>
<item name="take.com" href="https://www.takes.org"/>
</breadcrumbs>
<menu name="Overview">
<item name="Introduction" href="./index.html"/>
Expand Down
5 changes: 2 additions & 3 deletions src/test/java/org/takes/http/BkBasicTest.java
Expand Up @@ -40,7 +40,6 @@
import org.cactoos.text.Joined;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Ignore;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.llorllale.cactoos.matchers.Assertion;
Expand Down Expand Up @@ -255,7 +254,7 @@ public void run() {
*
* @throws Exception If some problem inside
*/
@Ignore
@Disabled
@Test
void returnsProperResponseCodeOnNoContentLength() throws Exception {
final ByteArrayOutputStream output = new ByteArrayOutputStream();
Expand Down Expand Up @@ -314,7 +313,7 @@ public void run() {
*
* @throws Exception If some problem inside
*/
@Ignore
@Disabled
@Test
void acceptsNoContentLengthOnClosedConnection() throws Exception {
final String text = "Close Test";
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/takes/http/FtBasicTest.java
Expand Up @@ -37,7 +37,7 @@
import org.cactoos.io.InputStreamOf;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Ignore;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
import org.mockito.invocation.InvocationOnMock;
Expand Down Expand Up @@ -147,7 +147,7 @@ public void exec(final URI home) throws IOException {
* @throws Exception If some problem inside
*/
@Test
@Ignore
@Disabled
void gracefullyHandlesStuckBack() throws Exception {
final Take take = new Take() {
@Override
Expand Down
5 changes: 2 additions & 3 deletions src/test/java/org/takes/rq/multipart/RqMtFakeTest.java
Expand Up @@ -32,7 +32,6 @@
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.hamcrest.core.IsInstanceOf;
import org.junit.Assert;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.takes.rq.RqFake;
Expand Down Expand Up @@ -232,7 +231,7 @@ void closesAllParts() throws Exception {
);
try {
multi.part(name).iterator().next().body().read();
Assert.fail(exmessage);
Assertions.fail(exmessage);
} catch (final IOException ex) {
MatcherAssert.assertThat(
ex,
Expand All @@ -245,7 +244,7 @@ void closesAllParts() throws Exception {
);
try {
multi.part(content).iterator().next().body().read();
Assert.fail(exmessage);
Assertions.fail(exmessage);
} catch (final IOException ex) {
MatcherAssert.assertThat(
ex,
Expand Down
5 changes: 3 additions & 2 deletions src/test/java/org/takes/rs/RsXsltTest.java
Expand Up @@ -34,7 +34,7 @@
import org.cactoos.text.Joined;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.BeforeClass;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.llorllale.cactoos.matchers.EndsWith;
import org.takes.misc.StateAwareInputStream;
Expand All @@ -49,7 +49,8 @@ final class RsXsltTest {
/**
* Validate encoding.
*/
@BeforeClass
@BeforeAll
@SuppressWarnings("PMD.ProhibitPublicStaticMethods")
public static void before() {
MatcherAssert.assertThat(
"default charset during testing must be UTF-8",
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/takes/tk/TkSlf4jRemoteTest.java
Expand Up @@ -30,7 +30,7 @@
import java.net.HttpURLConnection;
import java.net.URI;
import org.hamcrest.core.IsEqual;
import org.junit.Ignore;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.takes.http.FtRemote;

Expand All @@ -45,7 +45,7 @@ final class TkSlf4jRemoteTest {
* TkSlf4j can return an empty response body for {@link TkEmpty}.
* @throws Exception if some I/O problem occurred.
*/
@Ignore
@Disabled
@Test
void returnsAnEmptyResponseBody() throws Exception {
new FtRemote(
Expand Down

0 comments on commit ae3c15c

Please sign in to comment.