This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "a string".getBytes("ASCII")


"Raif S. Naffah" <raif@fl.net.au> writes:

> hello there,
> 
> the encoding page in the JDK1.4.1 documentation states that "ASCII" is a 
> supported encoding (see <.../docs/guide/intl/encoding.doc.html>).
> 
> i dont see in the Mauve String test classes any test for things like "a 
> string".getBytes("ASCII") --and more generally getBytes() for supported 
> encodings.
> 
> is it ok to add some methods to the 
> gnu/testlet/java/lang/String/getBytes.java class to test ASCII and 
> other encodings?  or may be create a new class 'encoding14.java' to 
> test all 1.4 supported encodings?

Probably add to getBytes.java if the TAGS java version is okay in the
TAGS line, otherwise create a new file with the appropriate TAGS line
and probably called getBytes<version>.java, such as getBytes14.java.

My $0.02,
Brian
--
Brian Jones <cbj@gnu.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]