Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;

@Disabled
public class OriginalSimpleTest extends LanguageTestSupport {

private static final String JAVA8_INDEX_OUT_OF_BOUNDS_ERROR_MSG = "Index: 2, Size: 2";
Expand Down Expand Up @@ -343,6 +342,7 @@ public void testOGNLBodyListAndMap() {
assertExpression("${body[0][code]}", 4321);
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testOGNLBodyEmptyList() {
Map<String, List<String>> map = new HashMap<>();
Expand Down Expand Up @@ -1339,6 +1339,7 @@ public void testBodyOGNLOrderListOutOfBoundsShorthand() {
}
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testBodyOGNLOrderListOutOfBoundsWithNullSafe() {
List<OrderLine> lines = new ArrayList<>();
Expand All @@ -1351,6 +1352,7 @@ public void testBodyOGNLOrderListOutOfBoundsWithNullSafe() {
assertExpression("${bodyAs(Order)?.getLines[3].getId}", null);
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testBodyOGNLOrderListOutOfBoundsWithNullSafeShorthand() {
List<OrderLine> lines = new ArrayList<>();
Expand All @@ -1363,6 +1365,7 @@ public void testBodyOGNLOrderListOutOfBoundsWithNullSafeShorthand() {
assertExpression("${bodyAs(Order)?.lines[3].id}", null);
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testBodyOGNLOrderListNoMethodNameWithNullSafe() {
List<OrderLine> lines = new ArrayList<>();
Expand All @@ -1381,6 +1384,7 @@ public void testBodyOGNLOrderListNoMethodNameWithNullSafe() {
}
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testBodyOGNLOrderListNoMethodNameWithNullSafeShorthand() {
List<OrderLine> lines = new ArrayList<>();
Expand All @@ -1399,6 +1403,7 @@ public void testBodyOGNLOrderListNoMethodNameWithNullSafeShorthand() {
}
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testBodyOGNLNullSafeToAvoidNPE() {
Animal tiger = new Animal("Tony the Tiger", 13);
Expand Down Expand Up @@ -1427,6 +1432,7 @@ public void testBodyOGNLNullSafeToAvoidNPE() {
}
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testBodyOGNLNullSafeToAvoidNPEShorthand() {
Animal tiger = new Animal("Tony the Tiger", 13);
Expand Down Expand Up @@ -1548,6 +1554,7 @@ public void testBodyOgnlReplaceEscapedChar() {
assertExpression("${bodyAs(String).replace(\"$\", \"-\")}", "foo-bar-baz");
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testBodyOgnlReplaceEscapedBackslashChar() {
exchange.getIn().setBody("foo\\bar\\baz");
Expand All @@ -1566,6 +1573,7 @@ public void testBodyOgnlReplaceFirst() {
assertExpression("${bodyAs(String).replaceFirst(\"http:\",\" \")}", " camel.apache.org");
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testBodyOgnlReplaceSingleQuoteInDouble() {
exchange.getIn().setBody("Hello O\"Conner");
Expand Down Expand Up @@ -1904,6 +1912,7 @@ public void testBodyAsOneLine() {
assertExpression("Hi ${bodyOneLine} Again", "Hi HelloGreatWorld Again");
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testListIndexByNestedFunction() {
List<String> alist = new ArrayList<>();
Expand All @@ -1920,6 +1929,7 @@ public void testListIndexByNestedFunction() {
assertExpression(exp, "99");
}

@Disabled("Investigation pending - see CAMEL-19681")
@Test
public void testNestedFunction() {
exchange.getMessage().setBody("Tony");
Expand Down