public class HandlesRequestsForCoffeeTest extends Object
| Constructor and Description |
|---|
HandlesRequestsForCoffeeTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
defaultCoffeeScriptCompilationConfigurationStubbing() |
void |
defaultCoffeeStubbing() |
void |
setCharacterEncodingToJavaScript() |
void |
setsBaseRequestHandledToTrue() |
void |
setsMimeToJavaScript() |
void |
setsResourceLastModifiedOnResponseHeader() |
void |
stubResourceInputStream() |
void |
whenCoffeeCompilationFailsThenWriteTheErrorOutInItsStead() |
void |
whenCoffeeCompilesHasMultiByteThenWriteIt() |
void |
whenCoffeeCompilesThenWriteIt() |
void |
whenCoffeeRequestWithREQUIRE_JSThenWriteCoffee() |
public void stubResourceInputStream()
throws IOException
IOExceptionpublic void defaultCoffeeStubbing()
throws IOException
IOExceptionpublic void defaultCoffeeScriptCompilationConfigurationStubbing()
throws IOException
IOExceptionpublic void setsBaseRequestHandledToTrue()
throws IOException
IOExceptionpublic void setsMimeToJavaScript()
throws IOException
IOExceptionpublic void setCharacterEncodingToJavaScript()
throws IOException
IOExceptionpublic void setsResourceLastModifiedOnResponseHeader()
throws IOException
IOExceptionpublic void whenCoffeeCompilesThenWriteIt()
throws IOException
IOExceptionpublic void whenCoffeeCompilesHasMultiByteThenWriteIt()
throws IOException
IOExceptionpublic void whenCoffeeCompilationFailsThenWriteTheErrorOutInItsStead()
throws IOException
IOExceptionpublic void whenCoffeeRequestWithREQUIRE_JSThenWriteCoffee()
throws IOException
IOExceptionCopyright © 2016. All rights reserved.