From dev-return-5323-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Fri Apr 08 03:21:27 2005 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 90440 invoked from network); 8 Apr 2005 03:21:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2005 03:21:27 -0000 Received: (qmail 14623 invoked by uid 500); 8 Apr 2005 03:21:26 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 14583 invoked by uid 500); 8 Apr 2005 03:21:26 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 14569 invoked by uid 99); 8 Apr 2005 03:21:26 -0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,URIBL_SBL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of trustin@gmail.com designates 64.233.184.204 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.204) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Apr 2005 20:21:23 -0700 Received: by wproxy.gmail.com with SMTP id 70so1324188wra for ; Thu, 07 Apr 2005 20:21:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=QHX2kpbOeAmu0TTI4+dil8+HXXgW4rn38RAyp2Y1OGb3iN3TfEL49fTXafTP4K0T3zM24j8ucXWO3eefVsXpgG+XRNkZkdJPw/Hxs1K/BiI+y7q13JBFPqRpKYxI+kEN4P9G9a9gbjJG/Cs3R+kHxAX6z6AAyIZhQrcuAMZc3Po= Received: by 10.54.50.73 with SMTP id x73mr1330025wrx; Thu, 07 Apr 2005 20:21:21 -0700 (PDT) Received: by 10.54.70.20 with HTTP; Thu, 7 Apr 2005 20:21:21 -0700 (PDT) Message-ID: <768dcb2e05040720213a752193@mail.gmail.com> Date: Fri, 8 Apr 2005 12:21:21 +0900 From: Trustin Lee Reply-To: Trustin Lee To: Apache Directory Developers List Subject: [apacheds] How about making RootNexus an interface. Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I'm trying to creating an interceptor. Although I can test my interceptor by extending AbstractServerTest from ApacheDS Core, the tests will take a lot of time even for simplistic ones. So I want to create a mock object of RootNexus. I can just extend RootNexus, but it would be nice if we have some kind of separation between interface and implementation. Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/