public class LimitedStreamCopierTest
extends java.lang.Object
LimitedStreamCopier.| Constructor and Description |
|---|
LimitedStreamCopierTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyStreamSuccessful()
Test copying a simple byte[]
|
void |
copyStreamSuccessfulBecauseLimitNotImposed()
Test copying a simple byte[] with no limit sent.
|
void |
copyStreamSuccessfulLimitHit()
Test copying a byte[] that equals the limit.
|
void |
copyStreamSuccessfulZeroBytes()
Test copying an empty byte[]
|
void |
copyStreamUnsuccessfulLimitExceeded()
Test copying a byte[] that exceeds the limit.
|
void |
initStreamCopier() |
public void initStreamCopier()
public void copyStreamSuccessful()
throws java.lang.Exception
java.lang.Exceptionpublic void copyStreamSuccessfulZeroBytes()
throws java.lang.Exception
java.lang.Exceptionpublic void copyStreamUnsuccessfulLimitExceeded()
throws java.lang.Exception
java.lang.Exceptionpublic void copyStreamSuccessfulLimitHit()
throws java.lang.Exception
java.lang.Exceptionpublic void copyStreamSuccessfulBecauseLimitNotImposed()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.