Search in sources :

Example 26 with BytesMatcher

use of org.kaazing.k3po.lang.el.BytesMatcher in project zilla by aklivity.

the class ProxyFunctionsTest method shouldNotMatchInetBeginExtensionSourcePort.

@Test(expected = Exception.class)
public void shouldNotMatchInetBeginExtensionSourcePort() throws Exception {
    BytesMatcher matcher = ProxyFunctions.matchBeginEx().typeId(0x01).addressInet().sourcePort(32767).build().build();
    ByteBuffer byteBuf = ByteBuffer.allocate(1024);
    new ProxyBeginExFW.Builder().wrap(new UnsafeBuffer(byteBuf), 0, byteBuf.capacity()).typeId(0x01).address(a -> a.inet(i -> i.protocol(p -> p.set(STREAM)).source("*").destination("example.com").sourcePort(32768).destinationPort(443))).build();
    assertNull(matcher.match(byteBuf));
}
Also used : NONE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.NONE) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) AUTHORITY(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.AUTHORITY) VERSION(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.VERSION) ByteBuffer(java.nio.ByteBuffer) ProxyInfoFW(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoFW) Assert.assertSame(org.junit.Assert.assertSame) ProxyBeginExFW(io.aklivity.zilla.specs.binding.proxy.internal.types.stream.ProxyBeginExFW) FunctionMapper(javax.el.FunctionMapper) BitUtil.fromHex(org.agrona.BitUtil.fromHex) Method(java.lang.reflect.Method) KEY(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.KEY) NAMESPACE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.NAMESPACE) SECURE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.SECURE) INET4(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.INET4) Assert.assertNotNull(org.junit.Assert.assertNotNull) INET6(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.INET6) CIPHER(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.CIPHER) Test(org.junit.Test) STREAM(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressProtocol.STREAM) IDENTITY(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.IDENTITY) UnknownHostException(java.net.UnknownHostException) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) Assert.assertNull(org.junit.Assert.assertNull) ExpressionContext(org.kaazing.k3po.lang.internal.el.ExpressionContext) ALPN(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.ALPN) NAME(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.NAME) INET(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.INET) UNIX(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.UNIX) ELContext(javax.el.ELContext) SIGNATURE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.SIGNATURE) Assert.assertEquals(org.junit.Assert.assertEquals) DirectBuffer(org.agrona.DirectBuffer) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) ByteBuffer(java.nio.ByteBuffer) Test(org.junit.Test)

Example 27 with BytesMatcher

use of org.kaazing.k3po.lang.el.BytesMatcher in project zilla by aklivity.

the class KafkaFunctionsTest method shouldMatchMergedDataExtensionHeader.

