Merge branch 'fschlimb-templ_def_cache'
* fschlimb-templ_def_cache: Add template_default_cache runtime tests Fix template_default_cache testcase template_default_cache is a multi-module test using 2-level caching as suggested by @wsfulton account for explicitly qualified scopes adding test restricting chaching template default types
This commit is contained in:
commit
4c1152efcd
5 changed files with 90 additions and 10 deletions
18
Examples/test-suite/java/template_default_cache_runme.java
Normal file
18
Examples/test-suite/java/template_default_cache_runme.java
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import template_default_cache.*;
|
||||
|
||||
public class template_default_cache_runme {
|
||||
|
||||
static {
|
||||
try {
|
||||
System.loadLibrary("template_default_cache");
|
||||
} catch (UnsatisfiedLinkError e) {
|
||||
System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String argv[]) {
|
||||
AModelPtr ap = template_default_cache.get_mp_a();
|
||||
BModelPtr bp = template_default_cache.get_mp_b();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue