~ubuntu-branches/ubuntu/quantal/swig2.0/quantal

« back to all changes in this revision

Viewing changes to Examples/test-suite/java/template_default_class_parms_runme.java

  • Committer: Package Import Robot
  • Author(s): Stefano Rivera
  • Date: 2012-06-01 17:05:17 UTC
  • mfrom: (1.1.6) (10.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120601170517-q0ik32ij61i4r6f0
Tags: 2.0.7-2ubuntu1
* Merge from Debian unstable (LP: #1006387). Remaining changes:
  - Drop libchicken-dev from the build-depends (in universe).

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
    {
18
18
      DefaultBar bar = new DefaultBar(20.0, new SomeType(), 10);
19
19
      double d = bar.getCType();
 
20
      bar.setCType(d);
20
21
      SomeType s = bar.getDType();
 
22
      bar.setDType(s);
21
23
      int i = bar.getEType();
 
24
      bar.setEType(i);
22
25
      d = bar.method(d, s, i);
23
26
    }
24
27
    {
29
32
    {
30
33
      BarAnotherTypeBool bar = new BarAnotherTypeBool(new AnotherType(), true, 10);
31
34
      AnotherType a = bar.getCType();
 
35
      bar.setCType(a);
32
36
      boolean b = bar.getDType();
 
37
      bar.setDType(b);
33
38
      int i = bar.getEType();
 
39
      bar.setEType(i);
34
40
      a = bar.method(a, b, i);
35
41
    }
36
42
    {
37
43
      FooAnotherType foo = new FooAnotherType(new AnotherType());
38
44
      AnotherType a = foo.getTType();
 
45
      foo.setTType(a);
39
46
      a = foo.method(a);
40
47
    }
41
48
  }