pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Jonas Sundman <jonas.sundman@thl.fi>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: bug on to do list reproducable at version 9.0-801
Date: Mon, 13 Feb 2012 12:41:14 -0500 (EST)
Message-ID: <alpine.BSO.2.00.1202131238460.21621@leary.csoft.net> (raw)
In-Reply-To: <CADK3HHLCE_34_4YLpuSgq+sgtRJdF2jFxDwrwvfeXVZRx_YT=w@mail.gmail.com>
References: <232B5217AD58584C87019E8933556D11037465E872@redmx2.esri.com>
	<4F337324.4060308@thl.fi>
	<CADK3HHJ9FFTRmKdzMXkcyAFW_4W0iv7cWzATxdeE4=B6QfXnmw@mail.gmail.com>
	<CADK3HHLCE_34_4YLpuSgq+sgtRJdF2jFxDwrwvfeXVZRx_YT=w@mail.gmail.com>



On Mon, 13 Feb 2012, Dave Cramer wrote:

> Thanks for the patch. I've had some time to look at it. One problem I
> am running into is creating a test case for it.
> 
> Currently all of our test code is in the test.org.postgresql....
> package(s) however I can't get access to one of the protected methods
> from there.

Are you confusing protected with package private?  Changing the test 
package won't magically give you access to a protected method.

> I'm thinking we should move all of the test code into
> org.postgresql.... package and drop the test. This would give us the
> ability to create unit tests on more methods
> 

The easier approach is just to make more internal methods public.  Since 
everyone is really just dealing the standard java.sql interfaces, I don't 
think we'd really be risking over-exposing driver internals.

Kris Jurka



view thread (18+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1202131238460.21621@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1202131238460.21621@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1202131238460.21621@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, pg@fastcrypt.com, jonas.sundman@thl.fi
  Subject: Re: bug on to do list reproducable at version 9.0-801
  In-Reply-To: <alpine.BSO.2.00.1202131238460.21621@leary.csoft.net>
  References: <232B5217AD58584C87019E8933556D11037465E872@redmx2.esri.com> <4F337324.4060308@thl.fi> <CADK3HHJ9FFTRmKdzMXkcyAFW_4W0iv7cWzATxdeE4=B6QfXnmw@mail.gmail.com> <CADK3HHLCE_34_4YLpuSgq+sgtRJdF2jFxDwrwvfeXVZRx_YT=w@mail.gmail.com> <alpine.BSO.2.00.1202131238460.21621@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox