Add tittle test.
This commit is contained in:
parent
efb2fd2040
commit
5215ff16be
1 changed files with 30 additions and 10 deletions
|
@ -1,20 +1,20 @@
|
||||||
/**
|
/**
|
||||||
* Copyright (C) 2013, 2014 Christian Pierre MOMON, DEVINSY
|
* Copyright (C) 2013, 2014 Christian Pierre MOMON, DEVINSY
|
||||||
*
|
*
|
||||||
* This file is part of SikevaDB, simple key value database.
|
* This file is part of SikevaDB, simple key value database.
|
||||||
*
|
*
|
||||||
* SikevaDB is free software: you can redistribute it and/or modify
|
* SikevaDB is free software: you can redistribute it and/or modify it under the
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* terms of the GNU Affero General Public License as published by the Free
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* Software Foundation, either version 3 of the License, or (at your option) any
|
||||||
* License, or (at your option) any later version.
|
* later version.
|
||||||
*
|
*
|
||||||
* SikevaDB is distributed in the hope that it will be useful,
|
* SikevaDB is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
||||||
* GNU Affero General Public License for more details.
|
* details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with SikevaDB. If not, see <http://www.gnu.org/licenses/>.
|
* along with SikevaDB. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
package fr.devinsy.sikevadb;
|
package fr.devinsy.sikevadb;
|
||||||
|
|
||||||
|
@ -662,6 +662,26 @@ public class SQLSikevaDBTest {
|
||||||
logger.debug("===== test done.");
|
logger.debug("===== test done.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws Exception
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@Test
|
||||||
|
public void testTittle01() throws Exception {
|
||||||
|
//
|
||||||
|
logger.debug("===== test starting...");
|
||||||
|
|
||||||
|
database.clearDatabase();
|
||||||
|
|
||||||
|
String source = "ME ME MEààààà ıııı éééé";
|
||||||
|
database.put("alpha01", source);
|
||||||
|
String target = database.getValue("alpha01");
|
||||||
|
Assert.assertEquals(source, target);
|
||||||
|
|
||||||
|
//
|
||||||
|
logger.debug("===== test done.");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue