summaryrefslogtreecommitdiff
path: root/Examples/test-suite/java/doxygen_alias_runme.java
blob: 98cd977523626a725f48efbc594aaf3cd2e5726c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

import doxygen_alias.*;
import java.util.HashMap;

public class doxygen_alias_runme {
  static {
    try {
      System.loadLibrary("doxygen_alias");
    } 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[])
  {
    CommentParser.parse("doxygen_alias");

    HashMap<String, String> wantedComments = new HashMap<String, String>();
    wantedComments.put("doxygen_alias.doxygen_alias.make_something()",
      "     A function returning something.<br>\n" +
      " <br>\n" +
      "     @return A new object which may be null.\n" +
      "");

    System.exit(CommentParser.check(wantedComments));
  }
}