Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
djinni
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
djinni
Commits
49018487
Commit
49018487
authored
Jan 12, 2016
by
Andrew Twyman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document purpose of new test
Re-generate example
parent
020d9341
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
1 deletion
+23
-1
example/generated-src/jni/NativeTextboxListener.hpp
example/generated-src/jni/NativeTextboxListener.hpp
+1
-1
test-suite/djinni/listeners.djinni
test-suite/djinni/listeners.djinni
+4
-0
test-suite/generated-src/cpp/listener_caller.hpp
test-suite/generated-src/cpp/listener_caller.hpp
+6
-0
test-suite/generated-src/java/com/dropbox/djinni/test/ListenerCaller.java
...ated-src/java/com/dropbox/djinni/test/ListenerCaller.java
+6
-0
test-suite/generated-src/objc/DBListenerCaller.h
test-suite/generated-src/objc/DBListenerCaller.h
+6
-0
No files found.
example/generated-src/jni/NativeTextboxListener.hpp
View file @
49018487
...
...
@@ -27,7 +27,7 @@ private:
friend
::
djinni
::
JniClass
<
NativeTextboxListener
>
;
friend
::
djinni
::
JniInterface
<::
textsort
::
TextboxListener
,
NativeTextboxListener
>
;
class
JavaProxy
final
:
::
djinni
::
JavaProxy
CacheEntry
,
public
::
textsort
::
TextboxListener
class
JavaProxy
final
:
::
djinni
::
JavaProxy
Handle
<
JavaProxy
>
,
public
::
textsort
::
TextboxListener
{
public:
JavaProxy
(
JniType
j
);
...
...
test-suite/djinni/listeners.djinni
View file @
49018487
...
...
@@ -6,6 +6,10 @@ second_listener = interface +o {
second();
}
# Tester for the ability to call two interfaces which might be
# implemented on the same object. That's not relevant in all
# languages, due to the details of multiple inheritance and object
# comparison.
listener_caller = interface +c {
static init(first_l: first_listener, second_l: second_listener): listener_caller;
callFirst();
...
...
test-suite/generated-src/cpp/listener_caller.hpp
View file @
49018487
...
...
@@ -10,6 +10,12 @@ namespace testsuite {
class
FirstListener
;
class
SecondListener
;
/**
* Tester for the ability to call two interfaces which might be
* implemented on the same object. That's not relevant in all
* languages, due to the details of multiple inheritance and object
* comparison.
*/
class
ListenerCaller
{
public:
virtual
~
ListenerCaller
()
{}
...
...
test-suite/generated-src/java/com/dropbox/djinni/test/ListenerCaller.java
View file @
49018487
...
...
@@ -7,6 +7,12 @@ import java.util.concurrent.atomic.AtomicBoolean;
import
javax.annotation.CheckForNull
;
import
javax.annotation.Nonnull
;
/**
* Tester for the ability to call two interfaces which might be
* implemented on the same object. That's not relevant in all
* languages, due to the details of multiple inheritance and object
* comparison.
*/
public
abstract
class
ListenerCaller
{
public
abstract
void
callFirst
();
...
...
test-suite/generated-src/objc/DBListenerCaller.h
View file @
49018487
...
...
@@ -7,6 +7,12 @@
@protocol
DBSecondListener
;
/**
* Tester for the ability to call two interfaces which might be
* implemented on the same object. That's not relevant in all
* languages, due to the details of multiple inheritance and object
* comparison.
*/
@interface
DBListenerCaller
:
NSObject
+
(
nullable
DBListenerCaller
*
)
init
:(
nullable
id
<
DBFirstListener
>
)
firstL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment