Add tittle test.

This commit is contained in:
Christian P. MOMON 2014-02-05 22:07:01 +01:00
parent efb2fd2040
commit 5215ff16be

View file

@ -3,15 +3,15 @@
*
* This file is part of SikevaDB, simple key value database.
*
* SikevaDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
* SikevaDB is free software: you can redistribute it and/or modify it under the
* terms of the GNU Affero General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* SikevaDB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* SikevaDB is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License
* along with SikevaDB. If not, see <http://www.gnu.org/licenses/>.
@ -662,6 +662,26 @@ public class SQLSikevaDBTest {
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.");
}
/**
*
*/