public class CeleAPITest
extends java.lang.Object
| Constructor and Description |
|---|
CeleAPITest() |
| Modifier and Type | Method and Description |
|---|---|
void |
tearDown() |
void |
test() |
void |
testAddHoliday()
Tests adding of a holiday.
|
void |
testDeleteHoliday()
Tests deleting the holiday.
|
void |
testUpdateHoliday()
Tests updating of a holiday.
|
public void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic void test()
public void testAddHoliday()
throws com.google.api.server.spi.response.ConflictException
com.google.api.server.spi.response.ConflictException - conflict exception.public void testDeleteHoliday()
throws com.google.api.server.spi.response.ConflictException,
com.google.api.server.spi.response.NotFoundException
com.google.api.server.spi.response.ConflictException - conflict exception.com.google.api.server.spi.response.NotFoundException - if the holiday is not found.public void testUpdateHoliday()
throws com.google.api.server.spi.response.NotFoundException
com.google.api.server.spi.response.NotFoundException - Thrown if the holiday is not found.