Changeset 4652


Ignore:
Timestamp:
2011-02-08 09:46:25 (2 years ago)
Author:
bruno
Message:

blob tests: add one more case to testInvalidRequests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cr/repository/impl/src/test/java/org/lilyproject/repository/impl/test/AbstractBlobStoreTest.java

    r4651 r4652  
    883883 
    884884        try { 
    885             repository.getInputStream(record.getId(), record.getVersion(), new QName("test", "nonExistingFieldType"), null, null); 
     885            repository.getInputStream(record.getId(), record.getVersion(), new QName("test", "nonExistingFieldType"), 
     886                    null, null); 
    886887            fail("Expected exception"); 
    887888        } catch (FieldTypeNotFoundException e) { 
     
    893894            fail("Expected exception"); 
    894895        } catch (IllegalArgumentException e) { 
     896            // ok 
     897        } 
     898 
     899        try { 
     900            repository.getInputStream(repoSetup.getIdGenerator().fromString("USER.nonexistingrecord"), null, 
     901                    absentField.getName(), null, null); 
     902            fail("Expected exception"); 
     903        } catch (RecordNotFoundException e) { 
    895904            // ok 
    896905        } 
Note: See TracChangeset for help on using the changeset viewer.