Project

General

Profile

« Previous | Next » 

Revision 36325

Added by Marek Horst about 9 years ago

#1257 removing oldapi tests

View differences:

modules/icm-iis-core-examples/trunk/src/test/java/eu/dnetlib/iis/core/examples/javamapreduce/WorkflowTest.java
25 25
public class WorkflowTest extends AbstractWorkflowTestCase {
26 26

  
27 27
	@Test
28
	@Deprecated
29
	public void testClonerWithExplicitJSONSchemaForOldAPI() 
30
			throws IOException, OozieClientException{
31
		RemoteOozieAppManager appManager = 
32
				runWorkflow("eu/dnetlib/iis/core/examples/javamapreduce/oldapi/cloner_with_explicit_schema/oozie_app");
33
		
34
		List<Person> person = 
35
			appManager.readDataStoreFromWorkingDir("cloner/person");
36
	
37
		TestsIOUtils.assertEqualSets(
38
				StandardDataStoreExamples.getPersonRepeated(4), person);		
39
	}
40

  
41
	@Test
42 28
	public void testClonerWithExplicitJSONSchema()
43 29
			throws IOException, OozieClientException{
44 30
		RemoteOozieAppManager appManager = 
......
52 38
	}
53 39
	
54 40
	@Test
55
	@Deprecated
56
	public void testClonerForOldAPI() 
57
			throws IOException, OozieClientException{
58
		RemoteOozieAppManager appManager = 
59
				runWorkflow("eu/dnetlib/iis/core/examples/javamapreduce/oldapi/cloner/oozie_app");
60
		
61
		List<Person> person = 
62
			appManager.readDataStoreFromWorkingDir("cloner/person");
63
	
64
		TestsIOUtils.assertEqualSets(
65
				StandardDataStoreExamples.getPersonRepeated(4),person);		
66
	}
67
	
68
	@Test
69 41
	public void testCloner() 
70 42
			throws IOException, OozieClientException{
71 43
		RemoteOozieAppManager appManager = runWorkflow("eu/dnetlib/iis/core/examples/javamapreduce/cloner/oozie_app");

Also available in: Unified diff