agave-files/files-core/src/test/java/org/iplantc/service/io/model/JSONTestDataUtil.java
/**
 *
 * @return ArrayList of json text strings each in an array, needed as input to the fromJSON method
 */
@return ArrayList of json text strings each in an array, needed as input to the fromJSON method
@return ArrayList of json text strings each in an array needed as input to the fromJSON method
public Object[][] genJsonTestMessages() {
        List<Object[]> holder = new ArrayList<Object[]>();
        Collections.addAll(holder, dataTestSoftwareFieldsValid);
        Collections.addAll(holder, dataTestSoftwareFieldsInvalid);
        Collections.addAll(holder, dataTestSoftwareFieldsEmpty);
        Collections.addAll(holder, dataTestSoftwareFieldsEmptyObject);
        Collections.addAll(holder, dataTestSoftwareFieldsNull);
        Collections.addAll(holder, dataTestSoftwareFieldsArray);
        Object[][] result = holder.toArray(new Object[holder.size()][]);
        return result;
    }
public Object [ ] [ ] genJsonTestMessages ( ) { List < Object [ ] > holder = new ArrayList < Object [ ] > ( ) ; Collections . addAll ( holder , dataTestSoftwareFieldsValid ) ; Collections . addAll ( holder , dataTestSoftwareFieldsInvalid ) ; Collections . addAll ( holder , dataTestSoftwareFieldsEmpty ) ; Collections . addAll ( holder , dataTestSoftwareFieldsEmptyObject ) ; Collections . addAll ( holder , dataTestSoftwareFieldsNull ) ; Collections . addAll ( holder , dataTestSoftwareFieldsArray ) ; Object [ ] [ ] result = holder . toArray ( new Object [ holder . size ( ) ] [ ] ) ; return result ; }
@return ArrayList of json text strings each in an array, needed as input to the fromJSON method
@return ArrayList of json text strings each in an array needed as input to the fromJSON method
// String name, String changeValue, String message, String expected