mobile/bind/testdata
Elias Naur 5b452fe89a bind: split out Seq.getRef calls with Go references
Today, the Seq.Ref class has two purposes. For Java references,
Ref contains the refnum, a reference to the Java object and a
reference count. For Go references, Ref contains the refnum and
its finalizer makes sure to decrement the reference count on the Go
side.

The next CL will replace the use of finalizers with an explicit
ReferenceQueue of Go references, and the Ref class will no longer
be used for Go refences. To prepare for that, this CL pulls up the
construction of Go referencing Ref instances into the Seq.trackGoRef
function.

Change-Id: I9eefe238cd3fd1b661b2af11d331a2f61e31303b
Reviewed-on: https://go-review.googlesource.com/106875
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2018-04-17 14:58:00 +00:00
..
benchmark bind/benchmark: move package to testdata 2018-03-21 18:16:30 +00:00
testpkg bind: skip incompatible constructors in ObjC bindings 2018-03-21 16:22:27 +00:00
basictypes.go mobile/bind: merge iOS and Android Go test packages 2016-03-07 16:10:51 +00:00
basictypes.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
basictypes.java.c.golden bind,internal: change the default Java package to the empty string 2017-01-11 19:15:09 +00:00
basictypes.java.golden bind,internal: change the default Java package to the empty string 2017-01-11 19:15:09 +00:00
basictypes.java.h.golden mobile/bind: replace seq serialization with direct calls 2016-03-03 15:03:45 +00:00
basictypes.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
basictypes.objc.h.golden bind: make the default name prefix empty on ObjC 2016-12-24 13:37:27 +00:00
basictypes.objc.m.golden bind: make the default name prefix empty on ObjC 2016-12-24 13:37:27 +00:00
classes.go internal,bind: resolve overloaded methods at runtime 2017-01-17 14:03:33 +00:00
classes.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
classes.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
classes.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
classes.java.h.golden bind,internal/importers: always generate toString methods 2017-01-17 14:05:11 +00:00
customprefix.go bind: support for custom java package name and objective-c prefix. 2015-08-28 13:57:06 +00:00
customprefix.java.c.golden bind,cmd: accept Java API in bound packages 2016-09-22 10:16:33 +00:00
customprefix.java.golden bind: use lowercase method names for Java binds 2016-09-07 12:52:06 +00:00
customprefix.java.h.golden mobile/bind: replace seq serialization with direct calls 2016-03-03 15:03:45 +00:00
customprefix.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
customprefix.objc.h.golden bind: fix CLANG_WARN_STRICT_PROTOTYPES errors for generated ObjC code 2017-10-09 16:20:38 +00:00
customprefix.objc.m.golden bind: fix CLANG_WARN_STRICT_PROTOTYPES errors for generated ObjC code 2017-10-09 16:20:38 +00:00
customprefixEX.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
customprefixEX.objc.h.golden bind: fix CLANG_WARN_STRICT_PROTOTYPES errors for generated ObjC code 2017-10-09 16:20:38 +00:00
customprefixEX.objc.m.golden bind: fix CLANG_WARN_STRICT_PROTOTYPES errors for generated ObjC code 2017-10-09 16:20:38 +00:00
doc.go bind,cmd/gomobile: fix follow ups to doc generator CL (52330) 2017-09-05 18:43:28 +00:00
doc.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
doc.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
doc.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
doc.java.h.golden bind,cmd: generate ObjC and Java documentation 2017-08-25 16:30:26 +00:00
doc.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
doc.objc.h.golden bind: fix CLANG_WARN_STRICT_PROTOTYPES errors for generated ObjC code 2017-10-09 16:20:38 +00:00
doc.objc.m.golden bind: fix CLANG_WARN_STRICT_PROTOTYPES errors for generated ObjC code 2017-10-09 16:20:38 +00:00
ignore.go bind: ignore unsupported basic types 2018-04-10 16:30:43 +00:00
ignore.go.golden bind: ignore unsupported basic types 2018-04-10 16:30:43 +00:00
ignore.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
ignore.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
ignore.java.h.golden mobile/bind: skip unsupported functions, vars, fields and methods 2016-03-15 16:00:42 +00:00
ignore.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
ignore.objc.h.golden bind: ignore unsupported basic types 2018-04-10 16:30:43 +00:00
ignore.objc.m.golden bind: ignore unsupported basic types 2018-04-10 16:30:43 +00:00
interfaces.go bind: support types with the same title name as their packages 2018-01-17 09:45:22 +00:00
interfaces.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
interfaces.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
interfaces.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
interfaces.java.h.golden bind: support types with the same title name as their packages 2018-01-17 09:45:22 +00:00
interfaces.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
interfaces.objc.h.golden bind: support types with the same title name as their packages 2018-01-17 09:45:22 +00:00
interfaces.objc.m.golden bind: support types with the same title name as their packages 2018-01-17 09:45:22 +00:00
issue10788.go bind: param name replacement for invalid unicode names 2016-10-12 18:37:41 +00:00
issue10788.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
issue10788.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
issue10788.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
issue10788.java.h.golden mobile/bind: allow bound packages to refer to imported bound packages 2016-03-12 06:23:01 +00:00
issue10788.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
issue10788.objc.h.golden bind: declare implemented ObjC protocols 2017-08-22 15:31:44 +00:00
issue10788.objc.m.golden bind: generate ObjC initializers 2017-08-11 20:43:43 +00:00
issue12328.go bind: support fields with type error 2015-08-26 20:25:55 +00:00
issue12328.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
issue12328.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
issue12328.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
issue12328.java.h.golden mobile/bind: allow bound packages to refer to imported bound packages 2016-03-12 06:23:01 +00:00
issue12328.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
issue12328.objc.h.golden bind: generate ObjC initializers 2017-08-11 20:43:43 +00:00
issue12328.objc.m.golden bind: generate ObjC initializers 2017-08-11 20:43:43 +00:00
issue12403.go bind: fix interface methods' multiple return values handling. 2015-08-31 16:32:47 +00:00
issue12403.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
issue12403.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
issue12403.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
issue12403.java.h.golden mobile/bind: use objects to pass errors across the language barrier 2016-06-23 18:55:48 +00:00
issue12403.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
issue12403.objc.h.golden bind: make the default name prefix empty on ObjC 2016-12-24 13:37:27 +00:00
issue12403.objc.m.golden bind: make the default name prefix empty on ObjC 2016-12-24 13:37:27 +00:00
java.go bind,internal/importers: handle Java long constants correctly 2017-01-17 15:58:41 +00:00
java.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
java.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
java.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
java.java.h.golden bind,internal/importers: handle Java long constants correctly 2017-01-17 15:58:41 +00:00
keywords.go bind: add nil and bool to ObjC keyword list 2018-03-21 13:43:35 +00:00
keywords.go.golden bind: add nil and bool to ObjC keyword list 2018-03-21 13:43:35 +00:00
keywords.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
keywords.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
keywords.java.h.golden bind: add nil and bool to ObjC keyword list 2018-03-21 13:43:35 +00:00
keywords.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
keywords.objc.h.golden bind: add nil and bool to ObjC keyword list 2018-03-21 13:43:35 +00:00
keywords.objc.m.golden bind: add nil and bool to ObjC keyword list 2018-03-21 13:43:35 +00:00
objc.go bind,cmd: add generator for ObjC API wrappers 2016-10-16 10:25:40 +00:00
objc.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
objcw.go bind,cmd: accept ObjC wrapper types in bound packages 2016-10-17 10:37:16 +00:00
objcw.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
structs.go bind: support types with the same title name as their packages 2018-01-17 09:45:22 +00:00
structs.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
structs.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
structs.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
structs.java.h.golden bind: support types with the same title name as their packages 2018-01-17 09:45:22 +00:00
structs.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
structs.objc.h.golden bind: support types with the same title name as their packages 2018-01-17 09:45:22 +00:00
structs.objc.m.golden bind: support types with the same title name as their packages 2018-01-17 09:45:22 +00:00
try.go bind: adjust invalid java package names 2015-08-24 21:08:09 +00:00
try.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
try.java.c.golden bind: support underscores in identifiers 2018-03-21 16:27:11 +00:00
try.java.golden bind,internal: change the default Java package to the empty string 2017-01-11 19:15:09 +00:00
try.java.h.golden mobile/bind: replace seq serialization with direct calls 2016-03-03 15:03:45 +00:00
try.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
try.objc.h.golden bind: fix CLANG_WARN_STRICT_PROTOTYPES errors for generated ObjC code 2017-10-09 16:20:38 +00:00
try.objc.m.golden bind: fix CLANG_WARN_STRICT_PROTOTYPES errors for generated ObjC code 2017-10-09 16:20:38 +00:00
underscores.go bind: support underscores in identifiers 2018-03-21 16:27:11 +00:00
underscores.go.golden bind: support underscores in identifiers 2018-03-21 16:27:11 +00:00
underscores.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
underscores.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
underscores.java.h.golden bind: support underscores in identifiers 2018-03-21 16:27:11 +00:00
underscores.objc.go.h.golden bind: support underscores in identifiers 2018-03-21 16:27:11 +00:00
underscores.objc.h.golden bind: support underscores in identifiers 2018-03-21 16:27:11 +00:00
underscores.objc.m.golden bind: support underscores in identifiers 2018-03-21 16:27:11 +00:00
universe.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
universe.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
universe.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
universe.java.h.golden bind: include all generated code in tests 2017-01-12 22:17:26 +00:00
universe.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
universe.objc.h.golden bind: include all generated code in tests 2017-01-12 22:17:26 +00:00
universe.objc.m.golden bind: include all generated code in tests 2017-01-12 22:17:26 +00:00
vars.go bind: support exported variables 2015-10-07 20:48:45 +00:00
vars.go.golden bind, cmd: generate complete standalone bindings from gobind 2018-03-16 06:47:34 +00:00
vars.java.c.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
vars.java.golden bind: split out Seq.getRef calls with Go references 2018-04-17 14:58:00 +00:00
vars.java.h.golden mobile/bind: allow bound packages to refer to imported bound packages 2016-03-12 06:23:01 +00:00
vars.objc.go.h.golden bind: avoid header guard clashes for uppercase Go packages 2018-03-21 16:25:10 +00:00
vars.objc.h.golden bind: declare implemented ObjC protocols 2017-08-22 15:31:44 +00:00
vars.objc.m.golden bind: generate ObjC initializers 2017-08-11 20:43:43 +00:00