Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4336D1067E for ; Thu, 13 Jun 2013 09:12:40 +0000 (UTC) Received: (qmail 50852 invoked by uid 500); 13 Jun 2013 09:12:40 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 50776 invoked by uid 500); 13 Jun 2013 09:12:39 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 50768 invoked by uid 99); 13 Jun 2013 09:12:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 09:12:39 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ashakirin@talend.com designates 64.95.72.252 as permitted sender) Received: from [64.95.72.252] (HELO mxout.myoutlookonline.com) (64.95.72.252) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jun 2013 09:12:33 +0000 Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 952FE416901 for ; Thu, 13 Jun 2013 05:12:12 -0400 (EDT) X-Virus-Scanned: by SpamTitan at mail.lan Received: from S10HUB002.SH10.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id E6A07416824 for ; Thu, 13 Jun 2013 05:12:11 -0400 (EDT) Received: from S10BE002.SH10.lan ([::1]) by S10HUB002.SH10.lan ([::1]) with mapi id 14.01.0438.000; Thu, 13 Jun 2013 05:12:11 -0400 From: Andrei Shakirin To: "dev@cxf.apache.org" Subject: Mocking LDAP server for integration tests Thread-Topic: Mocking LDAP server for integration tests Thread-Index: Ac5oFTcDBQM2G1IvR8qEDXj0fUQRfA== Date: Thu, 13 Jun 2013 09:12:11 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [92.50.84.158] Content-Type: multipart/alternative; boundary="_000_D225CD69196F3F4A9F4174B2FCA06F881179B3F2S10BE002SH10lan_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_D225CD69196F3F4A9F4174B2FCA06F881179B3F2S10BE002SH10lan_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am working on integration tests for XKMS and thinking about mocking (or u= sing lightweight) LDAP server. I found some topics regarding this: - in UnboundID (https://www.unboundid.com/products/ldap-sdk/) - Mocking using Mockito (http://java.dzone.com/articles/mocking-ou= t-ldapjndi-unit) Has anybody experience to do it in Apache projects, is there any "typical" = solution for it? Regards, Andrei. --_000_D225CD69196F3F4A9F4174B2FCA06F881179B3F2S10BE002SH10lan_--