[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54338] New org.octave.BoxingTester Java class
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #54338] New org.octave.BoxingTester Java class to help testing |
Date: |
Fri, 20 Jul 2018 20:34:51 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Follow-up Comment #2, bug #54338 (project octave):
I think this is a really good idea.
Can you look at turning some of the example uses that you have posted here
into a new test suite entry, say test/java.tst?
Tests might look like
%!testif HAVE_JAVA; usejava ("jvm")
%! assert (jobj.getStringAsString (), "Hello, world!")
%!testif HAVE_JAVA; usejava ("jvm")
%! assert (jobj.getInt (), int32 (42))
...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54338>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/