예제 #1
0
파일: CommandTest.java 프로젝트: mjlim/db
 @Test
 public void testAddCommand() throws Exception {
   assertEquals(Command.ADD, Command.findByStr("add"));
 }
예제 #2
0
파일: CommandTest.java 프로젝트: mjlim/db
 @Test
 public void testEmptyCommand() throws Exception {
   assertEquals(null, Command.findByStr(""));
 }
예제 #3
0
파일: CommandTest.java 프로젝트: mjlim/db
 @Test
 public void testUpdateCommand() throws Exception {
   assertEquals(Command.UPDATE, Command.findByStr("update"));
 }
예제 #4
0
파일: CommandTest.java 프로젝트: mjlim/db
 @Test
 public void testNotCommand() throws Exception {
   assertEquals(null, Command.findByStr("notacommand"));
 }
예제 #5
0
파일: CommandTest.java 프로젝트: mjlim/db
 @Test
 public void testModifyCommand() throws Exception {
   assertEquals(Command.FIND, Command.findByStr("find"));
 }