summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono/Inheritance.cs
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-01-16 11:08:07 +0900
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-01-16 12:50:50 +0900
commit9ac79667e5115fd2e84bc177e4615e0ab42043a7 (patch)
treea2cfcb975ccd606ffd6fff034f7750f3b768ee3a /src/tests/efl_mono/Inheritance.cs
parentf0fcf6f989c80c527ad6545b1e784ed78db09547 (diff)
eolian-mono: Add interface registration to inherited classesdevs/felipealmeida/interface_inherit
Summary: Depends on D7635, D7634 Reviewers: woohyun, bu5hm4n, segfaultxavi, lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7636
Diffstat (limited to 'src/tests/efl_mono/Inheritance.cs')
-rw-r--r--src/tests/efl_mono/Inheritance.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/efl_mono/Inheritance.cs b/src/tests/efl_mono/Inheritance.cs
index 30ca391..344c6da 100644
--- a/src/tests/efl_mono/Inheritance.cs
+++ b/src/tests/efl_mono/Inheritance.cs
@@ -24,11 +24,13 @@ class TestInheritance
24 { 24 {
25 override public void IntOut (int x, out int y) 25 override public void IntOut (int x, out int y)
26 { 26 {
27 Console.WriteLine("IntOut");
27 y = 10*x; 28 y = 10*x;
28 } 29 }
29 30
30 public string StringshareTest (string i) 31 public string StringshareTest (string i)
31 { 32 {
33 Console.WriteLine("StringshareTest");
32 return "Hello World"; 34 return "Hello World";
33 } 35 }
34 } 36 }
@@ -44,8 +46,8 @@ class TestInheritance
44 { 46 {
45 var obj = new Inherit2(); 47 var obj = new Inherit2();
46 int i = Dummy.InheritHelper.ReceiveDummyAndCallIntOut(obj); 48 int i = Dummy.InheritHelper.ReceiveDummyAndCallIntOut(obj);
47 string s = Dummy.InheritHelper.ReceiveDummyAndCallInStringshare(obj);
48 Test.AssertEquals (50, i); 49 Test.AssertEquals (50, i);
50 string s = Dummy.InheritHelper.ReceiveDummyAndCallInStringshare(obj);
49 Test.AssertEquals ("Hello World", s); 51 Test.AssertEquals ("Hello World", s);
50 } 52 }
51} 53}