From a2302413da13ba9201869f06a908b0b02cf1c07d Mon Sep 17 00:00:00 2001 From: heck Date: Tue, 28 Jul 2020 21:35:17 +0200 Subject: [PATCH] just some obsolete class --- .../jniadapter/test/utils/AdapterTestUtils.java | 17 +++++++++++++++++ test/java/foundation/pEp/pitytest/Makefile.conf | 1 - .../pEp/pitytest/examples/Makefile.conf | 3 +-- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/test/java/foundation/pEp/jniadapter/test/utils/AdapterTestUtils.java b/test/java/foundation/pEp/jniadapter/test/utils/AdapterTestUtils.java index ccc4821..2ee3992 100644 --- a/test/java/foundation/pEp/jniadapter/test/utils/AdapterTestUtils.java +++ b/test/java/foundation/pEp/jniadapter/test/utils/AdapterTestUtils.java @@ -286,4 +286,21 @@ public class AdapterTestUtils { msg.setLongmsg("Hi i am the longMessage"); return msg; } + + public static Message generateSourceMessage(Identity from, Identity to, long id, long longMsgLen) { + Message msg = new Message(); + Vector vID = new Vector(); + if (to != null) { + vID.add(to); + } + + msg.setFrom(from); + msg.setTo(vID); + msg.setDir(Message.Direction.Outgoing); + msg.setShortmsg(String.valueOf(id)); + +// String + msg.setLongmsg("Hi i am the longMessage"); + return msg; + } } \ No newline at end of file diff --git a/test/java/foundation/pEp/pitytest/Makefile.conf b/test/java/foundation/pEp/pitytest/Makefile.conf index fa9b149..51eae4a 100644 --- a/test/java/foundation/pEp/pitytest/Makefile.conf +++ b/test/java/foundation/pEp/pitytest/Makefile.conf @@ -13,6 +13,5 @@ JAVA_CLASSES_PITYTEST= \ utils/TestUtils.class \ utils/Pair.class \ TestState.class \ - TestResult.class \ StopWatch.class diff --git a/test/java/foundation/pEp/pitytest/examples/Makefile.conf b/test/java/foundation/pEp/pitytest/examples/Makefile.conf index 97fdd45..c0100ad 100644 --- a/test/java/foundation/pEp/pitytest/examples/Makefile.conf +++ b/test/java/foundation/pEp/pitytest/examples/Makefile.conf @@ -10,7 +10,6 @@ JAVA_CLASSES_PITYTEST= \ ../../TestLogger.class \ ../../utils/TestUtils.class \ ../../utils/Pair.class \ - ../../TestState.class \ - ../../TestResult.class + ../../TestState.class PITYTEST_DIR=../../