@Test
public void shouldMatchMergedDataExtensionHeader() throws Exception {
    BytesMatcher matcher = KafkaFunctions.matchDataEx().merged().header("name", "value").build().build();
    ByteBuffer byteBuf = ByteBuffer.allocate(1024);
    new KafkaDataExFW.Builder().wrap(new UnsafeBuffer(byteBuf), 0, byteBuf.capacity()).typeId(0x01).merged(f -> f.timestamp(12345678L).partition(p -> p.partitionId(0).partitionOffset(0L)).progressItem(p -> p.partitionId(0).partitionOffset(1L)).key(k -> k.length(5).value(v -> v.set("match".getBytes(UTF_8)))).delta(d -> d.type(t -> t.set(KafkaDeltaType.NONE))).headersItem(h -> h.nameLen(4).name(n -> n.set("name".getBytes(UTF_8))).valueLen(5).value(v -> v.set("value".getBytes(UTF_8))))).build();
    assertNotNull(matcher.match(byteBuf));
}
Also used : KafkaDeltaType(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaDeltaType) KafkaDescribeBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaDescribeBeginExFW) ExpressionFactory(javax.el.ExpressionFactory) KafkaDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaDataExFW) KafkaSkip(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaSkip) KafkaBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaBeginExFW) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) KafkaBootstrapBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaBootstrapBeginExFW) KafkaOffsetFW(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaOffsetFW) ByteBuffer(java.nio.ByteBuffer) KafkaValueMatchFW(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaValueMatchFW) KafkaMergedFlushExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMergedFlushExFW) Assert.assertArrayEquals(org.junit.Assert.assertArrayEquals) KafkaFlushExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaFlushExFW) HEADER(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaConditionType.HEADER) Array32FW(io.aklivity.zilla.specs.binding.kafka.internal.types.Array32FW) KafkaMetaDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMetaDataExFW) MutableInteger(org.agrona.collections.MutableInteger) Before(org.junit.Before) KafkaMergedBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMergedBeginExFW) KafkaFetchFlushExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaFetchFlushExFW) ExpressionFactoryUtils.newExpressionFactory(org.kaazing.k3po.lang.internal.el.ExpressionFactoryUtils.newExpressionFactory) UTF_8(java.nio.charset.StandardCharsets.UTF_8) Assert.assertNotNull(org.junit.Assert.assertNotNull) Assert.assertTrue(org.junit.Assert.assertTrue) KafkaMetaBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMetaBeginExFW) Test(org.junit.Test) HEADERS(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaConditionType.HEADERS) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) OctetsFW(io.aklivity.zilla.specs.binding.kafka.internal.types.OctetsFW) Objects(java.util.Objects) KafkaFetchDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaFetchDataExFW) Assert.assertNull(org.junit.Assert.assertNull) ExpressionContext(org.kaazing.k3po.lang.internal.el.ExpressionContext) KafkaDescribeDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaDescribeDataExFW) KafkaFetchBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaFetchBeginExFW) NOT(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaConditionType.NOT) ValueExpression(javax.el.ValueExpression) KafkaApi(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaApi) KEY(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaConditionType.KEY) KafkaProduceBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaProduceBeginExFW) ELContext(javax.el.ELContext) Assert.assertEquals(org.junit.Assert.assertEquals) KafkaMergedDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMergedDataExFW) KafkaProduceDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaProduceDataExFW) DirectBuffer(org.agrona.DirectBuffer) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) ByteBuffer(java.nio.ByteBuffer) Test(org.junit.Test)

Example 28 with BytesMatcher

use of org.kaazing.k3po.lang.el.BytesMatcher in project zilla by aklivity.

the class KafkaFunctionsTest method shouldMatchMergedDataExtensionWithByteValue.

@Test
public void shouldMatchMergedDataExtensionWithByteValue() throws Exception {
    BytesMatcher matcher = KafkaFunctions.matchDataEx().typeId(0x01).merged().partition(0, 0L).progress(0, 1L).timestamp(12345678L).key("match").headerByte("name", (byte) 1).build().build();
    ByteBuffer byteBuf = ByteBuffer.allocate(1024);
    byte[] value = ByteBuffer.allocate(1).put((byte) 1).array();
    new KafkaDataExFW.Builder().wrap(new UnsafeBuffer(byteBuf), 0, byteBuf.capacity()).typeId(0x01).merged(f -> f.timestamp(12345678L).partition(p -> p.partitionId(0).partitionOffset(0L)).progressItem(p -> p.partitionId(0).partitionOffset(1L)).key(k -> k.length(5).value(v -> v.set("match".getBytes(UTF_8)))).delta(d -> d.type(t -> t.set(KafkaDeltaType.NONE))).headersItem(h -> h.nameLen(4).name(n -> n.set("name".getBytes(UTF_8))).valueLen(1).value(v -> v.set(value)))).build();
    assertNotNull(matcher.match(byteBuf));
}
Also used : KafkaDeltaType(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaDeltaType) KafkaDescribeBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaDescribeBeginExFW) ExpressionFactory(javax.el.ExpressionFactory) KafkaDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaDataExFW) KafkaSkip(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaSkip) KafkaBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaBeginExFW) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) KafkaBootstrapBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaBootstrapBeginExFW) KafkaOffsetFW(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaOffsetFW) ByteBuffer(java.nio.ByteBuffer) KafkaValueMatchFW(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaValueMatchFW) KafkaMergedFlushExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMergedFlushExFW) Assert.assertArrayEquals(org.junit.Assert.assertArrayEquals) KafkaFlushExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaFlushExFW) HEADER(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaConditionType.HEADER) Array32FW(io.aklivity.zilla.specs.binding.kafka.internal.types.Array32FW) KafkaMetaDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMetaDataExFW) MutableInteger(org.agrona.collections.MutableInteger) Before(org.junit.Before) KafkaMergedBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMergedBeginExFW) KafkaFetchFlushExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaFetchFlushExFW) ExpressionFactoryUtils.newExpressionFactory(org.kaazing.k3po.lang.internal.el.ExpressionFactoryUtils.newExpressionFactory) UTF_8(java.nio.charset.StandardCharsets.UTF_8) Assert.assertNotNull(org.junit.Assert.assertNotNull) Assert.assertTrue(org.junit.Assert.assertTrue) KafkaMetaBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMetaBeginExFW) Test(org.junit.Test) HEADERS(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaConditionType.HEADERS) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) OctetsFW(io.aklivity.zilla.specs.binding.kafka.internal.types.OctetsFW) Objects(java.util.Objects) KafkaFetchDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaFetchDataExFW) Assert.assertNull(org.junit.Assert.assertNull) ExpressionContext(org.kaazing.k3po.lang.internal.el.ExpressionContext) KafkaDescribeDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaDescribeDataExFW) KafkaFetchBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaFetchBeginExFW) NOT(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaConditionType.NOT) ValueExpression(javax.el.ValueExpression) KafkaApi(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaApi) KEY(io.aklivity.zilla.specs.binding.kafka.internal.types.KafkaConditionType.KEY) KafkaProduceBeginExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaProduceBeginExFW) ELContext(javax.el.ELContext) Assert.assertEquals(org.junit.Assert.assertEquals) KafkaMergedDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaMergedDataExFW) KafkaProduceDataExFW(io.aklivity.zilla.specs.binding.kafka.internal.types.stream.KafkaProduceDataExFW) DirectBuffer(org.agrona.DirectBuffer) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) ByteBuffer(java.nio.ByteBuffer) Test(org.junit.Test)

