From a5d0461284f1c68270ce7a845155b6f1797e3b27 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 26 Mar 2017 23:26:45 +0200 Subject: [PATCH] WIP: removed obsolete method. --- src/lay/laySaltManagerDialog.h | 5 ----- src/unit_tests/tlHttpStream.cc | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 src/unit_tests/tlHttpStream.cc diff --git a/src/lay/laySaltManagerDialog.h b/src/lay/laySaltManagerDialog.h index 6a5068217..cbbfac0a4 100644 --- a/src/lay/laySaltManagerDialog.h +++ b/src/lay/laySaltManagerDialog.h @@ -90,11 +90,6 @@ private slots: */ void delete_grain (); - /** - * @brief Called when the "install" button is pressed - */ - void install_grain (); - /** * @brief Called when the mode tab changed */ diff --git a/src/unit_tests/tlHttpStream.cc b/src/unit_tests/tlHttpStream.cc new file mode 100644 index 000000000..184416f1f --- /dev/null +++ b/src/unit_tests/tlHttpStream.cc @@ -0,0 +1,33 @@ + +/* + + KLayout Layout Viewer + Copyright (C) 2006-2017 Matthias Koefferlein + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + + +#include "tlHttpStream.h" +#include "utHead.h" + +std::string test_url1 ("http://www.klayout.org/svn-public/klayout-resources/trunk/testdata/text"); + +TEST(1) +{ + EXPECT_EQ (to_string (12.5), "12.5"); +} +