Note that there are some explanatory texts on larger screens.

plurals
  1. USAndy Thomas
    primarykey
    data
    text
    plurals
    1. COGood point. In contrast, TestNG allows you to tag tests with a test category like "database" or "integration" via the 'groups' attribute; provides @BeforeGroup/@AfterGroup setup/teardown methods; and supports running or excluding-from-running a set of groups. More detail on Beust's slides 6-11 here: http://qconsf.com/sf2007/file?path=/QConSF2007/slides/public/CedricBeust_TestNG.pdf.
      singulars
    2. CO@Martin York - Java ints and String *references* are also different, but share the similarity that both can be members of mutable arrays. If you can show infeasibility, post it as an answer, and I will accept it. But first, take a look at http://ideone.com/Fndze. Others: I am very interested in hearing from someone with experience with SWIG.
      singulars
    3. CO@Martin York - I come to wrap pass-by-reference, not implement it. The goal is to send and receive data. The workaround for primitive types is to convert an array member before function entry and after function exit. I seek the same for std::string&, with a String[]. In Java, a String[] contains references -- pointers -- to String objects. The native glue code can easily replace the singleton array member with a new reference to a Java String converted from the local std::string it passed by reference. I know that the original Java String object has not been modified, but I don't need that.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload