Re: [PATCH 2/2] add csharp userdiff tests
From: Marius Ungureanu <hidden>
Date: 2016-06-15 23:00:51
Subsystem:
the rest · Maintainer:
Linus Torvalds
--- t/t4018/csharp-constructor | 4 ++++ t/t4018/csharp-destructor | 4 ++++ t/t4018/csharp-function | 4 ++++ t/t4018/csharp-member | 4 ++++ t/t4018/csharp-namespace | 4 ++++ t/t4018/csharp-operator | 4 ++++ t/t4018/csharp-property | 4 ++++ t/t4018/csharp-skip-call | 5 +++++ 8 files changed, 33 insertions(+) create mode 100644 t/t4018/csharp-constructor create mode 100644 t/t4018/csharp-destructor create mode 100644 t/t4018/csharp-function create mode 100644 t/t4018/csharp-member create mode 100644 t/t4018/csharp-namespace create mode 100644 t/t4018/csharp-operator create mode 100644 t/t4018/csharp-property create mode 100644 t/t4018/csharp-skip-call
diff --git a/t/t4018/csharp-constructor b/t/t4018/csharp-constructor
new file mode 100644
index 0000000..a39cffb
--- /dev/null
+++ b/t/t4018/csharp-constructor@@ -0,0 +1,4 @@ +MyClass(RIGHT) +{ + ChangeMe; +}
diff --git a/t/t4018/csharp-destructor b/t/t4018/csharp-destructor
new file mode 100644
index 0000000..55106d9
--- /dev/null
+++ b/t/t4018/csharp-destructor@@ -0,0 +1,4 @@ +~MyClass(RIGHT) +{ + ChangeMe; +}
diff --git a/t/t4018/csharp-function b/t/t4018/csharp-function
new file mode 100644
index 0000000..a5d59a3
--- /dev/null
+++ b/t/t4018/csharp-function@@ -0,0 +1,4 @@ +virtual DoStuff(RIGHT) +{ + ChangeMe; +}
diff --git a/t/t4018/csharp-member b/t/t4018/csharp-member
new file mode 100644
index 0000000..4939d53
--- /dev/null
+++ b/t/t4018/csharp-member@@ -0,0 +1,4 @@ +unsafe class RIGHT +{ + int ChangeMe; +}
diff --git a/t/t4018/csharp-namespace b/t/t4018/csharp-namespace
new file mode 100644
index 0000000..6749980
--- /dev/null
+++ b/t/t4018/csharp-namespace@@ -0,0 +1,4 @@ +namespace RIGHT +{ + ChangeMe; +}
diff --git a/t/t4018/csharp-operator b/t/t4018/csharp-operator
new file mode 100644
index 0000000..5b00263
--- /dev/null
+++ b/t/t4018/csharp-operator@@ -0,0 +1,4 @@ +A operator+(RIGHT) +{ + ChangeMe; +}
diff --git a/t/t4018/csharp-property b/t/t4018/csharp-property
new file mode 100644
index 0000000..82d67fc
--- /dev/null
+++ b/t/t4018/csharp-property@@ -0,0 +1,4 @@ +public virtual int RIGHT +{ + get { ChangeMe; } +}
diff --git a/t/t4018/csharp-skip-call b/t/t4018/csharp-skip-call
new file mode 100644
index 0000000..e89d083
--- /dev/null
+++ b/t/t4018/csharp-skip-call@@ -0,0 +1,5 @@ +virtual void RIGHT() +{ + call(); + ChangeMe; +}
--
1.8.4