From 5215ff16be307220b2bd07899d3414db0a26800d Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 5 Feb 2014 22:07:01 +0100 Subject: [PATCH] Add tittle test. --- test/fr/devinsy/sikevadb/SQLSikevaDBTest.java | 40 ++++++++++++++----- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/test/fr/devinsy/sikevadb/SQLSikevaDBTest.java b/test/fr/devinsy/sikevadb/SQLSikevaDBTest.java index 9035a35..251d10a 100644 --- a/test/fr/devinsy/sikevadb/SQLSikevaDBTest.java +++ b/test/fr/devinsy/sikevadb/SQLSikevaDBTest.java @@ -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. * - * 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 . + * along with SikevaDB. If not, see . */ package fr.devinsy.sikevadb; @@ -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."); + } + /** * */