[492341] Res Att Change correctly implies diffs
[EMFCompare2.git] / plugins / org.eclipse.emf.compare.tests / src / org / eclipse / emf / compare / tests / req / data / ReqInputData.java
blob90d1348d7e6a2424df444727f0f7da376ba23a32
1 /*******************************************************************************
2 * Copyright (c) 2012 Obeo.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Obeo - initial API and implementation
10 *******************************************************************************/
11 package org.eclipse.emf.compare.tests.req.data;
13 import java.io.IOException;
15 import org.eclipse.emf.compare.tests.framework.AbstractInputData;
16 import org.eclipse.emf.ecore.resource.Resource;
17 import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
19 public class ReqInputData extends AbstractInputData {
20 public Resource getA1Left() throws IOException {
21 return loadFromClassLoader("a1/left.nodes"); //$NON-NLS-1$
24 public Resource getA1Right() throws IOException {
25 return loadFromClassLoader("a1/right.nodes"); //$NON-NLS-1$
28 public Resource getA2Left() throws IOException {
29 return loadFromClassLoader("a2/left.nodes"); //$NON-NLS-1$
32 public Resource getA2Right() throws IOException {
33 return loadFromClassLoader("a2/right.nodes"); //$NON-NLS-1$
36 public Resource getA3Left() throws IOException {
37 return loadFromClassLoader("a3/left.nodes"); //$NON-NLS-1$
40 public Resource getA3Right() throws IOException {
41 return loadFromClassLoader("a3/right.nodes"); //$NON-NLS-1$
44 public Resource getA4Left() throws IOException {
45 return loadFromClassLoader("a4/left.nodes"); //$NON-NLS-1$
48 public Resource getA4Right() throws IOException {
49 return loadFromClassLoader("a4/right.nodes"); //$NON-NLS-1$
52 public Resource getA5Left() throws IOException {
53 return loadFromClassLoader("a5/left.nodes"); //$NON-NLS-1$
56 public Resource getA5Right() throws IOException {
57 return loadFromClassLoader("a5/right.nodes"); //$NON-NLS-1$
60 public Resource getA6Left() throws IOException {
61 return loadFromClassLoader("a6/left.nodes"); //$NON-NLS-1$
64 public Resource getA6Right() throws IOException {
65 return loadFromClassLoader("a6/right.nodes"); //$NON-NLS-1$
68 public Resource getA7Left() throws IOException {
69 return loadFromClassLoader("a7/left.nodes"); //$NON-NLS-1$
72 public Resource getA7Right() throws IOException {
73 return loadFromClassLoader("a7/right.nodes"); //$NON-NLS-1$
76 public Resource getA8Left() throws IOException {
77 return loadFromClassLoader("a8/left.nodes"); //$NON-NLS-1$
80 public Resource getA8Right() throws IOException {
81 return loadFromClassLoader("a8/right.nodes"); //$NON-NLS-1$
84 public Resource getA9Left() throws IOException {
85 return loadFromClassLoader("a9/left.nodes"); //$NON-NLS-1$
88 public Resource getA9Right() throws IOException {
89 return loadFromClassLoader("a9/right.nodes"); //$NON-NLS-1$
92 public Resource getA10Left() throws IOException {
93 return loadFromClassLoader("a10/left.nodes"); //$NON-NLS-1$
96 public Resource getA10Right() throws IOException {
97 return loadFromClassLoader("a10/right.nodes"); //$NON-NLS-1$
100 public Resource getA11Left() throws IOException {
101 return loadFromClassLoader("a11/left.nodes"); //$NON-NLS-1$
104 public Resource getA11Right() throws IOException {
105 return loadFromClassLoader("a11/right.nodes"); //$NON-NLS-1$
108 public Resource getC1Left() throws IOException {
109 return loadFromClassLoader("c1/left.nodes"); //$NON-NLS-1$
112 public Resource getC1Right() throws IOException {
113 return loadFromClassLoader("c1/right.nodes"); //$NON-NLS-1$
116 public Resource getC2Left() throws IOException {
117 return loadFromClassLoader("c2/left.nodes"); //$NON-NLS-1$
120 public Resource getC2Right() throws IOException {
121 return loadFromClassLoader("c2/right.nodes"); //$NON-NLS-1$
124 public Resource getC3Left() throws IOException {
125 return loadFromClassLoader("c3/left.nodes"); //$NON-NLS-1$
128 public Resource getC3Right() throws IOException {
129 return loadFromClassLoader("c3/right.nodes"); //$NON-NLS-1$
132 public Resource getC4Left() throws IOException {
133 return loadFromClassLoader("c4/left.nodes"); //$NON-NLS-1$
136 public Resource getC4Right() throws IOException {
137 return loadFromClassLoader("c4/right.nodes"); //$NON-NLS-1$
140 public Resource getC5Left() throws IOException {
141 return loadFromClassLoader("c5/left.nodes"); //$NON-NLS-1$
144 public Resource getC5Right() throws IOException {
145 return loadFromClassLoader("c5/right.nodes"); //$NON-NLS-1$
148 public Resource getE1Left() throws IOException {
149 return loadFromClassLoader("e1/left.nodes"); //$NON-NLS-1$
152 public Resource getE1Right() throws IOException {
153 return loadFromClassLoader("e1/right.nodes"); //$NON-NLS-1$
156 public Resource getE1Ancestor() throws IOException {
157 return loadFromClassLoader("e1/ancestor.nodes"); //$NON-NLS-1$
160 public Resource getE2Left() throws IOException {
161 return loadFromClassLoader("e2/left.nodes"); //$NON-NLS-1$
164 public Resource getE2Right() throws IOException {
165 return loadFromClassLoader("e2/right.nodes"); //$NON-NLS-1$
168 public Resource getE2Ancestor() throws IOException {
169 return loadFromClassLoader("e2/ancestor.nodes"); //$NON-NLS-1$
172 public Resource getE3Left() throws IOException {
173 return loadFromClassLoader("e3/left.nodes"); //$NON-NLS-1$
176 public Resource getE3Right() throws IOException {
177 return loadFromClassLoader("e3/right.nodes"); //$NON-NLS-1$
180 public Resource getE3Ancestor() throws IOException {
181 return loadFromClassLoader("e3/ancestor.nodes"); //$NON-NLS-1$
184 public Resource getE4Left() throws IOException {
185 return loadFromClassLoader("e4/left.nodes"); //$NON-NLS-1$
188 public Resource getE4Right() throws IOException {
189 return loadFromClassLoader("e4/right.nodes"); //$NON-NLS-1$
192 public Resource getE4Ancestor() throws IOException {
193 return loadFromClassLoader("e4/ancestor.nodes"); //$NON-NLS-1$
196 public Resource getE5Left() throws IOException {
197 return loadFromClassLoader("e5/left.nodes"); //$NON-NLS-1$
200 public Resource getE5Right() throws IOException {
201 return loadFromClassLoader("e5/right.nodes"); //$NON-NLS-1$
204 public Resource getE5Ancestor() throws IOException {
205 return loadFromClassLoader("e5/ancestor.nodes"); //$NON-NLS-1$
208 public Resource getE6Left() throws IOException {
209 return loadFromClassLoader("e6/left.nodes"); //$NON-NLS-1$
212 public Resource getE6Right() throws IOException {
213 return loadFromClassLoader("e6/right.nodes"); //$NON-NLS-1$
216 public Resource getE6Ancestor() throws IOException {
217 return loadFromClassLoader("e6/ancestor.nodes"); //$NON-NLS-1$
220 public Resource getE7Left() throws IOException {
221 return loadFromClassLoader("e7/left.nodes"); //$NON-NLS-1$
224 public Resource getE7Right() throws IOException {
225 return loadFromClassLoader("e7/right.nodes"); //$NON-NLS-1$
228 public Resource getE7Ancestor() throws IOException {
229 return loadFromClassLoader("e7/ancestor.nodes"); //$NON-NLS-1$
232 public Resource getE8Left() throws IOException {
233 return loadFromClassLoader("e8/left.nodes"); //$NON-NLS-1$
236 public Resource getE8Right() throws IOException {
237 return loadFromClassLoader("e8/right.nodes"); //$NON-NLS-1$
240 public Resource getE8Ancestor() throws IOException {
241 return loadFromClassLoader("e8/ancestor.nodes"); //$NON-NLS-1$
244 public Resource getE9Left() throws IOException {
245 return loadFromClassLoader("e9/left.nodes"); //$NON-NLS-1$
248 public Resource getE9Right() throws IOException {
249 return loadFromClassLoader("e9/right.nodes"); //$NON-NLS-1$
252 public Resource getE9Ancestor() throws IOException {
253 return loadFromClassLoader("e9/ancestor.nodes"); //$NON-NLS-1$
256 public Resource getE10Left() throws IOException {
257 return loadFromClassLoader("e10/left.nodes"); //$NON-NLS-1$
260 public Resource getE10Right() throws IOException {
261 return loadFromClassLoader("e10/right.nodes"); //$NON-NLS-1$
264 public Resource getE10Ancestor() throws IOException {
265 return loadFromClassLoader("e10/ancestor.nodes"); //$NON-NLS-1$
268 public Resource getE11Left() throws IOException {
269 return loadFromClassLoader("e11/left.nodes"); //$NON-NLS-1$
272 public Resource getE11Right() throws IOException {
273 return loadFromClassLoader("e11/right.nodes"); //$NON-NLS-1$
276 public Resource getE11Ancestor() throws IOException {
277 return loadFromClassLoader("e11/ancestor.nodes"); //$NON-NLS-1$
280 public Resource getF1Left() throws IOException {
281 return loadFromClassLoader("f1/left.nodes"); //$NON-NLS-1$
284 public Resource getF1Right() throws IOException {
285 return loadFromClassLoader("f1/right.nodes"); //$NON-NLS-1$
288 public Resource getF1Ancestor() throws IOException {
289 return loadFromClassLoader("f1/ancestor.nodes"); //$NON-NLS-1$
292 public Resource getF2Left() throws IOException {
293 return loadFromClassLoader("f2/left.nodes"); //$NON-NLS-1$
296 public Resource getF2Right() throws IOException {
297 return loadFromClassLoader("f2/right.nodes"); //$NON-NLS-1$
300 public Resource getF2Ancestor() throws IOException {
301 return loadFromClassLoader("f2/ancestor.nodes"); //$NON-NLS-1$
304 public Resource getF3Left() throws IOException {
305 return loadFromClassLoader("f3/left.nodes"); //$NON-NLS-1$
308 public Resource getF3Right() throws IOException {
309 return loadFromClassLoader("f3/right.nodes"); //$NON-NLS-1$
312 public Resource getF3Ancestor() throws IOException {
313 return loadFromClassLoader("f3/ancestor.nodes"); //$NON-NLS-1$
316 public Resource getF4Left() throws IOException {
317 return loadFromClassLoader("f4/left.nodes"); //$NON-NLS-1$
320 public Resource getF4Right() throws IOException {
321 return loadFromClassLoader("f4/right.nodes"); //$NON-NLS-1$
324 public Resource getF4Ancestor() throws IOException {
325 return loadFromClassLoader("f4/ancestor.nodes"); //$NON-NLS-1$
328 public Resource getF5Left() throws IOException {
329 return loadFromClassLoader("f5/left.nodes"); //$NON-NLS-1$
332 public Resource getF5Right() throws IOException {
333 return loadFromClassLoader("f5/right.nodes"); //$NON-NLS-1$
336 public Resource getF5Ancestor() throws IOException {
337 return loadFromClassLoader("f5/ancestor.nodes"); //$NON-NLS-1$
340 public Resource getF6Left() throws IOException {
341 return loadFromClassLoader("f6/left.nodes"); //$NON-NLS-1$
344 public Resource getF6Right() throws IOException {
345 return loadFromClassLoader("f6/right.nodes"); //$NON-NLS-1$
348 public Resource getF6Ancestor() throws IOException {
349 return loadFromClassLoader("f6/ancestor.nodes"); //$NON-NLS-1$
352 public Resource getF7Left() throws IOException {
353 return loadFromClassLoader("f7/left.nodes"); //$NON-NLS-1$
356 public Resource getF7Right() throws IOException {
357 return loadFromClassLoader("f7/right.nodes"); //$NON-NLS-1$
360 public Resource getF7Ancestor() throws IOException {
361 return loadFromClassLoader("f7/ancestor.nodes"); //$NON-NLS-1$
364 public Resource getF8Left() throws IOException {
365 return loadFromClassLoader("f8/left.nodes"); //$NON-NLS-1$
368 public Resource getF8Right() throws IOException {
369 return loadFromClassLoader("f8/right.nodes"); //$NON-NLS-1$
372 public Resource getF8Ancestor() throws IOException {
373 return loadFromClassLoader("f8/ancestor.nodes"); //$NON-NLS-1$
376 public Resource getF9Left() throws IOException {
377 return loadFromClassLoader("f9/left.nodes"); //$NON-NLS-1$
380 public Resource getF9Right() throws IOException {
381 return loadFromClassLoader("f9/right.nodes"); //$NON-NLS-1$
384 public Resource getF9Ancestor() throws IOException {
385 return loadFromClassLoader("f9/ancestor.nodes"); //$NON-NLS-1$
388 public Resource getF10Left() throws IOException {
389 return loadFromClassLoader("f10/left.nodes"); //$NON-NLS-1$
392 public Resource getF10Right() throws IOException {
393 return loadFromClassLoader("f10/right.nodes"); //$NON-NLS-1$
396 public Resource getF10Ancestor() throws IOException {
397 return loadFromClassLoader("f10/ancestor.nodes"); //$NON-NLS-1$
400 public Resource getF11Left() throws IOException {
401 return loadFromClassLoader("f11/left.nodes"); //$NON-NLS-1$
404 public Resource getF11Right() throws IOException {
405 return loadFromClassLoader("f11/right.nodes"); //$NON-NLS-1$
408 public Resource getF11Ancestor() throws IOException {
409 return loadFromClassLoader("f11/ancestor.nodes"); //$NON-NLS-1$
412 public Resource getG1Left() throws IOException {
413 return loadFromClassLoader("g1/left.nodes"); //$NON-NLS-1$
416 public Resource getG1Right() throws IOException {
417 return loadFromClassLoader("g1/right.nodes"); //$NON-NLS-1$
420 public Resource getH1Left() throws IOException {
421 return loadFromClassLoader("h1/left/origin.nodes", new ResourceSetImpl()); //$NON-NLS-1$
424 public Resource getH1Right() throws IOException {
425 return loadFromClassLoader("h1/right/origin.nodes", new ResourceSetImpl()); //$NON-NLS-1$
428 public Resource getH1Ancestor() throws IOException {
429 return loadFromClassLoader("h1/ancestor/origin.nodes", new ResourceSetImpl()); //$NON-NLS-1$
432 public Resource getH2Left() throws IOException {
433 return loadFromClassLoader("h2/left/origin.nodes", new ResourceSetImpl()); //$NON-NLS-1$
436 public Resource getH2Right() throws IOException {
437 return loadFromClassLoader("h2/right/origin.nodes", new ResourceSetImpl()); //$NON-NLS-1$
440 public Resource getH2Ancestor() throws IOException {
441 return loadFromClassLoader("h2/ancestor/origin.nodes", new ResourceSetImpl()); //$NON-NLS-1$