public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Aaron M. Renn" <arenn@urbanophile.com>
To: mauve-discuss@sourceware.cygnus.com
Subject: Interface Tests
Date: Thu, 01 Apr 1999 00:00:00 -0000	[thread overview]
Message-ID: <36AD103E.CB6DAB3F@urbanophile.com> (raw)
Message-ID: <19990401000000.YoO-2G_Lgh7UFscqsAghoZn9nkr1N4Ofpo9-sZm_Yk8@z> (raw)

I'm starting to write tests for java.sql.  As you are probably aware, that
package is mostly interfaces, with only a handful of small classes.  I wrote
a test case for the Connection interface.  It basically consists of
verifying that the interface constants have the correct value.  However, I
also had it implement the interface and stubbed out all the methods in order
to see if would compile.  Does this sort of check seem valueable to anyone,
or do you think I'm just wasting my time?

I checked the test in if anyone wants to look at it:
gnu/testlet/java/sql/Connection/TestJdbc10.java

-- 
Aaron M. Renn (arenn@urbanophile.com) http://www.urbanophile.com/arenn/

             reply	other threads:[~1999-04-01  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-25 16:45 Aaron M. Renn [this message]
     [not found] ` < 36AD103E.CB6DAB3F@urbanophile.com >
1999-01-26  5:41   ` Anthony Green
1999-04-01  0:00     ` Anthony Green
1999-04-01  0:00 ` Aaron M. Renn

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36AD103E.CB6DAB3F@urbanophile.com \
    --to=arenn@urbanophile.com \
    --cc=mauve-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).