Example 29 with BytesMatcher

use of org.kaazing.k3po.lang.el.BytesMatcher in project zilla by aklivity.

the class ProxyFunctionsTest method shouldNotMatchInetBeginExtensionSecureCipher.

@Test(expected = Exception.class)
public void shouldNotMatchInetBeginExtensionSecureCipher() throws Exception {
    BytesMatcher matcher = ProxyFunctions.matchBeginEx().typeId(0x01).info().secure().cipher("ECDHE-RSA-AES128-GCM-SHA257").build().build().build();
    ByteBuffer byteBuf = ByteBuffer.allocate(1024);
    new ProxyBeginExFW.Builder().wrap(new UnsafeBuffer(byteBuf), 0, byteBuf.capacity()).typeId(0x01).address(a -> a.inet(i -> i.protocol(p -> p.set(STREAM)).source("*").destination("example.com").sourcePort(32768).destinationPort(443))).infosItem(i -> i.secure(s -> s.cipher("ECDHE-RSA-AES128-GCM-SHA256"))).build();
    assertNull(matcher.match(byteBuf));
}
Also used : NONE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.NONE) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) AUTHORITY(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.AUTHORITY) VERSION(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.VERSION) ByteBuffer(java.nio.ByteBuffer) ProxyInfoFW(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoFW) Assert.assertSame(org.junit.Assert.assertSame) ProxyBeginExFW(io.aklivity.zilla.specs.binding.proxy.internal.types.stream.ProxyBeginExFW) FunctionMapper(javax.el.FunctionMapper) BitUtil.fromHex(org.agrona.BitUtil.fromHex) Method(java.lang.reflect.Method) KEY(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.KEY) NAMESPACE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.NAMESPACE) SECURE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.SECURE) INET4(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.INET4) Assert.assertNotNull(org.junit.Assert.assertNotNull) INET6(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.INET6) CIPHER(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.CIPHER) Test(org.junit.Test) STREAM(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressProtocol.STREAM) IDENTITY(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.IDENTITY) UnknownHostException(java.net.UnknownHostException) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) Assert.assertNull(org.junit.Assert.assertNull) ExpressionContext(org.kaazing.k3po.lang.internal.el.ExpressionContext) ALPN(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.ALPN) NAME(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.NAME) INET(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.INET) UNIX(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.UNIX) ELContext(javax.el.ELContext) SIGNATURE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.SIGNATURE) Assert.assertEquals(org.junit.Assert.assertEquals) DirectBuffer(org.agrona.DirectBuffer) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) ByteBuffer(java.nio.ByteBuffer) ProxyBeginExFW(io.aklivity.zilla.specs.binding.proxy.internal.types.stream.ProxyBeginExFW) Test(org.junit.Test)

