diff options
Diffstat (limited to 'src/tests/efl_mono/Inheritance.cs')
-rw-r--r-- | src/tests/efl_mono/Inheritance.cs | 4 |
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 | } |