Skip to content

Commit

Permalink
Ignored tests for deprecated mapper classes
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Michalski <Philipp.Michalski@bosch-si.com>
  • Loading branch information
Philipp Michalski authored and Philipp Michalski committed Feb 21, 2018
1 parent c2877b7 commit d8e7cda
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ public static Optional<String> findContentType(final Adaptable adaptable) {
* @throws IllegalArgumentException if the configuration is invalid.
*/
public final void configure(final MessageMapperConfiguration configuration){
checkNotNull(configuration);
doConfigure(configuration);

final boolean isContentTypeRequiredValue = configuration.findProperty(OPT_CONTENT_TYPE_REQUIRED).map
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.eclipse.ditto.protocoladapter.DittoProtocolAdapter;
import org.eclipse.ditto.signals.commands.things.modify.CreateThing;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

/**
Expand All @@ -30,6 +31,7 @@
* Sorry, not really a test yet - class was used in order to manually test mapping functionality.
*/
//@RunWith(Parameterized.class)
@Ignore
public class PayloadMapperBytesTest {

private static final String MAPPING_TEMPLATE = "ditto_mappingByteArray = [];" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.eclipse.ditto.protocoladapter.DittoProtocolAdapter;
import org.eclipse.ditto.signals.commands.things.modify.CreateThing;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

/**
Expand All @@ -26,6 +27,7 @@
* Sorry, not really a test yet - class was used in order to manually test mapping functionality.
*/
//@RunWith(Parameterized.class)
@Ignore
public class PayloadMapperMustacheTest {

private static final String CONTENT_TYPE = "application/json";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.eclipse.ditto.protocoladapter.DittoProtocolAdapter;
import org.eclipse.ditto.signals.commands.things.modify.CreateThing;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

/**
Expand All @@ -26,6 +27,7 @@
* Sorry, not really a test yet - class was used in order to manually test mapping functionality.
*/
//@RunWith(Parameterized.class)
@Ignore
public class PayloadMapperSimpleTest {

private static final String MAPPING_TEMPLATE = "ditto_mappingString = " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import org.eclipse.ditto.protocoladapter.Adaptable;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

/**
Expand All @@ -26,6 +27,7 @@
* Sorry, not really a test yet - class was used in order to manually test mapping functionality.
*/
//@RunWith(Parameterized.class)
@Ignore
public class ProtocolToRawMapperBytesTest {

private static final String CONTENT_TYPE = "application/octet-stream";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import org.eclipse.ditto.protocoladapter.Adaptable;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

/**
Expand All @@ -24,6 +25,7 @@
* Sorry, not really a test yet - class was used in order to manually test mapping functionality.
*/
//@RunWith(Parameterized.class)
@Ignore
public class ProtocolToRawMapperSimpleTest {

private static final String CONTENT_TYPE = "text/plain";
Expand Down

0 comments on commit d8e7cda

Please sign in to comment.