Example 30 with BytesMatcher

use of org.kaazing.k3po.lang.el.BytesMatcher in project zilla by aklivity.

the class ProxyFunctionsTest method shouldNotMatchInetBeginExtensionSecureSignature.

@Test(expected = Exception.class)
public void shouldNotMatchInetBeginExtensionSecureSignature() throws Exception {
    BytesMatcher matcher = ProxyFunctions.matchBeginEx().typeId(0x01).info().secure().signature("SHA257").build().build().build();
    ByteBuffer byteBuf = ByteBuffer.allocate(1024);
    new ProxyBeginExFW.Builder().wrap(new UnsafeBuffer(byteBuf), 0, byteBuf.capacity()).typeId(0x01).address(a -> a.inet(i -> i.protocol(p -> p.set(STREAM)).source("*").destination("example.com").sourcePort(32768).destinationPort(443))).infosItem(i -> i.secure(s -> s.signature("SHA256"))).build();
    assertNull(matcher.match(byteBuf));
}
Also used : NONE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.NONE) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) AUTHORITY(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.AUTHORITY) VERSION(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.VERSION) ByteBuffer(java.nio.ByteBuffer) ProxyInfoFW(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoFW) Assert.assertSame(org.junit.Assert.assertSame) ProxyBeginExFW(io.aklivity.zilla.specs.binding.proxy.internal.types.stream.ProxyBeginExFW) FunctionMapper(javax.el.FunctionMapper) BitUtil.fromHex(org.agrona.BitUtil.fromHex) Method(java.lang.reflect.Method) KEY(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.KEY) NAMESPACE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.NAMESPACE) SECURE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.SECURE) INET4(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.INET4) Assert.assertNotNull(org.junit.Assert.assertNotNull) INET6(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.INET6) CIPHER(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.CIPHER) Test(org.junit.Test) STREAM(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressProtocol.STREAM) IDENTITY(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.IDENTITY) UnknownHostException(java.net.UnknownHostException) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) Assert.assertNull(org.junit.Assert.assertNull) ExpressionContext(org.kaazing.k3po.lang.internal.el.ExpressionContext) ALPN(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyInfoType.ALPN) NAME(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.NAME) INET(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.INET) UNIX(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxyAddressFamily.UNIX) ELContext(javax.el.ELContext) SIGNATURE(io.aklivity.zilla.specs.binding.proxy.internal.types.ProxySecureInfoType.SIGNATURE) Assert.assertEquals(org.junit.Assert.assertEquals) DirectBuffer(org.agrona.DirectBuffer) UnsafeBuffer(org.agrona.concurrent.UnsafeBuffer) BytesMatcher(org.kaazing.k3po.lang.el.BytesMatcher) ByteBuffer(java.nio.ByteBuffer) ProxyBeginExFW(io.aklivity.zilla.specs.binding.proxy.internal.types.stream.ProxyBeginExFW) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)142 BytesMatcher (org.kaazing.k3po.lang.el.BytesMatcher)142 ByteBuffer (java.nio.ByteBuffer)134 ELContext (javax.el.ELContext)129 DirectBuffer (org.agrona.DirectBuffer)129 UnsafeBuffer (org.agrona.concurrent.UnsafeBuffer)129 Assert.assertEquals (org.junit.Assert.assertEquals)129 Assert.assertNotNull (org.junit.Assert.assertNotNull)129 Assert.assertNull (org.junit.Assert.assertNull)129 ExpressionContext (org.kaazing.k3po.lang.internal.el.ExpressionContext)129 UTF_8 (java.nio.charset.StandardCharsets.UTF_8)69 Assert.assertTrue (org.junit.Assert.assertTrue)69 Method (java.lang.reflect.Method)65 FunctionMapper (javax.el.FunctionMapper)65 Assert.assertSame (org.junit.Assert.assertSame)65 ExpressionFactory (javax.el.ExpressionFactory)64 ValueExpression (javax.el.ValueExpression)64 Assert.assertArrayEquals (org.junit.Assert.assertArrayEquals)64 Before (org.junit.Before)64 ExpressionFactoryUtils.newExpressionFactory (org.kaazing.k3po.lang.internal.el.ExpressionFactoryUtils.newExpressionFactory)64