MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
test.MyJapiTest Class Reference
Collaboration diagram for test.MyJapiTest:

Static Public Member Functions

static void test0 ()
static void test1 ()
static void test2 ()
static void test3bb ()
static void test3v ()
static void test4bb0 ()
static void test4bb1 ()
static void test4v1 ()
static void test5bb0 ()
static void test5bb1 ()
static void test5v0 ()
static void test5v1 ()
static void test6 ()
static void test7s ()
static void test7bb0 ()
static void test7bb1 ()
static void test7bb ()
static void test8 ()
static void test9 ()
static long hash0 (CI.C0CArray c0a, int n)
static long hash1 (CI.C1CArray c1a, int n)
static void test10 ()
static void test11 ()
static void test12 ()
static void test ()
static void main (String[] args)

Static Protected Member Functions

static void loadSystemLibrary (String name)

Static Protected Attributes

static final PrintWriter out = new PrintWriter(System.out, true)
static final PrintWriter err = new PrintWriter(System.err, true)

Detailed Description

A comprehensive test of the mappings of primitive and user-defined types.

In detail, this test consists of unit tests for

  1. loading a dynamically linked system library
  2. calling most basic function: f0()
  3. platform-dependent mappings of all primitive types
  4. default mappings of primitive types
  5. ByteBuffer mappings of references of primitive types
  6. value-copy mappings of references of primitive types
  7. ByteBuffer<size=0> mappings of pointers to primitive types
  8. ByteBuffer<sizeof(C)> mappings of pointers to primitive types
  9. array<size=1> mappings of pointers to primitive types
  10. nullable ByteBuffer<size=0> mappings of pointers to primitive types
  11. nullable ByteBuffer<sizeof(C)> mappings of pointers to primitive types
  12. nullable array<size=0> mappings of pointers to primitive types
  13. nullable array<size=1> mappings of pointers to primitive types
  14. object mappings
  15. String mappings
  16. ByteBuffer<size=0> mappings of void/char pointers
  17. ByteBuffer<size=1> mappings of void/char pointers
  18. ByteBuffer<size=0> mappings of null-allowed void/char pointers
  19. n-ary functions
  20. const/inheritance mapping

Any errors are indicated by an exception; hence, the test succeeds when finishing normally.

Definition at line 76 of file MyJapiTest.java.

Member Function Documentation

static void test.MyJapiTest.loadSystemLibrary ( String  name)
inlinestaticprotected

Loads a dynamically linked system library and reports any failures.

Definition at line 94 of file MyJapiTest.java.


The documentation for this class was generated from the following file: