agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/managers/JobRequestProcessorIT.java
/**
	 * Tests basic field validation on jobs submitted as json
	 *
	 * @param field the field to add to the map
	 * @param value the value of the field being added
	 * @param shouldThrowException true if processing should throw an exception
	 * @param message the assertion message to be returned if the test fails
	 */
Tests basic field validation on jobs submitted as json
@param field the field to add to the map
@param value the value of the field being added
@param shouldThrowException true if processing should throw an exception
@param message the assertion message to be returned if the test fails
Tests basic field validation on jobs submitted as json @param field the field to add to the map @param value the value of the field being added @param shouldThrowException true if processing should throw an exception @param message the assertion message to be returned if the test fails
@Test(dataProvider = "processJsonJobProvider")
	public void processJsonJob(String field, Object value, boolean shouldThrowException, String message) 
	{
		try
		{
			Software software = createSoftware();
			ObjectNode json = createJobJsonNode(software);
			json = updateObjectNode(json, field, value);
			_genericProcessJsonJob(json, shouldThrowException, message);
		}
		catch (Exception e) {
			Assert.fail("Software creation should not fail", e);
		}
	}
@ Test ( dataProvider = "processJsonJobProvider" ) public void processJsonJob ( String field , Object value , boolean shouldThrowException , String message ) { try { Software software = createSoftware ( ) ; ObjectNode json = createJobJsonNode ( software ) ; json = updateObjectNode ( json , field , value ) ; _genericProcessJsonJob ( json , shouldThrowException , message ) ; } catch ( Exception e ) { Assert . fail ( "Software creation should not fail" , e ) ; } }
Tests basic field validation on jobs submitted as json
 @param field the field to add to the map
 @param value the value of the field being added
 @param shouldThrowException true if processing should throw an exception
 @param message the assertion message to be returned if the test fails
Tests basic field validation on jobs submitted as json @param field the field to add to the map @param value the value of the field being added @param shouldThrowException true if processing should throw an exception @param message the assertion message to be returned if the test fails
//, dependsOnMethods = { "selectQueueLimitTest" })