Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Weinand2005-05-06 22:52:51 +0000
committerAndre Weinand2005-05-06 22:52:51 +0000
commit316b9c84a4f4311ebf993c928351a02ec37c2a3e (patch)
tree2be7cf96cc2fc4975e17536f14c70557d93534a5 /tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata
parentcc9c2b99fa9351215018fdb7e6b72c1bf7de4139 (diff)
downloadeclipse.platform.team-316b9c84a4f4311ebf993c928351a02ec37c2a3e.tar.gz
eclipse.platform.team-316b9c84a4f4311ebf993c928351a02ec37c2a3e.tar.xz
eclipse.platform.team-316b9c84a4f4311ebf993c928351a02ec37c2a3e.zip
added test case for #93901: Applying patch with one line added inserts new line one line above
Diffstat (limited to 'tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata')
-rw-r--r--tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/new.txt25
-rw-r--r--tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/old.txt23
-rw-r--r--tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch0.txt12
-rw-r--r--tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch1.txt20
-rw-r--r--tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch3.txt29
5 files changed, 109 insertions, 0 deletions
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/new.txt b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/new.txt
new file mode 100644
index 000000000..c13853369
--- /dev/null
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/new.txt
@@ -0,0 +1,25 @@
+[a]
+[b]
+[c]
+[c1]
+[c2]
+[d]
+[e]
+[f]
+[g]
+[h]
+[i1]
+[j]
+[k]
+[l]
+[m]
+[n]
+[p]
+[q]
+[r]
+[s]
+[s1]
+[t]
+[u]
+[v]
+[w]
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/old.txt b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/old.txt
new file mode 100644
index 000000000..1b8d4c7ca
--- /dev/null
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/old.txt
@@ -0,0 +1,23 @@
+[a]
+[b]
+[c]
+[d]
+[e]
+[f]
+[g]
+[h]
+[i]
+[j]
+[k]
+[l]
+[m]
+[n]
+[o]
+[p]
+[q]
+[r]
+[s]
+[t]
+[u]
+[v]
+[w]
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch0.txt b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch0.txt
new file mode 100644
index 000000000..4fbbf3e33
--- /dev/null
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch0.txt
@@ -0,0 +1,12 @@
+--- old.txt 2005-05-07 00:16:20.000000000 +0200
++++ new.txt 2005-05-07 00:16:32.000000000 +0200
+@@ -3,0 +4,2 @@
++[c1]
++[c2]
+@@ -9 +11 @@
+-[i]
++[i1]
+@@ -15 +16,0 @@
+-[o]
+@@ -19,0 +21 @@
++[s1]
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch1.txt b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch1.txt
new file mode 100644
index 000000000..ebe945ea1
--- /dev/null
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch1.txt
@@ -0,0 +1,20 @@
+--- old.txt 2005-05-07 00:16:20.000000000 +0200
++++ new.txt 2005-05-07 00:16:32.000000000 +0200
+@@ -3,2 +3,4 @@
+ [c]
++[c1]
++[c2]
+ [d]
+@@ -8,3 +10,3 @@
+ [h]
+-[i]
++[i1]
+ [j]
+@@ -14,3 +16,2 @@
+ [n]
+-[o]
+ [p]
+@@ -19,2 +20,3 @@
+ [s]
++[s1]
+ [t]
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch3.txt b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch3.txt
new file mode 100644
index 000000000..e31be0bdc
--- /dev/null
+++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/patchdata/patch3.txt
@@ -0,0 +1,29 @@
+--- old.txt 2005-05-07 00:16:20.000000000 +0200
++++ new.txt 2005-05-07 00:16:32.000000000 +0200
+@@ -1,22 +1,24 @@
+ [a]
+ [b]
+ [c]
++[c1]
++[c2]
+ [d]
+ [e]
+ [f]
+ [g]
+ [h]
+-[i]
++[i1]
+ [j]
+ [k]
+ [l]
+ [m]
+ [n]
+-[o]
+ [p]
+ [q]
+ [r]
+ [s]
++[s1]
+ [t]
+ [u]
+ [v]

Back to the top