Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-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 6A0CDD477 for ; Tue, 2 Oct 2012 17:52:38 +0000 (UTC) Received: (qmail 20602 invoked by uid 500); 2 Oct 2012 17:52:38 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 20573 invoked by uid 500); 2 Oct 2012 17:52:38 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 20561 invoked by uid 99); 2 Oct 2012 17:52:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 17:52:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of glahiru@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-wg0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 17:52:32 +0000 Received: by mail-wg0-f41.google.com with SMTP id ds1so690400wgb.2 for ; Tue, 02 Oct 2012 10:52:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iBRJdn7Qk1A07lPSd1jgKYAIdbSZ/DhlYkMc3OHY7nk=; b=Sf/eS9h1qbE+C3J2lUtTN73meHYlBp0cqUqujHX9yavpt8J9SF0zUlzOK++TWJVD9Z fBLSqVtW3F+0t7FLTUUS2DIHBEzKzfonRxF0TAL9r6VuUhgR8+i4mf/kgdzjS3tY5swm K+Q9usnaXARig94uY29Mq4Ug9zmrEQo6NbieTsCXXtwQ9nm6OIRkIH1Yke5PGay167lI mUvslg2Q6aObtRbN4f7z6tO8isToXPmrtAnEc0p2gmH25p58yYXeWIKTwoJuh1d2UqQb P8RH1F0jsb6/MjP46AMJizZZePGE9IqOZiNALa2VN4QqBDfyDh7j0bfjAVEzioDUsnaw hxZQ== MIME-Version: 1.0 Received: by 10.180.100.97 with SMTP id ex1mr23467782wib.17.1349200332136; Tue, 02 Oct 2012 10:52:12 -0700 (PDT) Received: by 10.194.45.134 with HTTP; Tue, 2 Oct 2012 10:52:12 -0700 (PDT) In-Reply-To: <506B271F.1040402@iu.edu> References: <506B271F.1040402@iu.edu> Date: Tue, 2 Oct 2012 13:52:12 -0400 Message-ID: Subject: Re: Naming conversions and Unit Tests From: Lahiru Gunathilake To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary=f46d044289e487229004cb172e41 --f46d044289e487229004cb172e41 Content-Type: text/plain; charset=ISO-8859-1 Hi Raman, Thanks for pointing this out. I agree we need to add more test cases, but we were doing drastic changes in a very short time and I am glad we didn't write much tests for previous code. I hope we need to start writing tests for this implementation and I believe this one is much stable than the previous registry implementation. Regarding the AiravataRegistry we cannot put a meaningful name because its a very very abstract interface.. whoever implement it has to have a nice name for that. I personally +1 for AiravataRegistry2 and its nice for me because its basically the second Registry implementation of Airavata we have implemented. So here's my +1 for AiravataRegistry2 ! Lahiru On Tue, Oct 2, 2012 at 1:40 PM, Marlon Pierce wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > And don't forget the Sonar dashboard: > https://analysis.apache.org/dashboard/index/79319 > > > Marlon > > > On 10/2/12 1:39 PM, Amila Jayasekara wrote: > > +1 for both ideas. Unit tests are important specifically when we > > are refactoring code. That helps us to confidently change code and > > make sure nothing is broken. > > > > Thanks Amila > > > > On Tue, Oct 2, 2012 at 1:30 PM, Raminderjeet Singh > > wrote: > >> Hi Dev, > >> > >> I have seen some bad naming conventions followed in Registry API > >> like AiravataRegisty1 and AiravataRegisty2 etc. This is user > >> interaction interface for Airavata and we need to use meaningful > >> names. Lets spend a min or 2 while naming a class or interface as > >> it will take more time if you or someone else need to do it > >> later. Java coding conversions [1] need to be followed for rest > >> of the project. > >> > >> Another important thing we need to improve is unit tests > >> specially for AiravataAPI to start with. Currently we don't have > >> any unit test cases for Airavata API (JCRRegistryTest was there > >> which i am removing to address Airavata-589). > >> > >> Thanks Raminder > >> > >> > >> 1. > >> > http://www.oracle.com/technetwork/java/javase/documentation/codeconvtoc-136057.html > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.16 (Darwin) > Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ > > iQEcBAEBAgAGBQJQaycfAAoJEOEgD2XReDo5hpEH/jj9FT0oE+0xUYF/dknw5IZO > CqCSd9mQl1Iu4TTqOciMFo93h4p4l1PPg2TNc6SzlLurn5GXmCFZvkizER08pAfF > r78HCMvSqDbVYWznge5RG6TwAebWw8x1sVIF4eVUcgzjkXWgRydlA5Ln4wD2cyjK > QRMvPaQbVFoZv0iM0D0+ahK4REnu9TXaN43pU9o+9RARwiyNhz50535jKVI8Emdc > BBtyJhfvhrJ+q1HjnMno/wosz7LH2WRTSWCKRpUWZtlJRBcE7U1Sfw74qCZfU3Qd > 8uu4lMcYIIXJOHGK38+EVdscDS0X3uvBRSw7bch5modqS7cEFERNDBAywK8LZQU= > =2d4s > -----END PGP SIGNATURE----- > -- System Analyst Programmer PTI Lab Indiana University --f46d044289e487229004cb172e41--