~ubuntu-branches/ubuntu/saucy/dbus-java/saucy

« back to all changes in this revision

Viewing changes to org/freedesktop/dbus/test/TestRemoteInterface2.java

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Johnson
  • Date: 2008-08-08 15:43:24 UTC
  • mfrom: (2.1.2 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080808154324-mw5xj5dn20bph8um
Tags: 2.5-4
Depend on texlive-latex-recommended (Closes: #494212) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
   Copyright (c) 2005-2006 Matthew Johnson
4
4
 
5
5
   This program is free software; you can redistribute it and/or modify it
6
 
   under the terms of either the GNU General Public License Version 2 or the
 
6
   under the terms of either the GNU Lesser General Public License Version 2 or the
7
7
   Academic Free Licence Version 2.1.
8
8
 
9
9
   Full licence texts are included in the COPYING file with this program.
12
12
 
13
13
import org.freedesktop.dbus.DBusInterface;
14
14
import org.freedesktop.dbus.DBusInterfaceName;
 
15
import org.freedesktop.dbus.DBusMemberName;
15
16
import org.freedesktop.dbus.Variant;
16
17
import org.freedesktop.DBus.Description;
17
18
 
30
31
   @Description("Test passing objects as object paths.")
31
32
   public DBusInterface getThis(DBusInterface t);
32
33
   @Description("Test bools work")
 
34
   @DBusMemberName("checkbool")
33
35
   public boolean check();
34
36
   @Description("Test Serializable Object")
35
 
   public void testSerializable(byte b, TestSerializable s, int i);
 
37
   public TestSerializable<String> testSerializable(byte b, TestSerializable<String> s, int i);
36
38
   @Description("Call another method on itself from within a call")
37
39
   public String recursionTest();
38
40
   @Description("Parameter-overloaded method (string)")
46
48
   @Description("Get new objects as object paths.")
47
49
   public TestNewInterface getNew();
48
50
   @Description("Test Complex Variants")
49
 
   public void complexv(Variant v);
 
51
   public void complexv(Variant<? extends Object> v);
 
52
   @Description("Test Introspect on a different interface")
 
53
   public String Introspect();
50
54
}