Search in sources :

Example 1 with VendorInactivateConvertBatchCsvInputFileType

use of edu.cornell.kfs.vnd.batch.VendorInactivateConvertBatchCsvInputFileType in project cu-kfs by CU-CommunityApps.

the class CuBatchInputFileServiceImplTest method testIllegalArguments.

/*
     * test several potential IllegalArgumentException
     */
public void testIllegalArguments() {
    runTestIllegalArgument();
    user = new PersonImpl();
    runTestIllegalArgument();
    batchInputFileType = new VendorInactivateConvertBatchCsvInputFileType();
    runTestIllegalArgument();
    fileContents = new InputStream() {

        @Override
        public int read() throws IOException {
            return 0;
        }
    };
    // Only allow alphanumeric
    fileUserIdentifier = " 123.abc";
    runTestIllegalArgument();
}
Also used : PersonImpl(org.kuali.kfs.kim.impl.identity.PersonImpl) FileInputStream(java.io.FileInputStream) InputStream(java.io.InputStream) VendorInactivateConvertBatchCsvInputFileType(edu.cornell.kfs.vnd.batch.VendorInactivateConvertBatchCsvInputFileType) IOException(java.io.IOException)

Aggregations

VendorInactivateConvertBatchCsvInputFileType (edu.cornell.kfs.vnd.batch.VendorInactivateConvertBatchCsvInputFileType)1 FileInputStream (java.io.FileInputStream)1 IOException (java.io.IOException)1 InputStream (java.io.InputStream)1 PersonImpl (org.kuali.kfs.kim.impl.identity.PersonImpl)1