From: yonghwan82.jeon Date: Mon, 15 Dec 2014 12:12:49 +0000 (+0900) Subject: UIB : Remove unused code. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=006efdd509d3a7de4d106528713be5d380c637dc;p=sdk%2Fide%2Fweb-ui-builder-eplugin.git UIB : Remove unused code. Change-Id: I0687a5606301ea76e0d34f5d63b0c0cc7aac7751 Signed-off-by: yonghwan82.jeon --- diff --git a/libraries/macos-64/QtCore b/libraries/macos-64/QtCore deleted file mode 100644 index 38211f3..0000000 Binary files a/libraries/macos-64/QtCore and /dev/null differ diff --git a/libraries/macos-64/QtGui b/libraries/macos-64/QtGui deleted file mode 100644 index c972ebc..0000000 Binary files a/libraries/macos-64/QtGui and /dev/null differ diff --git a/libraries/macos-64/QtNetwork b/libraries/macos-64/QtNetwork deleted file mode 100644 index 2faae4a..0000000 Binary files a/libraries/macos-64/QtNetwork and /dev/null differ diff --git a/libraries/macos-64/QtOpenGL b/libraries/macos-64/QtOpenGL deleted file mode 100644 index 2ec85ef..0000000 Binary files a/libraries/macos-64/QtOpenGL and /dev/null differ diff --git a/libraries/macos-64/QtPrintSupport b/libraries/macos-64/QtPrintSupport deleted file mode 100644 index 43d0b72..0000000 Binary files a/libraries/macos-64/QtPrintSupport and /dev/null differ diff --git a/libraries/macos-64/QtQml b/libraries/macos-64/QtQml deleted file mode 100644 index 2466339..0000000 Binary files a/libraries/macos-64/QtQml and /dev/null differ diff --git a/libraries/macos-64/QtQuick b/libraries/macos-64/QtQuick deleted file mode 100644 index 92f6aaf..0000000 Binary files a/libraries/macos-64/QtQuick and /dev/null differ diff --git a/libraries/macos-64/QtSensors b/libraries/macos-64/QtSensors deleted file mode 100644 index d6b171f..0000000 Binary files a/libraries/macos-64/QtSensors and /dev/null differ diff --git a/libraries/macos-64/QtSql b/libraries/macos-64/QtSql deleted file mode 100644 index 9a17d6a..0000000 Binary files a/libraries/macos-64/QtSql and /dev/null differ diff --git a/libraries/macos-64/QtSvg b/libraries/macos-64/QtSvg deleted file mode 100644 index 802dcd8..0000000 Binary files a/libraries/macos-64/QtSvg and /dev/null differ diff --git a/libraries/macos-64/QtV8 b/libraries/macos-64/QtV8 deleted file mode 100644 index 1a4a840..0000000 Binary files a/libraries/macos-64/QtV8 and /dev/null differ diff --git a/libraries/macos-64/QtWebKit b/libraries/macos-64/QtWebKit deleted file mode 100644 index 1341a51..0000000 Binary files a/libraries/macos-64/QtWebKit and /dev/null differ diff --git a/libraries/macos-64/QtWebKitWidgets b/libraries/macos-64/QtWebKitWidgets deleted file mode 100644 index 3ed2e3a..0000000 Binary files a/libraries/macos-64/QtWebKitWidgets and /dev/null differ diff --git a/libraries/macos-64/QtWidgets b/libraries/macos-64/QtWidgets deleted file mode 100644 index 4b14130..0000000 Binary files a/libraries/macos-64/QtWidgets and /dev/null differ diff --git a/libraries/macos-64/QtXml b/libraries/macos-64/QtXml deleted file mode 100644 index 289535a..0000000 Binary files a/libraries/macos-64/QtXml and /dev/null differ diff --git a/libraries/macos-64/libImageBufferedBrowser.dylib b/libraries/macos-64/libImageBufferedBrowser.dylib deleted file mode 100644 index 171f908..0000000 Binary files a/libraries/macos-64/libImageBufferedBrowser.dylib and /dev/null differ diff --git a/libraries/ubuntu-32/imageformats/libqgif.so b/libraries/ubuntu-32/imageformats/libqgif.so deleted file mode 100644 index 488eb64..0000000 Binary files a/libraries/ubuntu-32/imageformats/libqgif.so and /dev/null differ diff --git a/libraries/ubuntu-32/imageformats/libqico.so b/libraries/ubuntu-32/imageformats/libqico.so deleted file mode 100644 index fe45d32..0000000 Binary files a/libraries/ubuntu-32/imageformats/libqico.so and /dev/null differ diff --git a/libraries/ubuntu-32/imageformats/libqjpeg.so b/libraries/ubuntu-32/imageformats/libqjpeg.so deleted file mode 100644 index fe7cbdf..0000000 Binary files a/libraries/ubuntu-32/imageformats/libqjpeg.so and /dev/null differ diff --git a/libraries/ubuntu-32/imageformats/libqmng.so b/libraries/ubuntu-32/imageformats/libqmng.so deleted file mode 100644 index 7a8ad93..0000000 Binary files a/libraries/ubuntu-32/imageformats/libqmng.so and /dev/null differ diff --git a/libraries/ubuntu-32/imageformats/libqsvg.so b/libraries/ubuntu-32/imageformats/libqsvg.so deleted file mode 100644 index 33cc0c8..0000000 Binary files a/libraries/ubuntu-32/imageformats/libqsvg.so and /dev/null differ diff --git a/libraries/ubuntu-32/imageformats/libqtga.so b/libraries/ubuntu-32/imageformats/libqtga.so deleted file mode 100644 index bad347e..0000000 Binary files a/libraries/ubuntu-32/imageformats/libqtga.so and /dev/null differ diff --git a/libraries/ubuntu-32/imageformats/libqtiff.so b/libraries/ubuntu-32/imageformats/libqtiff.so deleted file mode 100644 index d905e3a..0000000 Binary files a/libraries/ubuntu-32/imageformats/libqtiff.so and /dev/null differ diff --git a/libraries/ubuntu-32/imageformats/libqwbmp.so b/libraries/ubuntu-32/imageformats/libqwbmp.so deleted file mode 100644 index 89c70a6..0000000 Binary files a/libraries/ubuntu-32/imageformats/libqwbmp.so and /dev/null differ diff --git a/libraries/ubuntu-32/libImageBufferedBrowser.so.1 b/libraries/ubuntu-32/libImageBufferedBrowser.so.1 deleted file mode 100644 index 7119f08..0000000 Binary files a/libraries/ubuntu-32/libImageBufferedBrowser.so.1 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5Core.so.5 b/libraries/ubuntu-32/libQt5Core.so.5 deleted file mode 100644 index b29cb2c..0000000 Binary files a/libraries/ubuntu-32/libQt5Core.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5DBus.so.5 b/libraries/ubuntu-32/libQt5DBus.so.5 deleted file mode 100644 index 92269f3..0000000 Binary files a/libraries/ubuntu-32/libQt5DBus.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5Gui.so.5 b/libraries/ubuntu-32/libQt5Gui.so.5 deleted file mode 100644 index b02f771..0000000 Binary files a/libraries/ubuntu-32/libQt5Gui.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5Network.so.5 b/libraries/ubuntu-32/libQt5Network.so.5 deleted file mode 100644 index 578d68e..0000000 Binary files a/libraries/ubuntu-32/libQt5Network.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5OpenGL.so.5 b/libraries/ubuntu-32/libQt5OpenGL.so.5 deleted file mode 100644 index 00d6e52..0000000 Binary files a/libraries/ubuntu-32/libQt5OpenGL.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5PrintSupport.so.5 b/libraries/ubuntu-32/libQt5PrintSupport.so.5 deleted file mode 100644 index 66caaca..0000000 Binary files a/libraries/ubuntu-32/libQt5PrintSupport.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5Qml.so.5 b/libraries/ubuntu-32/libQt5Qml.so.5 deleted file mode 100644 index 42a8161..0000000 Binary files a/libraries/ubuntu-32/libQt5Qml.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5Quick.so.5 b/libraries/ubuntu-32/libQt5Quick.so.5 deleted file mode 100644 index dd4ddcb..0000000 Binary files a/libraries/ubuntu-32/libQt5Quick.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5Sensors.so.5 b/libraries/ubuntu-32/libQt5Sensors.so.5 deleted file mode 100644 index cadf78b..0000000 Binary files a/libraries/ubuntu-32/libQt5Sensors.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5Sql.so.5 b/libraries/ubuntu-32/libQt5Sql.so.5 deleted file mode 100644 index 9f89205..0000000 Binary files a/libraries/ubuntu-32/libQt5Sql.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5Svg.so.5 b/libraries/ubuntu-32/libQt5Svg.so.5 deleted file mode 100644 index 921e7d1..0000000 Binary files a/libraries/ubuntu-32/libQt5Svg.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5V8.so.5 b/libraries/ubuntu-32/libQt5V8.so.5 deleted file mode 100644 index 4db0cab..0000000 Binary files a/libraries/ubuntu-32/libQt5V8.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5WebKit.so.5 b/libraries/ubuntu-32/libQt5WebKit.so.5 deleted file mode 100644 index 5844d96..0000000 Binary files a/libraries/ubuntu-32/libQt5WebKit.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5WebKitWidgets.so.5 b/libraries/ubuntu-32/libQt5WebKitWidgets.so.5 deleted file mode 100644 index adad188..0000000 Binary files a/libraries/ubuntu-32/libQt5WebKitWidgets.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/libQt5Widgets.so.5 b/libraries/ubuntu-32/libQt5Widgets.so.5 deleted file mode 100644 index f1f6394..0000000 Binary files a/libraries/ubuntu-32/libQt5Widgets.so.5 and /dev/null differ diff --git a/libraries/ubuntu-32/platforms/libqlinuxfb.so b/libraries/ubuntu-32/platforms/libqlinuxfb.so deleted file mode 100644 index 241d771..0000000 Binary files a/libraries/ubuntu-32/platforms/libqlinuxfb.so and /dev/null differ diff --git a/libraries/ubuntu-32/platforms/libqminimal.so b/libraries/ubuntu-32/platforms/libqminimal.so deleted file mode 100644 index 9dd51d4..0000000 Binary files a/libraries/ubuntu-32/platforms/libqminimal.so and /dev/null differ diff --git a/libraries/ubuntu-32/platforms/libqoffscreen.so b/libraries/ubuntu-32/platforms/libqoffscreen.so deleted file mode 100644 index aea69fd..0000000 Binary files a/libraries/ubuntu-32/platforms/libqoffscreen.so and /dev/null differ diff --git a/libraries/ubuntu-32/platforms/libqxcb.so b/libraries/ubuntu-32/platforms/libqxcb.so deleted file mode 100644 index f8bd2c1..0000000 Binary files a/libraries/ubuntu-32/platforms/libqxcb.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/imageformats/libqgif.so b/libraries/ubuntu-64/11.10/imageformats/libqgif.so deleted file mode 100644 index 2fc38fa..0000000 Binary files a/libraries/ubuntu-64/11.10/imageformats/libqgif.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/imageformats/libqico.so b/libraries/ubuntu-64/11.10/imageformats/libqico.so deleted file mode 100644 index c8b07d1..0000000 Binary files a/libraries/ubuntu-64/11.10/imageformats/libqico.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/imageformats/libqjpeg.so b/libraries/ubuntu-64/11.10/imageformats/libqjpeg.so deleted file mode 100644 index 51cebeb..0000000 Binary files a/libraries/ubuntu-64/11.10/imageformats/libqjpeg.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/imageformats/libqmng.so b/libraries/ubuntu-64/11.10/imageformats/libqmng.so deleted file mode 100644 index f5d0af3..0000000 Binary files a/libraries/ubuntu-64/11.10/imageformats/libqmng.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/imageformats/libqsvg.so b/libraries/ubuntu-64/11.10/imageformats/libqsvg.so deleted file mode 100644 index 4e5beab..0000000 Binary files a/libraries/ubuntu-64/11.10/imageformats/libqsvg.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/imageformats/libqtga.so b/libraries/ubuntu-64/11.10/imageformats/libqtga.so deleted file mode 100644 index 7464b8e..0000000 Binary files a/libraries/ubuntu-64/11.10/imageformats/libqtga.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/imageformats/libqtiff.so b/libraries/ubuntu-64/11.10/imageformats/libqtiff.so deleted file mode 100644 index ea262f5..0000000 Binary files a/libraries/ubuntu-64/11.10/imageformats/libqtiff.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/imageformats/libqwbmp.so b/libraries/ubuntu-64/11.10/imageformats/libqwbmp.so deleted file mode 100644 index 3877a38..0000000 Binary files a/libraries/ubuntu-64/11.10/imageformats/libqwbmp.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libImageBufferedBrowser.so.1 b/libraries/ubuntu-64/11.10/libImageBufferedBrowser.so.1 deleted file mode 100644 index 7fdbb11..0000000 Binary files a/libraries/ubuntu-64/11.10/libImageBufferedBrowser.so.1 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5Core.so.5 b/libraries/ubuntu-64/11.10/libQt5Core.so.5 deleted file mode 100644 index 9422ebe..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5Core.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5DBus.so.5 b/libraries/ubuntu-64/11.10/libQt5DBus.so.5 deleted file mode 100644 index c9ac306..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5DBus.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5Gui.so.5 b/libraries/ubuntu-64/11.10/libQt5Gui.so.5 deleted file mode 100644 index 0035bfd..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5Gui.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5Network.so.5 b/libraries/ubuntu-64/11.10/libQt5Network.so.5 deleted file mode 100644 index 05b72ec..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5Network.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5OpenGL.so.5 b/libraries/ubuntu-64/11.10/libQt5OpenGL.so.5 deleted file mode 100644 index 54828e8..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5OpenGL.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5PrintSupport.so.5 b/libraries/ubuntu-64/11.10/libQt5PrintSupport.so.5 deleted file mode 100644 index effbcf9..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5PrintSupport.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5Qml.so.5 b/libraries/ubuntu-64/11.10/libQt5Qml.so.5 deleted file mode 100644 index 01e78c4..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5Qml.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5Quick.so.5 b/libraries/ubuntu-64/11.10/libQt5Quick.so.5 deleted file mode 100644 index d100dcf..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5Quick.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5Sensors.so.5 b/libraries/ubuntu-64/11.10/libQt5Sensors.so.5 deleted file mode 100644 index 429c17a..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5Sensors.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5Sql.so.5 b/libraries/ubuntu-64/11.10/libQt5Sql.so.5 deleted file mode 100644 index e46f9ea..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5Sql.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5Svg.so.5 b/libraries/ubuntu-64/11.10/libQt5Svg.so.5 deleted file mode 100644 index 44efaa0..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5Svg.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5V8.so.5 b/libraries/ubuntu-64/11.10/libQt5V8.so.5 deleted file mode 100644 index a1b89c6..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5V8.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5WebKit.so.5 b/libraries/ubuntu-64/11.10/libQt5WebKit.so.5 deleted file mode 100644 index f4c9b02..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5WebKit.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5WebKitWidgets.so.5 b/libraries/ubuntu-64/11.10/libQt5WebKitWidgets.so.5 deleted file mode 100644 index aafef5b..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5WebKitWidgets.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/libQt5Widgets.so.5 b/libraries/ubuntu-64/11.10/libQt5Widgets.so.5 deleted file mode 100644 index 386de3e..0000000 Binary files a/libraries/ubuntu-64/11.10/libQt5Widgets.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/platforms/libqlinuxfb.so b/libraries/ubuntu-64/11.10/platforms/libqlinuxfb.so deleted file mode 100644 index 0e6726d..0000000 Binary files a/libraries/ubuntu-64/11.10/platforms/libqlinuxfb.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/platforms/libqminimal.so b/libraries/ubuntu-64/11.10/platforms/libqminimal.so deleted file mode 100644 index a92ab27..0000000 Binary files a/libraries/ubuntu-64/11.10/platforms/libqminimal.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/platforms/libqoffscreen.so b/libraries/ubuntu-64/11.10/platforms/libqoffscreen.so deleted file mode 100644 index 8403739..0000000 Binary files a/libraries/ubuntu-64/11.10/platforms/libqoffscreen.so and /dev/null differ diff --git a/libraries/ubuntu-64/11.10/platforms/libqxcb.so b/libraries/ubuntu-64/11.10/platforms/libqxcb.so deleted file mode 100644 index 1c7d432..0000000 Binary files a/libraries/ubuntu-64/11.10/platforms/libqxcb.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/imageformats/libqgif.so b/libraries/ubuntu-64/12.10/imageformats/libqgif.so deleted file mode 100644 index 2fc38fa..0000000 Binary files a/libraries/ubuntu-64/12.10/imageformats/libqgif.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/imageformats/libqico.so b/libraries/ubuntu-64/12.10/imageformats/libqico.so deleted file mode 100644 index c8b07d1..0000000 Binary files a/libraries/ubuntu-64/12.10/imageformats/libqico.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/imageformats/libqjpeg.so b/libraries/ubuntu-64/12.10/imageformats/libqjpeg.so deleted file mode 100644 index 51cebeb..0000000 Binary files a/libraries/ubuntu-64/12.10/imageformats/libqjpeg.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/imageformats/libqmng.so b/libraries/ubuntu-64/12.10/imageformats/libqmng.so deleted file mode 100644 index f5d0af3..0000000 Binary files a/libraries/ubuntu-64/12.10/imageformats/libqmng.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/imageformats/libqsvg.so b/libraries/ubuntu-64/12.10/imageformats/libqsvg.so deleted file mode 100644 index 4e5beab..0000000 Binary files a/libraries/ubuntu-64/12.10/imageformats/libqsvg.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/imageformats/libqtga.so b/libraries/ubuntu-64/12.10/imageformats/libqtga.so deleted file mode 100644 index 7464b8e..0000000 Binary files a/libraries/ubuntu-64/12.10/imageformats/libqtga.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/imageformats/libqtiff.so b/libraries/ubuntu-64/12.10/imageformats/libqtiff.so deleted file mode 100644 index ea262f5..0000000 Binary files a/libraries/ubuntu-64/12.10/imageformats/libqtiff.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/imageformats/libqwbmp.so b/libraries/ubuntu-64/12.10/imageformats/libqwbmp.so deleted file mode 100644 index 3877a38..0000000 Binary files a/libraries/ubuntu-64/12.10/imageformats/libqwbmp.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libImageBufferedBrowser.so.1 b/libraries/ubuntu-64/12.10/libImageBufferedBrowser.so.1 deleted file mode 100644 index 7fdbb11..0000000 Binary files a/libraries/ubuntu-64/12.10/libImageBufferedBrowser.so.1 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5Core.so.5 b/libraries/ubuntu-64/12.10/libQt5Core.so.5 deleted file mode 100644 index 9422ebe..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5Core.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5DBus.so.5 b/libraries/ubuntu-64/12.10/libQt5DBus.so.5 deleted file mode 100644 index c9ac306..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5DBus.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5Gui.so.5 b/libraries/ubuntu-64/12.10/libQt5Gui.so.5 deleted file mode 100644 index 0035bfd..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5Gui.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5Network.so.5 b/libraries/ubuntu-64/12.10/libQt5Network.so.5 deleted file mode 100644 index 05b72ec..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5Network.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5OpenGL.so.5 b/libraries/ubuntu-64/12.10/libQt5OpenGL.so.5 deleted file mode 100644 index 54828e8..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5OpenGL.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5PrintSupport.so.5 b/libraries/ubuntu-64/12.10/libQt5PrintSupport.so.5 deleted file mode 100644 index effbcf9..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5PrintSupport.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5Qml.so.5 b/libraries/ubuntu-64/12.10/libQt5Qml.so.5 deleted file mode 100644 index 01e78c4..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5Qml.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5Quick.so.5 b/libraries/ubuntu-64/12.10/libQt5Quick.so.5 deleted file mode 100644 index d100dcf..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5Quick.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5Sensors.so.5 b/libraries/ubuntu-64/12.10/libQt5Sensors.so.5 deleted file mode 100644 index 429c17a..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5Sensors.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5Sql.so.5 b/libraries/ubuntu-64/12.10/libQt5Sql.so.5 deleted file mode 100644 index e46f9ea..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5Sql.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5Svg.so.5 b/libraries/ubuntu-64/12.10/libQt5Svg.so.5 deleted file mode 100644 index 44efaa0..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5Svg.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5V8.so.5 b/libraries/ubuntu-64/12.10/libQt5V8.so.5 deleted file mode 100644 index a1b89c6..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5V8.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5WebKit.so.5 b/libraries/ubuntu-64/12.10/libQt5WebKit.so.5 deleted file mode 100644 index f4c9b02..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5WebKit.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5WebKitWidgets.so.5 b/libraries/ubuntu-64/12.10/libQt5WebKitWidgets.so.5 deleted file mode 100644 index aafef5b..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5WebKitWidgets.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/libQt5Widgets.so.5 b/libraries/ubuntu-64/12.10/libQt5Widgets.so.5 deleted file mode 100644 index 386de3e..0000000 Binary files a/libraries/ubuntu-64/12.10/libQt5Widgets.so.5 and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/platforms/libqlinuxfb.so b/libraries/ubuntu-64/12.10/platforms/libqlinuxfb.so deleted file mode 100644 index 0e6726d..0000000 Binary files a/libraries/ubuntu-64/12.10/platforms/libqlinuxfb.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/platforms/libqminimal.so b/libraries/ubuntu-64/12.10/platforms/libqminimal.so deleted file mode 100644 index a92ab27..0000000 Binary files a/libraries/ubuntu-64/12.10/platforms/libqminimal.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/platforms/libqoffscreen.so b/libraries/ubuntu-64/12.10/platforms/libqoffscreen.so deleted file mode 100644 index 8403739..0000000 Binary files a/libraries/ubuntu-64/12.10/platforms/libqoffscreen.so and /dev/null differ diff --git a/libraries/ubuntu-64/12.10/platforms/libqxcb.so b/libraries/ubuntu-64/12.10/platforms/libqxcb.so deleted file mode 100644 index 1c7d432..0000000 Binary files a/libraries/ubuntu-64/12.10/platforms/libqxcb.so and /dev/null differ diff --git a/libraries/windows-32/ImageBufferedBrowser.dll b/libraries/windows-32/ImageBufferedBrowser.dll deleted file mode 100644 index d137b18..0000000 Binary files a/libraries/windows-32/ImageBufferedBrowser.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Core.dll b/libraries/windows-32/Qt5Core.dll deleted file mode 100644 index b0595b1..0000000 Binary files a/libraries/windows-32/Qt5Core.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Gui.dll b/libraries/windows-32/Qt5Gui.dll deleted file mode 100644 index 076f791..0000000 Binary files a/libraries/windows-32/Qt5Gui.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Multimedia.dll b/libraries/windows-32/Qt5Multimedia.dll deleted file mode 100644 index e132822..0000000 Binary files a/libraries/windows-32/Qt5Multimedia.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5MultimediaWidgets.dll b/libraries/windows-32/Qt5MultimediaWidgets.dll deleted file mode 100644 index 182b317..0000000 Binary files a/libraries/windows-32/Qt5MultimediaWidgets.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Network.dll b/libraries/windows-32/Qt5Network.dll deleted file mode 100644 index 29e152f..0000000 Binary files a/libraries/windows-32/Qt5Network.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5OpenGL.dll b/libraries/windows-32/Qt5OpenGL.dll deleted file mode 100644 index 91e6c8d..0000000 Binary files a/libraries/windows-32/Qt5OpenGL.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5PrintSupport.dll b/libraries/windows-32/Qt5PrintSupport.dll deleted file mode 100644 index 277644f..0000000 Binary files a/libraries/windows-32/Qt5PrintSupport.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Qml.dll b/libraries/windows-32/Qt5Qml.dll deleted file mode 100644 index b4b0e42..0000000 Binary files a/libraries/windows-32/Qt5Qml.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Quick.dll b/libraries/windows-32/Qt5Quick.dll deleted file mode 100644 index 1dede81..0000000 Binary files a/libraries/windows-32/Qt5Quick.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Sensors.dll b/libraries/windows-32/Qt5Sensors.dll deleted file mode 100644 index 19a8628..0000000 Binary files a/libraries/windows-32/Qt5Sensors.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Sql.dll b/libraries/windows-32/Qt5Sql.dll deleted file mode 100644 index 00bdead..0000000 Binary files a/libraries/windows-32/Qt5Sql.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Svg.dll b/libraries/windows-32/Qt5Svg.dll deleted file mode 100644 index 9fb01a3..0000000 Binary files a/libraries/windows-32/Qt5Svg.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5V8.dll b/libraries/windows-32/Qt5V8.dll deleted file mode 100644 index 6b77fe8..0000000 Binary files a/libraries/windows-32/Qt5V8.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5WebKit.dll b/libraries/windows-32/Qt5WebKit.dll deleted file mode 100644 index e8926d8..0000000 Binary files a/libraries/windows-32/Qt5WebKit.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5WebKitWidgets.dll b/libraries/windows-32/Qt5WebKitWidgets.dll deleted file mode 100644 index 850651f..0000000 Binary files a/libraries/windows-32/Qt5WebKitWidgets.dll and /dev/null differ diff --git a/libraries/windows-32/Qt5Widgets.dll b/libraries/windows-32/Qt5Widgets.dll deleted file mode 100644 index efc631c..0000000 Binary files a/libraries/windows-32/Qt5Widgets.dll and /dev/null differ diff --git a/libraries/windows-32/icudt51.dll b/libraries/windows-32/icudt51.dll deleted file mode 100644 index f78424b..0000000 Binary files a/libraries/windows-32/icudt51.dll and /dev/null differ diff --git a/libraries/windows-32/icuin51.dll b/libraries/windows-32/icuin51.dll deleted file mode 100644 index 7e199ec..0000000 Binary files a/libraries/windows-32/icuin51.dll and /dev/null differ diff --git a/libraries/windows-32/icuuc51.dll b/libraries/windows-32/icuuc51.dll deleted file mode 100644 index 089ec7d..0000000 Binary files a/libraries/windows-32/icuuc51.dll and /dev/null differ diff --git a/libraries/windows-32/imageformats/qgif.dll b/libraries/windows-32/imageformats/qgif.dll deleted file mode 100644 index 224f03a..0000000 Binary files a/libraries/windows-32/imageformats/qgif.dll and /dev/null differ diff --git a/libraries/windows-32/imageformats/qico.dll b/libraries/windows-32/imageformats/qico.dll deleted file mode 100644 index 6208f92..0000000 Binary files a/libraries/windows-32/imageformats/qico.dll and /dev/null differ diff --git a/libraries/windows-32/imageformats/qjpeg.dll b/libraries/windows-32/imageformats/qjpeg.dll deleted file mode 100644 index a8bc653..0000000 Binary files a/libraries/windows-32/imageformats/qjpeg.dll and /dev/null differ diff --git a/libraries/windows-32/imageformats/qmng.dll b/libraries/windows-32/imageformats/qmng.dll deleted file mode 100644 index 9b04998..0000000 Binary files a/libraries/windows-32/imageformats/qmng.dll and /dev/null differ diff --git a/libraries/windows-32/imageformats/qsvg.dll b/libraries/windows-32/imageformats/qsvg.dll deleted file mode 100644 index b328964..0000000 Binary files a/libraries/windows-32/imageformats/qsvg.dll and /dev/null differ diff --git a/libraries/windows-32/imageformats/qtga.dll b/libraries/windows-32/imageformats/qtga.dll deleted file mode 100644 index 9cc0569..0000000 Binary files a/libraries/windows-32/imageformats/qtga.dll and /dev/null differ diff --git a/libraries/windows-32/imageformats/qtiff.dll b/libraries/windows-32/imageformats/qtiff.dll deleted file mode 100644 index 13b8095..0000000 Binary files a/libraries/windows-32/imageformats/qtiff.dll and /dev/null differ diff --git a/libraries/windows-32/imageformats/qwbmp.dll b/libraries/windows-32/imageformats/qwbmp.dll deleted file mode 100644 index 1101505..0000000 Binary files a/libraries/windows-32/imageformats/qwbmp.dll and /dev/null differ diff --git a/libraries/windows-32/libgcc_s_dw2-1.dll b/libraries/windows-32/libgcc_s_dw2-1.dll deleted file mode 100644 index 82b2776..0000000 Binary files a/libraries/windows-32/libgcc_s_dw2-1.dll and /dev/null differ diff --git a/libraries/windows-32/libstdc++-6.dll b/libraries/windows-32/libstdc++-6.dll deleted file mode 100644 index fcce1f6..0000000 Binary files a/libraries/windows-32/libstdc++-6.dll and /dev/null differ diff --git a/libraries/windows-32/libwinpthread-1.dll b/libraries/windows-32/libwinpthread-1.dll deleted file mode 100644 index 22fa839..0000000 Binary files a/libraries/windows-32/libwinpthread-1.dll and /dev/null differ diff --git a/libraries/windows-32/platforms/qminimal.dll b/libraries/windows-32/platforms/qminimal.dll deleted file mode 100644 index ac5090e..0000000 Binary files a/libraries/windows-32/platforms/qminimal.dll and /dev/null differ diff --git a/libraries/windows-32/platforms/qoffscreen.dll b/libraries/windows-32/platforms/qoffscreen.dll deleted file mode 100644 index 726caf1..0000000 Binary files a/libraries/windows-32/platforms/qoffscreen.dll and /dev/null differ diff --git a/libraries/windows-32/platforms/qwindows.dll b/libraries/windows-32/platforms/qwindows.dll deleted file mode 100644 index 0a167b2..0000000 Binary files a/libraries/windows-32/platforms/qwindows.dll and /dev/null differ diff --git a/libraries/windows-64/ImageBufferedBrowser.dll b/libraries/windows-64/ImageBufferedBrowser.dll deleted file mode 100644 index 48e7fc3..0000000 Binary files a/libraries/windows-64/ImageBufferedBrowser.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Core.dll b/libraries/windows-64/Qt5Core.dll deleted file mode 100644 index d5ef57f..0000000 Binary files a/libraries/windows-64/Qt5Core.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Gui.dll b/libraries/windows-64/Qt5Gui.dll deleted file mode 100644 index 82f8923..0000000 Binary files a/libraries/windows-64/Qt5Gui.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Multimedia.dll b/libraries/windows-64/Qt5Multimedia.dll deleted file mode 100644 index 755e002..0000000 Binary files a/libraries/windows-64/Qt5Multimedia.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5MultimediaWidgets.dll b/libraries/windows-64/Qt5MultimediaWidgets.dll deleted file mode 100644 index bd16717..0000000 Binary files a/libraries/windows-64/Qt5MultimediaWidgets.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Network.dll b/libraries/windows-64/Qt5Network.dll deleted file mode 100644 index d3afc18..0000000 Binary files a/libraries/windows-64/Qt5Network.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5OpenGL.dll b/libraries/windows-64/Qt5OpenGL.dll deleted file mode 100644 index 08545e4..0000000 Binary files a/libraries/windows-64/Qt5OpenGL.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5PrintSupport.dll b/libraries/windows-64/Qt5PrintSupport.dll deleted file mode 100644 index 9e4e88a..0000000 Binary files a/libraries/windows-64/Qt5PrintSupport.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Qml.dll b/libraries/windows-64/Qt5Qml.dll deleted file mode 100644 index 1c91a1f..0000000 Binary files a/libraries/windows-64/Qt5Qml.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Quick.dll b/libraries/windows-64/Qt5Quick.dll deleted file mode 100644 index 2e8ce77..0000000 Binary files a/libraries/windows-64/Qt5Quick.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Sensors.dll b/libraries/windows-64/Qt5Sensors.dll deleted file mode 100644 index 47dad00..0000000 Binary files a/libraries/windows-64/Qt5Sensors.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Sql.dll b/libraries/windows-64/Qt5Sql.dll deleted file mode 100644 index 5feedeb..0000000 Binary files a/libraries/windows-64/Qt5Sql.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Svg.dll b/libraries/windows-64/Qt5Svg.dll deleted file mode 100644 index 3f3d31f..0000000 Binary files a/libraries/windows-64/Qt5Svg.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5V8.dll b/libraries/windows-64/Qt5V8.dll deleted file mode 100644 index 541bda7..0000000 Binary files a/libraries/windows-64/Qt5V8.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5WebKit.dll b/libraries/windows-64/Qt5WebKit.dll deleted file mode 100644 index 5f40f65..0000000 Binary files a/libraries/windows-64/Qt5WebKit.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5WebKitWidgets.dll b/libraries/windows-64/Qt5WebKitWidgets.dll deleted file mode 100644 index 461cd4c..0000000 Binary files a/libraries/windows-64/Qt5WebKitWidgets.dll and /dev/null differ diff --git a/libraries/windows-64/Qt5Widgets.dll b/libraries/windows-64/Qt5Widgets.dll deleted file mode 100644 index 197d05f..0000000 Binary files a/libraries/windows-64/Qt5Widgets.dll and /dev/null differ diff --git a/libraries/windows-64/icudt52.dll b/libraries/windows-64/icudt52.dll deleted file mode 100644 index bd76b65..0000000 Binary files a/libraries/windows-64/icudt52.dll and /dev/null differ diff --git a/libraries/windows-64/icuin52.dll b/libraries/windows-64/icuin52.dll deleted file mode 100644 index ad23cd0..0000000 Binary files a/libraries/windows-64/icuin52.dll and /dev/null differ diff --git a/libraries/windows-64/icuuc52.dll b/libraries/windows-64/icuuc52.dll deleted file mode 100644 index b00898e..0000000 Binary files a/libraries/windows-64/icuuc52.dll and /dev/null differ diff --git a/libraries/windows-64/imageformats/qgif.dll b/libraries/windows-64/imageformats/qgif.dll deleted file mode 100644 index 8678b2f..0000000 Binary files a/libraries/windows-64/imageformats/qgif.dll and /dev/null differ diff --git a/libraries/windows-64/imageformats/qico.dll b/libraries/windows-64/imageformats/qico.dll deleted file mode 100644 index 70c64b6..0000000 Binary files a/libraries/windows-64/imageformats/qico.dll and /dev/null differ diff --git a/libraries/windows-64/imageformats/qjpeg.dll b/libraries/windows-64/imageformats/qjpeg.dll deleted file mode 100644 index 1cf44aa..0000000 Binary files a/libraries/windows-64/imageformats/qjpeg.dll and /dev/null differ diff --git a/libraries/windows-64/imageformats/qmng.dll b/libraries/windows-64/imageformats/qmng.dll deleted file mode 100644 index e96e0c2..0000000 Binary files a/libraries/windows-64/imageformats/qmng.dll and /dev/null differ diff --git a/libraries/windows-64/imageformats/qsvg.dll b/libraries/windows-64/imageformats/qsvg.dll deleted file mode 100644 index 2f6989d..0000000 Binary files a/libraries/windows-64/imageformats/qsvg.dll and /dev/null differ diff --git a/libraries/windows-64/imageformats/qtga.dll b/libraries/windows-64/imageformats/qtga.dll deleted file mode 100644 index 3f5a658..0000000 Binary files a/libraries/windows-64/imageformats/qtga.dll and /dev/null differ diff --git a/libraries/windows-64/imageformats/qtiff.dll b/libraries/windows-64/imageformats/qtiff.dll deleted file mode 100644 index 4327727..0000000 Binary files a/libraries/windows-64/imageformats/qtiff.dll and /dev/null differ diff --git a/libraries/windows-64/imageformats/qwbmp.dll b/libraries/windows-64/imageformats/qwbmp.dll deleted file mode 100644 index 6e46f17..0000000 Binary files a/libraries/windows-64/imageformats/qwbmp.dll and /dev/null differ diff --git a/libraries/windows-64/libgcc_s_seh-1.dll b/libraries/windows-64/libgcc_s_seh-1.dll deleted file mode 100644 index 3f2fa02..0000000 Binary files a/libraries/windows-64/libgcc_s_seh-1.dll and /dev/null differ diff --git a/libraries/windows-64/libstdc++-6.dll b/libraries/windows-64/libstdc++-6.dll deleted file mode 100644 index 6a303b3..0000000 Binary files a/libraries/windows-64/libstdc++-6.dll and /dev/null differ diff --git a/libraries/windows-64/platforms/qminimal.dll b/libraries/windows-64/platforms/qminimal.dll deleted file mode 100644 index d64f6cc..0000000 Binary files a/libraries/windows-64/platforms/qminimal.dll and /dev/null differ diff --git a/libraries/windows-64/platforms/qoffscreen.dll b/libraries/windows-64/platforms/qoffscreen.dll deleted file mode 100644 index ff54882..0000000 Binary files a/libraries/windows-64/platforms/qoffscreen.dll and /dev/null differ diff --git a/libraries/windows-64/platforms/qwindows.dll b/libraries/windows-64/platforms/qwindows.dll deleted file mode 100644 index b06f4b8..0000000 Binary files a/libraries/windows-64/platforms/qwindows.dll and /dev/null differ diff --git a/org.tizen.webuibuilder.test/.project b/org.tizen.webuibuilder.test/.project deleted file mode 100644 index e2de15c..0000000 --- a/org.tizen.webuibuilder.test/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - org.tizen.webuibuilder.test - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/org.tizen.webuibuilder.test/.settings/org.eclipse.jdt.core.prefs b/org.tizen.webuibuilder.test/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index c537b63..0000000 --- a/org.tizen.webuibuilder.test/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.6 diff --git a/org.tizen.webuibuilder.test/META-INF/MANIFEST.MF b/org.tizen.webuibuilder.test/META-INF/MANIFEST.MF deleted file mode 100644 index d91b03a..0000000 --- a/org.tizen.webuibuilder.test/META-INF/MANIFEST.MF +++ /dev/null @@ -1,7 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Test -Bundle-SymbolicName: org.tizen.webuibuilder.test -Bundle-Version: 1.0.0.qualifier -Fragment-Host: org.tizen.webuibuilder;bundle-version="1.0.0" -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/org.tizen.webuibuilder.test/build.properties b/org.tizen.webuibuilder.test/build.properties deleted file mode 100644 index 34d2e4d..0000000 --- a/org.tizen.webuibuilder.test/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - . diff --git a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/TestSuite.java b/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/TestSuite.java deleted file mode 100644 index 63bc5ed..0000000 --- a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/TestSuite.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * UI Builder - * - * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Contributors: - * - S-Core Co., Ltd - * - */ - - -package org.tizen.webuibuilder.test; - -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.tizen.webuibuilder.test.snippet.SnippetTestSuite; -import org.tizen.webuibuilder.test.template.TemplateTestSuite; - -import utility.TestUtil; - - -@RunWith(Suite.class) -@SuiteClasses({ SnippetTestSuite.class, TemplateTestSuite.class }) -public class TestSuite { - private static String TEST_DIRECTORY_PATH = "./test/"; - private static Logger logger = LoggerFactory.getLogger(TestSuite.class); - - @BeforeClass - public static void create() { - logger.info(""); - TestUtil.createTestDirectory(TEST_DIRECTORY_PATH); - } - - @AfterClass - public static void destroy() { - logger.info(""); - TestUtil.destroyTestDirectory(TEST_DIRECTORY_PATH); - } -} diff --git a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/snippet/SnippetLoaderUnitTest.java b/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/snippet/SnippetLoaderUnitTest.java deleted file mode 100644 index a57028b..0000000 --- a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/snippet/SnippetLoaderUnitTest.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * UI Builder - * - * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Contributors: - * - S-Core Co., Ltd - * - */ - - -package org.tizen.webuibuilder.test.snippet; - -import java.io.File; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.swt.graphics.Image; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.tizen.common.util.FileUtil; -import org.tizen.webuibuilder.BuilderConstants; -import org.tizen.webuibuilder.snippet.loader.SnippetLoader; -import org.tizen.webuibuilder.snippet.model.Descriptor; -import org.tizen.webuibuilder.snippet.model.IDescriptor; -import org.tizen.webuibuilder.snippet.model.ISnippet; -import org.tizen.webuibuilder.snippet.model.Snippet; -import org.tizen.webuibuilder.utility.ResourceManager; -import org.tizen.webuibuilder.utility.ResourceUtil; - -import utility.TestUtil; - - -public class SnippetLoaderUnitTest { - private static String TEST_DIRECTORY_PATH = "./test/Snippet/SnippetLoader"; - private static String TEST_SNIPPET_NAME1 = "test1"; - private static Logger logger = LoggerFactory.getLogger(SnippetLoaderUnitTest.class); - - @BeforeClass - public static void create() { - logger.info(""); - TestUtil.createTestDirectory(TEST_DIRECTORY_PATH); - } - - @AfterClass - public static void destroy() { - logger.info(""); - TestUtil.destroyTestDirectory(TEST_DIRECTORY_PATH); - } - - @Before - public void setUp() { - logger.info(""); - } - - @After - public void tearDown() { - logger.info(""); - } - - private ISnippet createSnippet(String name) { - ISnippet snippet = new Snippet(); - snippet.setId(""); - snippet.setName(name); - // Create Image Descriptor - Image image = ResourceManager.getImage(BuilderConstants.IMAGE_DIR, "image.png"); - ImageDescriptor imageDescriptor = ImageDescriptor.createFromImage(image); - snippet.setImageDescriptor(imageDescriptor); - // Create Descriptor - IDescriptor descriptor = new Descriptor(); - String text = ""; - descriptor.setText(text); - snippet.setDescriptor(descriptor); - return snippet; - } - - @Test(expected = IllegalArgumentException.class) - public void SaveTest1() { - // case1 : path == null - SnippetLoader loader = new SnippetLoader(); - loader.save(null); - } - - @Test(expected = IllegalArgumentException.class) - public void SaveTest2() { - // case2 : snippet == null; - SnippetLoader loader = new SnippetLoader(); - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_SNIPPET_NAME1; - loader.save(path); - } - - @Test - public void SaveTest3() { - // case3 : invalid path - // if parent directory do not exist - SnippetLoader loader = new SnippetLoader(); - ISnippet snippet = createSnippet(TEST_SNIPPET_NAME1); - loader.data = snippet; - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_SNIPPET_NAME1 + File.separator + TEST_SNIPPET_NAME1; - Assert.assertFalse(loader.save(path)); - } - - @Test - public void SaveTest4() { - // case4 : success - SnippetLoader loader = new SnippetLoader(); - ISnippet snippet = createSnippet(TEST_SNIPPET_NAME1); - loader.data = snippet; - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_SNIPPET_NAME1; - Assert.assertTrue("Snippet save fail", loader.save(path)); - File savedSnippet = new File(path); - Assert.assertTrue("Remove test snippet fail", FileUtil.recursiveDelete(savedSnippet)); - } - - @Test(expected = IllegalArgumentException.class) - public void LoadTest1() { - // case1 : path == null - SnippetLoader loader = new SnippetLoader(); - loader.load(null); - } - - @Test - public void LoadTest2() { - // case2 : invalid path - SnippetLoader loader = new SnippetLoader(); - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_SNIPPET_NAME1; - File snippet = new File(path); - Assert.assertFalse(snippet.exists()); - Assert.assertNull("Snippet load fail", loader.load(path)); - } - - @Test - public void LoadTest3() { - // case3 : success - SnippetLoader loader = new SnippetLoader(); - ISnippet snippet = createSnippet(TEST_SNIPPET_NAME1); - loader.data = snippet; - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_SNIPPET_NAME1; - Assert.assertTrue("Snippet save fail", loader.save(path)); - ISnippet loadedSnippet = loader.load(path); - Assert.assertNotNull("Snippet load fail", loadedSnippet); - Assert.assertEquals(loadedSnippet.getName(), TEST_SNIPPET_NAME1); - File savedSnippet = new File(path); - Assert.assertTrue("Remove test snippet fail", FileUtil.recursiveDelete(savedSnippet)); - } - -} diff --git a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/snippet/SnippetManagerUnitTest.java b/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/snippet/SnippetManagerUnitTest.java deleted file mode 100644 index b52eafe..0000000 --- a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/snippet/SnippetManagerUnitTest.java +++ /dev/null @@ -1,213 +0,0 @@ -/* - * UI Builder - * - * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Contributors: - * - S-Core Co., Ltd - * - */ - - -package org.tizen.webuibuilder.test.snippet; - -import static org.junit.Assert.fail; - -import java.io.File; -import java.util.Collection; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.swt.graphics.Image; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.tizen.common.util.FileUtil; -import org.tizen.webuibuilder.BuilderConstants; -import org.tizen.webuibuilder.snippet.loader.SnippetLoader; -import org.tizen.webuibuilder.snippet.manager.ISnippetManager; -import org.tizen.webuibuilder.snippet.manager.SnippetManager; -import org.tizen.webuibuilder.snippet.model.Descriptor; -import org.tizen.webuibuilder.snippet.model.IDescriptor; -import org.tizen.webuibuilder.snippet.model.ISnippet; -import org.tizen.webuibuilder.snippet.model.Snippet; -import org.tizen.webuibuilder.utility.ResourceManager; -import org.tizen.webuibuilder.utility.ResourceUtil; - -import utility.TestUtil; - - -public class SnippetManagerUnitTest { - private static String TEST_DIRECTORY_PATH = "./test/Snippet/SnippetManager"; - private static String TEST_SNIPPET_NAME1 = "test1"; - private static String TEST_SNIPPET_NAME2 = "test2"; - private static Logger logger = LoggerFactory.getLogger(SnippetManagerUnitTest.class); - - @BeforeClass - public static void create() { - logger.info(""); - TestUtil.createTestDirectory(TEST_DIRECTORY_PATH); - } - - @AfterClass - public static void destroy() { - logger.info(""); - TestUtil.destroyTestDirectory(TEST_DIRECTORY_PATH); - } - - @Before - public void setUp() { - logger.info(""); - } - - @After - public void tearDown() { - logger.info(""); - } - - private ISnippet createSnippet(String name) { - ISnippet snippet = new Snippet(); - snippet.setId(""); - snippet.setName(name); - // Create Image Descriptor - Image image = ResourceManager.getImage(BuilderConstants.IMAGE_DIR, "image.png"); - ImageDescriptor imageDescriptor = ImageDescriptor.createFromImage(image); - snippet.setImageDescriptor(imageDescriptor); - // Create Descriptor - IDescriptor descriptor = new Descriptor(); - String text = ""; - descriptor.setText(text); - snippet.setDescriptor(descriptor); - return snippet; - } - - @Test - public void GetSnippetsTest() { - ISnippetManager manager = new SnippetManager(); - // initial snippets are empty - Collection snippets = manager.getSnippets(); - Assert.assertEquals(0, snippets.size()); - } - - @Test - public void CreateTest() { - ISnippetManager manager = new SnippetManager(); - try { - manager.create(null); - } catch (NullPointerException e) { - System.out.println(e.getMessage()); - } - - ISnippet snippet = createSnippet(TEST_SNIPPET_NAME1); - Assert.assertTrue("SnippetManager.create fail", manager.create(snippet)); - } - - @Test - public void RemoveTest() { - ISnippetManager manager = new SnippetManager(); - try { - manager.remove(null); - fail(""); - } catch (NullPointerException e) { - } - - // Create snippets - Collection snippets = (Collection) manager.getSnippets(); - Assert.assertEquals(1, snippets.size()); - // remove snippets - for (ISnippet snippet : snippets) { - Assert.assertTrue("Snippet remove fail", manager.remove(snippet)); - } - } - - @Test - public void RenameTest() { - ISnippetManager manager = new SnippetManager(); - try { - manager.rename(null, null); - fail(""); - } catch (NullPointerException e) { - } - try { - manager.rename(null, TEST_SNIPPET_NAME2); - fail(""); - } catch (NullPointerException e) { - } - - ISnippet testSnippet = createSnippet(TEST_SNIPPET_NAME1); - Assert.assertTrue("SnippetManager.create fail", manager.create(testSnippet)); - Assert.assertTrue("SnippetManager.rename fail", - manager.rename(testSnippet, TEST_SNIPPET_NAME2)); - Collection snippets = (Collection) manager.getSnippets(); - Assert.assertEquals(1, snippets.size()); - for (ISnippet snippet : snippets) { - Assert.assertEquals(TEST_SNIPPET_NAME2, snippet.getName()); - } - for (ISnippet snippet : snippets) { - Assert.assertTrue("Snippet remove fail", manager.remove(snippet)); - } - } - - @Test - public void ExportSnippetTest() { - ISnippetManager manager = new SnippetManager(); - ISnippet snippet = createSnippet(TEST_SNIPPET_NAME1); - - // case 3 : parent directory do not exist - String invalidPath = "./invalid/"; - String exportPath = ResourceUtil.getAbsolutePath(invalidPath); - File exportDirectory = new File(exportPath); - Assert.assertFalse("Exported directory already exists", exportDirectory.exists()); - Assert.assertFalse("Snippet export fail", manager.exportSnippet(snippet, exportPath)); - - // case 4 : parent directory exist - exportPath = ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH); - exportDirectory = new File(exportPath); - Assert.assertTrue("Exported directory already exists", exportDirectory.exists()); - Assert.assertTrue("Snippet export fail", manager.exportSnippet(snippet, exportPath)); - String exportedPath = exportPath + File.separator + snippet.getName(); - File exportedDirectory = new File(exportedPath); - Assert.assertTrue("Exported directory remove fail", - FileUtil.recursiveDelete(exportedDirectory)); - } - - @Test - public void ImportSnippetTest() { - ISnippetManager manager = new SnippetManager(); - // create exported snippet - ISnippet snippet = createSnippet(TEST_SNIPPET_NAME1); - String exportPath = ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH); - Assert.assertTrue("Snippet export fail", manager.exportSnippet(snippet, exportPath)); - String exportedPath = exportPath + File.separator + snippet.getName(); - File exportedDirectory = new File(exportedPath); - Assert.assertTrue("Exported Directory do not exist", exportedDirectory.exists()); - - String importPath = exportedPath; - - SnippetLoader loader = new SnippetLoader(); - ISnippet importedSnippet = loader.load(importPath); - Assert.assertNotNull("Snippet load fail", importedSnippet); - Assert.assertTrue("Snippet import fail", manager.importSnippet(importedSnippet)); - - Assert.assertTrue("Exported directory remove fail", - FileUtil.recursiveDelete(exportedDirectory)); - Assert.assertTrue("Test snippet group remove fail", manager.remove(importedSnippet)); - } - -} diff --git a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/snippet/SnippetTestSuite.java b/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/snippet/SnippetTestSuite.java deleted file mode 100644 index 3bd48ec..0000000 --- a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/snippet/SnippetTestSuite.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * UI Builder - * - * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Contributors: - * - S-Core Co., Ltd - * - */ - - -package org.tizen.webuibuilder.test.snippet; - -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import utility.TestUtil; - - -@RunWith(Suite.class) -@SuiteClasses({ SnippetLoaderUnitTest.class, SnippetManagerUnitTest.class }) -public class SnippetTestSuite { - private static String TEST_DIRECTORY_PATH = "./test/Snippet"; - private static Logger logger = LoggerFactory.getLogger(SnippetTestSuite.class); - - @BeforeClass - public static void create() { - logger.info(""); - TestUtil.createTestDirectory(TEST_DIRECTORY_PATH); - } - - @AfterClass - public static void destroy() { - logger.info(""); - TestUtil.destroyTestDirectory(TEST_DIRECTORY_PATH); - } -} diff --git a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/template/TemplateLoaderUnitTest.java b/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/template/TemplateLoaderUnitTest.java deleted file mode 100644 index 686edac..0000000 --- a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/template/TemplateLoaderUnitTest.java +++ /dev/null @@ -1,174 +0,0 @@ -/* - * UI Builder - * - * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Contributors: - * - S-Core Co., Ltd - * - */ - - -package org.tizen.webuibuilder.test.template; - -import java.io.File; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.swt.graphics.Image; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.tizen.common.util.FileUtil; -import org.tizen.webuibuilder.BuilderConstants; -import org.tizen.webuibuilder.pagetemplate.loader.TemplateLoader; -import org.tizen.webuibuilder.pagetemplate.model.ITemplate; -import org.tizen.webuibuilder.pagetemplate.model.Template; -import org.tizen.webuibuilder.snippet.model.Descriptor; -import org.tizen.webuibuilder.snippet.model.IDescriptor; -import org.tizen.webuibuilder.utility.ResourceManager; -import org.tizen.webuibuilder.utility.ResourceUtil; - -import utility.TestUtil; - - -public class TemplateLoaderUnitTest { - private static String TEST_DIRECTORY_PATH = "./test/Template/TemplateLoader"; - private static String TEST_TEMPLATE_NAME1 = "test1"; - private static Logger logger = LoggerFactory.getLogger(TemplateLoaderUnitTest.class); - - @BeforeClass - public static void create() { - logger.info(""); - TestUtil.createTestDirectory(TEST_DIRECTORY_PATH); - } - - @AfterClass - public static void destroy() { - logger.info(""); - TestUtil.destroyTestDirectory(TEST_DIRECTORY_PATH); - } - - @Before - public void setUp() { - logger.info(""); - } - - @After - public void tearDown() { - logger.info(""); - } - - private ITemplate createTemplate(String name) { - ITemplate template = new Template(); - template.setId(""); - template.setName(name); - // Create Image Descriptor - Image image = ResourceManager.getImage(BuilderConstants.IMAGE_DIR, "image.png"); - ImageDescriptor imageDescriptor = ImageDescriptor.createFromImage(image); - template.setImageDescriptor(imageDescriptor); - // Create Descriptor - IDescriptor descriptor = new Descriptor(); - String text = ""; - descriptor.setText(text); - template.setDescriptor(descriptor); - return template; - } - - @Test(expected = IllegalArgumentException.class) - public void SaveTest1() { - // case1 : path == null - TemplateLoader loader = new TemplateLoader(); - loader.save(null); - } - - @Test(expected = IllegalArgumentException.class) - public void SaveTest2() { - // case2 : template == null; - TemplateLoader loader = new TemplateLoader(); - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_TEMPLATE_NAME1; - loader.save(path); - } - - @Test - public void SaveTest3() { - // case3 : invalid path - // if parent directory do not exist - TemplateLoader loader = new TemplateLoader(); - ITemplate template = createTemplate(TEST_TEMPLATE_NAME1); - loader.data = template; - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_TEMPLATE_NAME1 + File.separator + TEST_TEMPLATE_NAME1; - Assert.assertFalse(loader.save(path)); - } - - @Test - public void SaveTest4() { - // case4 : success - TemplateLoader loader = new TemplateLoader(); - ITemplate template = createTemplate(TEST_TEMPLATE_NAME1); - loader.data = template; - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_TEMPLATE_NAME1; - Assert.assertTrue("Template save fail", loader.save(path)); - File savedTemplate = new File(path); - Assert.assertTrue("Remove template fail", FileUtil.recursiveDelete(savedTemplate)); - } - - @Test(expected = IllegalArgumentException.class) - public void LoadTest1() { - // case1 : path == null - TemplateLoader loader = new TemplateLoader(); - loader.load(null); - } - - @Test - public void LoadTest2() { - // case2 : invalid path - TemplateLoader loader = new TemplateLoader(); - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_TEMPLATE_NAME1; - File template = new File(path); - Assert.assertFalse(template.exists()); - Assert.assertNull("Template load fail", loader.load(path)); - } - - @Test - public void LoadTest3() { - // case3 : success - TemplateLoader loader = new TemplateLoader(); - ITemplate template = createTemplate(TEST_TEMPLATE_NAME1); - loader.data = template; - String path = - ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH) + File.separator - + TEST_TEMPLATE_NAME1; - Assert.assertTrue("Template save fail", loader.save(path)); - ITemplate loadedTemplate = loader.load(path); - Assert.assertNotNull("Template load fail", loadedTemplate); - Assert.assertEquals(loadedTemplate.getName(), TEST_TEMPLATE_NAME1); - File savedTemplate = new File(path); - Assert.assertTrue("Remove test template fail", FileUtil.recursiveDelete(savedTemplate)); - } - -} diff --git a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/template/TemplateManagerUnitTest.java b/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/template/TemplateManagerUnitTest.java deleted file mode 100644 index 5e1eea8..0000000 --- a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/template/TemplateManagerUnitTest.java +++ /dev/null @@ -1,236 +0,0 @@ -/* - * UI Builder - * - * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Contributors: - * - S-Core Co., Ltd - * - */ - - -package org.tizen.webuibuilder.test.template; - -import java.io.File; - -import org.eclipse.jface.resource.ImageDescriptor; -import org.eclipse.swt.graphics.Image; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.tizen.common.util.FileUtil; -import org.tizen.webuibuilder.BuilderConstants; -import org.tizen.webuibuilder.pagetemplate.loader.TemplateLoader; -import org.tizen.webuibuilder.pagetemplate.manager.ITemplateManager; -import org.tizen.webuibuilder.pagetemplate.manager.TemplateManager; -import org.tizen.webuibuilder.pagetemplate.model.ITemplate; -import org.tizen.webuibuilder.pagetemplate.model.ITemplateGroup; -import org.tizen.webuibuilder.pagetemplate.model.Template; -import org.tizen.webuibuilder.pagetemplate.model.TemplateGroup; -import org.tizen.webuibuilder.snippet.model.Descriptor; -import org.tizen.webuibuilder.snippet.model.IDescriptor; -import org.tizen.webuibuilder.utility.ResourceManager; -import org.tizen.webuibuilder.utility.ResourceUtil; - -import utility.TestUtil; - - -public class TemplateManagerUnitTest { - private static final String TEST_DIRECTORY_PATH = "./test/TemplateManager"; - private static final String TEST_GROUP = "Test"; - private static final String TEST_TEMPLATE1 = "Test1"; - private static final String TEST_TEMPLATE2 = "Test2"; - private static final String TEST_TEMPLATE3 = "Test3"; - - private static Logger logger = LoggerFactory.getLogger(TemplateManagerUnitTest.class); - - @BeforeClass - public static void create() { - logger.info(""); - TestUtil.createTestDirectory(TEST_DIRECTORY_PATH); - } - - @AfterClass - public static void destroy() { - logger.info(""); - TestUtil.destroyTestDirectory(TEST_DIRECTORY_PATH); - } - - @Before - public void setUp() { - logger.info(""); - } - - @After - public void tearDown() { - logger.info(""); - } - - @Test - public void CreateTemplateGroupTest() { - ITemplateManager manager = new TemplateManager(); - try { - manager.create(null); - } catch (NullPointerException e) { - } - - ITemplateGroup group = new TemplateGroup(); - group.setName(TEST_GROUP); - Assert.assertTrue("Template group create fail", manager.create(group)); - Assert.assertTrue("Template group remove fail", manager.remove(group)); - } - - @Test - public void RemoveTemplateGroupTest() { - ITemplateManager manager = new TemplateManager(); - - try { - manager.remove(null); - } catch (NullPointerException e) { - } - - ITemplateGroup group = new TemplateGroup(); - group.setName(TEST_GROUP); - // if template group do not exist - Assert.assertFalse("Template group remove fail", manager.remove(group)); - Assert.assertTrue("Template group create fail", manager.create(group)); - Assert.assertTrue("Template group remove fail", manager.remove(group)); - } - - private ITemplate createTemplate(String name) { - ITemplate template = new Template(); - template.setId(""); - template.setName(name); - template.setDescription(""); - // Create Image Descriptor - Image image = ResourceManager.getImage(BuilderConstants.IMAGE_DIR, "image.png"); - // File imageFile = new File(imagePath); - // ImageLoader imageLoader = new ImageLoader(); - // ImageData[] imageData = imageLoader.load(imageFile.getPath()); - ImageDescriptor imageDescriptor = ImageDescriptor.createFromImage(image); - // Create Descriptor - template.setImageDescriptor(imageDescriptor); - IDescriptor descriptor = new Descriptor(); - // Converter converter = new Converter(); - // String text = converter.convert(model); - String text = ""; - descriptor.setText(text); - template.setDescriptor(descriptor); - return template; - } - - @Test - public void CreateTemplateTest() { - ITemplateManager manager = new TemplateManager(); - - // create template group - ITemplateGroup group = new TemplateGroup(); - group.setName(TEST_GROUP); - Assert.assertTrue("Template group create fail", manager.create(group)); - // create tempaltes - ITemplate template1 = createTemplate(TEST_TEMPLATE1); - Assert.assertTrue("Template create fail", manager.create(group, template1)); - ITemplate template2 = createTemplate(TEST_TEMPLATE2); - Assert.assertTrue("Template create fail", manager.create(group, template2)); - ITemplate template3 = createTemplate(TEST_TEMPLATE3); - Assert.assertTrue("Template create fail", manager.create(group, template3)); - - // remove templates - Assert.assertTrue("Template remove fail", manager.remove(group, template1)); - Assert.assertTrue("Template remove fail", manager.remove(group, template2)); - Assert.assertTrue("Template remove fail", manager.remove(group, template3)); - - // remove template group - Assert.assertTrue("Template group remove fail", manager.remove(group)); - } - - @Test - public void RemoveTemplateTest() { - ITemplateManager manager = new TemplateManager(); - - // create template group - ITemplateGroup group = new TemplateGroup(); - group.setName(TEST_GROUP); - Assert.assertTrue("Template group create fail", manager.create(group)); - // create tempaltes - ITemplate template1 = createTemplate(TEST_TEMPLATE1); - Assert.assertTrue("Template create fail", manager.create(group, template1)); - ITemplate template2 = createTemplate(TEST_TEMPLATE2); - Assert.assertTrue("Template create fail", manager.create(group, template2)); - ITemplate template3 = createTemplate(TEST_TEMPLATE3); - Assert.assertTrue("Template create fail", manager.create(group, template3)); - - // remove templates - Assert.assertTrue("Template remove fail", manager.remove(group, template1)); - Assert.assertTrue("Template remove fail", manager.remove(group, template2)); - Assert.assertTrue("Template remove fail", manager.remove(group, template3)); - - // remove template group - Assert.assertTrue("Template group remove fail", manager.remove(group)); - } - - @Test - public void ExportTemplateTest() { - ITemplateManager manager = new TemplateManager(); - ITemplateGroup group = new TemplateGroup(); - group.setName(TEST_GROUP); - ITemplate template1 = createTemplate(TEST_TEMPLATE1); - - // if directory not exists then export template have to be failed - String invalidPath = ResourceUtil.getAbsolutePath("./invalid/"); - File invalidDirectory = new File(invalidPath); - Assert.assertFalse("Invalid directory exists", invalidDirectory.exists()); - Assert.assertFalse("Template export fail", manager.exportTemplate(template1, invalidPath)); - String exportPath = ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH); - Assert.assertTrue("Template export fail", manager.exportTemplate(template1, exportPath)); - String exportedTemplatePath = exportPath + File.separator + template1.getName(); - File exportedDirectory = new File(exportedTemplatePath); - Assert.assertTrue("Exported directory do not exist", exportedDirectory.exists()); - Assert.assertTrue("Exported directory remove fail", - FileUtil.recursiveDelete(exportedDirectory)); - } - - @Test - public void ImportTemplateTest() { - ITemplateManager manager = new TemplateManager(); - - // create exported template - ITemplate template1 = createTemplate(TEST_TEMPLATE1); - String exportPath = ResourceUtil.getAbsolutePath(TEST_DIRECTORY_PATH); - Assert.assertTrue("Template export fail", manager.exportTemplate(template1, exportPath)); - String exportedTemplatePath = exportPath + File.separator + template1.getName(); - File exportedDirectory = new File(exportedTemplatePath); - Assert.assertTrue("Exported Directory do not exist", exportedDirectory.exists()); - - String importPath = exportedTemplatePath; - ITemplateGroup group = new TemplateGroup(); - group.setName(TEST_GROUP); - Assert.assertTrue("Test template group create fail", manager.create(group)); - TemplateLoader loader = new TemplateLoader(); - ITemplate importTemplate = loader.load(importPath); - Assert.assertNotNull("Template load fail", template1); - Assert.assertTrue("Template import fail", manager.importTemplate(importTemplate, group)); - - Assert.assertTrue("Exported directory remove fail", - FileUtil.recursiveDelete(exportedDirectory)); - Assert.assertTrue("Test template group remove fail", manager.remove(group)); - } - -} diff --git a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/template/TemplateTestSuite.java b/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/template/TemplateTestSuite.java deleted file mode 100644 index 1bbc6cd..0000000 --- a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/template/TemplateTestSuite.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * UI Builder - * - * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Contributors: - * - S-Core Co., Ltd - * - */ - - -package org.tizen.webuibuilder.test.template; - -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import utility.TestUtil; - - -@RunWith(Suite.class) -@SuiteClasses({ TemplateLoaderUnitTest.class, TemplateManagerUnitTest.class }) -public class TemplateTestSuite { - private static String TEST_DIRECTORY_PATH = "./test/Template"; - private static Logger logger = LoggerFactory.getLogger(TemplateTestSuite.class); - - @BeforeClass - public static void create() { - logger.info(""); - TestUtil.createTestDirectory(TEST_DIRECTORY_PATH); - } - - @AfterClass - public static void destroy() { - logger.info(""); - TestUtil.destroyTestDirectory(TEST_DIRECTORY_PATH); - } -} diff --git a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/utility/ResourceManagerUnitTest.java b/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/utility/ResourceManagerUnitTest.java deleted file mode 100644 index 460dd44..0000000 --- a/org.tizen.webuibuilder.test/src/org/tizen/webuibuilder/test/utility/ResourceManagerUnitTest.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * UI Builder - * - * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Contributors: - * - S-Core Co., Ltd - * - */ - - -package org.tizen.webuibuilder.test.utility; - -import static org.junit.Assert.fail; - -import java.io.File; -import java.io.IOException; - -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.tizen.common.util.FileUtil; -import org.tizen.webuibuilder.utility.ResourceManager; -import org.tizen.webuibuilder.utility.ResourceUtil; - -import utility.TestUtil; - - -public class ResourceManagerUnitTest { - private static String TEST_DIRECTORY_PATH = "./test/ResourceManager"; - private static String TEST_FILE_PATH = "./test/ResourceManager/test.txt"; - private static String TEST_TEXT = "ResourceManagerUnitTest"; - private static Logger logger = LoggerFactory.getLogger(ResourceManagerUnitTest.class); - - @BeforeClass - public static void create() { - logger.info(""); - TestUtil.createTestDirectory(TEST_DIRECTORY_PATH); - createTestFile(); - } - - @AfterClass - public static void destroy() { - logger.info(""); - destroyTestFile(); - TestUtil.destroyTestDirectory(TEST_DIRECTORY_PATH); - } - - private static void createTestFile() { - // create test file - String testFilePath = ResourceUtil.getAbsolutePath(TEST_FILE_PATH); - logger.info(testFilePath); - - File testFile = new File(testFilePath); - Assert.assertFalse(testFile.exists()); - try { - FileUtil.createTextFile(testFile, TEST_TEXT, null); - } catch (IOException e) { - fail("Create test file fail"); - } - Assert.assertTrue(testFile.exists()); - } - - private static void destroyTestFile() { - String testFilePath = ResourceUtil.getAbsolutePath(TEST_FILE_PATH); - File testFile = new File(testFilePath); - Assert.assertTrue("Test file do not exist", testFile.exists()); - Assert.assertTrue("Test file remove fail", FileUtil.recursiveDelete(testFile)); - Assert.assertFalse("Test file still exist", testFile.exists()); - } - - @Before - public void setUp() { - logger.info(""); - } - - @After - public void tearDown() { - logger.info(""); - } - - @Test(expected = IllegalArgumentException.class) - public void GetStringTest1() { - // case 1 : name = null - ResourceManager.getString(null); - } - - @Test - public void GetStringTest2() { - String text = ResourceManager.getString(TEST_FILE_PATH); - Assert.assertEquals(TEST_TEXT, text); - } - - @Test(expected = IllegalArgumentException.class) - public void GetAbsolutePathTest1() { - // case 1 : path = null - ResourceUtil.getAbsolutePath(null); - } - - @Test - public void GetAbsolutePathTest2() { - ResourceUtil.getAbsolutePath("./"); - } - -} diff --git a/org.tizen.webuibuilder.test/src/utility/TestUtil.java b/org.tizen.webuibuilder.test/src/utility/TestUtil.java deleted file mode 100644 index 5b132f7..0000000 --- a/org.tizen.webuibuilder.test/src/utility/TestUtil.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * UI Builder - * - * Copyright (c) 2000 - 2014 Samsung Electronics Co., Ltd. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * Contributors: - * - S-Core Co., Ltd - * - */ - - -package utility; - -import java.io.File; - -import org.junit.Assert; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.tizen.common.util.FileUtil; -import org.tizen.webuibuilder.utility.ResourceUtil; - - -public class TestUtil { - private static Logger logger = LoggerFactory.getLogger(TestUtil.class); - - public static void createTestDirectory(String path) { - logger.info(""); - String testDirectoryPath = ResourceUtil.getAbsolutePath(path); - File testDirectory = new File(testDirectoryPath); - Assert.assertFalse("Test directory already exist", testDirectory.exists()); - Assert.assertTrue("Test directory create fail", testDirectory.mkdirs()); - Assert.assertTrue("Test directory do not exist", testDirectory.exists()); - } - - public static void destroyTestDirectory(String path) { - logger.info(""); - String testDirectoryPath = ResourceUtil.getAbsolutePath(path); - File testDirectory = new File(testDirectoryPath); - Assert.assertTrue("Test directory do not exist", testDirectory.exists()); - Assert.assertTrue("Test directory remove fail", FileUtil.recursiveDelete(testDirectory)); - Assert.assertFalse("Test directory still exist", testDirectory.exists()); - } -} diff --git a/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt.conf b/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt.conf deleted file mode 100644 index f747e09..0000000 --- a/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt.conf +++ /dev/null @@ -1,2 +0,0 @@ -[Paths] -Plugins = plugins \ No newline at end of file diff --git a/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt_menu.nib/classes.nib b/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt_menu.nib/classes.nib deleted file mode 100644 index 0031e0e..0000000 --- a/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt_menu.nib/classes.nib +++ /dev/null @@ -1,59 +0,0 @@ - - - - - IBClasses - - - ACTIONS - - hide - id - hideOtherApplications - id - orderFrontStandardAboutPanel - id - qtDispatcherToQAction - id - terminate - id - unhideAllApplications - id - - CLASS - QCocoaMenuLoader - LANGUAGE - ObjC - OUTLETS - - aboutItem - NSMenuItem - aboutQtItem - NSMenuItem - appMenu - NSMenu - hideItem - NSMenuItem - preferencesItem - NSMenuItem - quitItem - NSMenuItem - theMenu - NSMenu - - SUPERCLASS - NSResponder - - - CLASS - FirstResponder - LANGUAGE - ObjC - SUPERCLASS - NSObject - - - IBVersion - 1 - - diff --git a/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt_menu.nib/info.nib b/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt_menu.nib/info.nib deleted file mode 100644 index 02e5cca..0000000 --- a/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt_menu.nib/info.nib +++ /dev/null @@ -1,18 +0,0 @@ - - - - - IBFramework Version - 672 - IBOldestOS - 5 - IBOpenObjects - - 57 - - IBSystem Version - 9L31a - targetFramework - IBCocoaFramework - - diff --git a/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt_menu.nib/keyedobjects.nib b/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt_menu.nib/keyedobjects.nib deleted file mode 100644 index 67207ca..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/Resources/qt_menu.nib/keyedobjects.nib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqgif.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqgif.dylib deleted file mode 100644 index 37c6480..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqgif.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqico.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqico.dylib deleted file mode 100644 index dcba152..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqico.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqjpeg.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqjpeg.dylib deleted file mode 100644 index 5acece9..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqjpeg.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqmng.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqmng.dylib deleted file mode 100644 index 56806fe..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqmng.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqsvg.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqsvg.dylib deleted file mode 100644 index caefa04..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqsvg.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqtga.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqtga.dylib deleted file mode 100644 index f0036f6..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqtga.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqtiff.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqtiff.dylib deleted file mode 100644 index 0deadc7..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqtiff.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqwbmp.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqwbmp.dylib deleted file mode 100644 index 9e49cb0..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/imageformats/libqwbmp.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/platforms/libqcocoa.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/platforms/libqcocoa.dylib deleted file mode 100644 index 0ecfe8e..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/platforms/libqcocoa.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/platforms/libqminimal.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/platforms/libqminimal.dylib deleted file mode 100644 index b194d5e..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/platforms/libqminimal.dylib and /dev/null differ diff --git a/package/adding_files/macos/ide/IDE.app/Contents/plugins/platforms/libqoffscreen.dylib b/package/adding_files/macos/ide/IDE.app/Contents/plugins/platforms/libqoffscreen.dylib deleted file mode 100644 index c70d5d5..0000000 Binary files a/package/adding_files/macos/ide/IDE.app/Contents/plugins/platforms/libqoffscreen.dylib and /dev/null differ diff --git a/package/build.macos-64 b/package/build.macos-64 deleted file mode 100755 index 96bafb6..0000000 --- a/package/build.macos-64 +++ /dev/null @@ -1,194 +0,0 @@ -#!/bin/bash -x - -# Global variables ======================================================= -PROJECT_NAME=web-ui-builder-eplugin - -# For package -PACKAGE_NAME=${PROJECT_NAME} -MANIFEST_FILE=${SRCDIR}/package/pkginfo.manifest - -# TargetOS dependent variables -PLATFORM= -WINDOWING= -ARCHITECTURE=x86 -ECLIPSE_DIR= -INSTALL_DIR=${SRCDIR}/package/${PACKAGE_NAME}.package.${TARGET_OS} - -# For build -BUILD_ID=${PROJECT_NAME} -BUILD_TYPE=N -BUILD_DIR=${SRCDIR}/output -BUILD_RESULT_DIR=${BUILD_DIR}/${BUILD_TYPE}.${BUILD_ID} -BUILDER_DIR=${SRCDIR}/builder - -# For "__modify_about_mappings_file" -build_path=${BUILD_DIR} - -# End Global variables ==================================================== - -setTargetOs() -{ - case ${TARGET_OS} in - ubuntu-32) - ECLIPSE_DIR=${ROOTDIR}/indigo-pde/eclipse - PLATFORM=linux - WINDOWING=gtk - ARCHITECTURE=x86 - ;; - ubuntu-64) - ECLIPSE_DIR=${ROOTDIR}/indigo-pde/eclipse - PLATFORM=linux - WINDOWING=gtk - ARCHITECTURE=x86_64 - ;; - windows-32) - ECLIPSE_DIR=${ROOTDIR}/indigo-winpde/eclipse - PLATFORM=win32 - WINDOWING=win32 - ARCHITECTURE=x86 - ;; - windows-64) - ECLIPSE_DIR=${ROOTDIR}/indigo-winpde/eclipse - PLATFORM=win32 - WINDOWING=win32 - ARCHITECTURE=x86_64 - ;; - macos-64) - ECLIPSE_DIR=${ROOTDIR}/indigo-macpde/eclipse - PLATFORM=macosx - WINDOWING=cocoa - ARCHITECTURE=x86_64 - ;; - *) - echo "[ERROR] Not supported Target OS" - exit 1 - ;; - esac -} - -createAntBuildFile() -{ - cp ${BUILDER_DIR}/build.properties.clean ${BUILD_DIR} - cp ${BUILDER_DIR}/customTargets.xml ${BUILD_DIR} - - sed -e "s;\(^buildDirectory=\).*;\1${BUILD_DIR};g" \ - -e "s;\(^base=\).*;\1${ECLIPSE_DIR}/..;g" \ - -e "s;\(^baseLocation=\).*;\1${ECLIPSE_DIR};g" \ - -e "s;\(^configs=\).*;\1${PLATFORM},${WINDOWING},${ARCHITECTURE};g" \ - -e "s;\(^buildType=\).*;\1${BUILD_TYPE};g" \ - -e "s;\(^buildId=\).*;\1${BUILD_ID};g" \ - -e "s;\(^archivePrefix=\).*;\1${BUILD_ID};g" \ - < ${BUILD_DIR}/build.properties.clean > ${BUILD_DIR}/build.properties -} - -clean() -{ - echo "========================================= CLEAN ============================================" - rm -rf ${SRCDIR}/*.zip - rm -rf ${SRCDIR}/*.tar.gz - - if [ -d ${INSTALL_DIR} ] - then - rm -rf ${INSTALL_DIR} - else - echo "nothing" - fi - - rm -rf ${BUILD_DIR} - echo "========================================= CLEAN ============================================" -} - -build() -{ - echo "========================================= BUILD ============================================" - mkdir -p ${BUILD_DIR} - mkdir -p ${BUILD_DIR}/plugins - mkdir -p ${BUILD_DIR}/features - - - # Setting build environment - # Copy dependency plugin - cp -r ${ROOTDIR}/ide/features/* ${BUILD_DIR}/features - cp -r ${ROOTDIR}/ide/plugins/* ${BUILD_DIR}/plugins - - # Copy sources to BUILD_DIR - cp -r ${SRCDIR}/*.feature ${BUILD_DIR}/features - cp -r ${SRCDIR}/org.tizen.webuibuilder* ${BUILD_DIR}/plugins - rm -rf ${BUILD_DIR}/plugins/*.feature - - setTargetOs - createAntBuildFile - __modify_about_mappings_file - - echo "Execute Product Ant Builder..." - java -XX:+UseParNewGC -jar ${ECLIPSE_DIR}/plugins/`echo org.eclipse.equinox.launcher_*.jar` \ - -application org.eclipse.ant.core.antRunner \ - -buildfile ${ECLIPSE_DIR}/plugins/`echo org.eclipse.pde.build_*`/scripts/productBuild/productBuild.xml \ - -Dbuilder=${BUILD_DIR} \ - -Dosgi.locking=none 2>&1 - unzip -a ${BUILD_RESULT_DIR}/${BUILD_ID}-${PLATFORM}.${WINDOWING}.${ARCHITECTURE}.zip \ - -d ${BUILD_RESULT_DIR}/${PLATFORM}.${WINDOWING}.${ARCHITECTURE} - echo "Build SUCCESS. You will find SDK IDE in \"${BUILD_RESULT_DIR}\"." -} - -__modify_about_mappings_file() -{ - echo "========================================= about mapping ============================================" - branding_plugin=`grep "topLevelElementId=" ${build_path}/build.properties | cut -f2 -d"="` - branding_paths=`grep "plugin=" ${build_path}/features/${branding_plugin}/feature.xml | cut -f2 -d"\""` - - ## Bugfix : get a first element only - for branding_path in ${branding_paths}; do - break; - done - - build_time=`date +%Y%m%d-%H%M` - about_mapping_path="${build_path}/plugins/${branding_path}/about.mappings" - about_build_time_parameter="1" - sed -e "s;\(^${about_build_time_parameter}=\).*;\1${build_time};g" \ - < ${about_mapping_path} > ${about_mapping_path}.mod - mv ${about_mapping_path}.mod ${about_mapping_path} -} - -install() -{ - echo "========================================= INSTALL PLUGIN==========================================" - - setTargetOs - mkdir -p ${INSTALL_DIR}/data/ide - cp -rf ${BUILD_RESULT_DIR}/${PLATFORM}.${WINDOWING}.${ARCHITECTURE}/${PACKAGE_NAME}/* \ - ${INSTALL_DIR}/data/ide - - LIBRARY_INSTALL_DIR=${INSTALL_DIR}/data/library/qt - mkdir -p ${LIBRARY_INSTALL_DIR} - - case ${TARGET_OS} in - ubuntu-32) - cp -rf libraries/ubuntu-32/* ${LIBRARY_INSTALL_DIR} - ;; - ubuntu-64) - cp -rf libraries/ubuntu-64/* ${LIBRARY_INSTALL_DIR} - ;; - windows-32) - cp -rf libraries/windows-32/* ${LIBRARY_INSTALL_DIR} - ;; - windows-64) - cp -rf libraries/windows-64/* ${LIBRARY_INSTALL_DIR} - ;; - macos-64) - cp -rf libraries/macos-64/* ${LIBRARY_INSTALL_DIR} - cp -rf ${SRCDIR}/package/adding_files/macos/* ${INSTALL_DIR}/data/ - ;; - *) - echo "[ERROR] Not supported Target OS" - exit 1 - ;; - esac - - echo "========================================= INSTALL PLUGIN==========================================" -} - -[ "$1" = "clean" ] && clean -[ "$1" = "build" ] && build -[ "$1" = "install" ] && install -exit 0 diff --git a/package/build.ubuntu-32 b/package/build.ubuntu-32 deleted file mode 100755 index 33ec62d..0000000 --- a/package/build.ubuntu-32 +++ /dev/null @@ -1,203 +0,0 @@ -#!/bin/bash -x - -# Global variables ======================================================= -PROJECT_NAME=web-ui-builder-eplugin - -# For package -PACKAGE_NAME=${PROJECT_NAME} -MANIFEST_FILE=${SRCDIR}/package/pkginfo.manifest - -# TargetOS dependent variables -PLATFORM= -WINDOWING= -ARCHITECTURE=x86 -ECLIPSE_DIR= -INSTALL_DIR=${SRCDIR}/package/${PACKAGE_NAME}.package.${TARGET_OS} - -# For build -BUILD_ID=${PROJECT_NAME} -BUILD_TYPE=N -BUILD_DIR=${SRCDIR}/output -BUILD_RESULT_DIR=${BUILD_DIR}/${BUILD_TYPE}.${BUILD_ID} -BUILDER_DIR=${SRCDIR}/builder - -# For "__modify_about_mappings_file" -build_path=${BUILD_DIR} - -# End Global variables ==================================================== - -setTargetOs() -{ - case ${TARGET_OS} in - ubuntu-32) - ECLIPSE_DIR=${ROOTDIR}/indigo-pde/eclipse - PLATFORM=linux - WINDOWING=gtk - ARCHITECTURE=x86 - ;; - ubuntu-64) - ECLIPSE_DIR=${ROOTDIR}/indigo-pde/eclipse - PLATFORM=linux - WINDOWING=gtk - ARCHITECTURE=x86_64 - ;; - windows-32) - ECLIPSE_DIR=${ROOTDIR}/indigo-winpde/eclipse - PLATFORM=win32 - WINDOWING=win32 - ARCHITECTURE=x86 - ;; - windows-64) - ECLIPSE_DIR=${ROOTDIR}/indigo-winpde/eclipse - PLATFORM=win32 - WINDOWING=win32 - ARCHITECTURE=x86_64 - ;; - macos-64) - ECLIPSE_DIR=${ROOTDIR}/indigo-macpde/eclipse - PLATFORM=macosx - WINDOWING=cocoa - ARCHITECTURE=x86_64 - ;; - *) - echo "[ERROR] Not supported Target OS" - exit 1 - ;; - esac -} - -createAntBuildFile() -{ - cp ${BUILDER_DIR}/build.properties.clean ${BUILD_DIR} - cp ${BUILDER_DIR}/customTargets.xml ${BUILD_DIR} - - sed -e "s;\(^buildDirectory=\).*;\1${BUILD_DIR};g" \ - -e "s;\(^base=\).*;\1${ECLIPSE_DIR}/..;g" \ - -e "s;\(^baseLocation=\).*;\1${ECLIPSE_DIR};g" \ - -e "s;\(^configs=\).*;\1${PLATFORM},${WINDOWING},${ARCHITECTURE};g" \ - -e "s;\(^buildType=\).*;\1${BUILD_TYPE};g" \ - -e "s;\(^buildId=\).*;\1${BUILD_ID};g" \ - -e "s;\(^archivePrefix=\).*;\1${BUILD_ID};g" \ - < ${BUILD_DIR}/build.properties.clean > ${BUILD_DIR}/build.properties -} - -clean() -{ - echo "========================================= CLEAN ============================================" - rm -rf ${SRCDIR}/*.zip - rm -rf ${SRCDIR}/*.tar.gz - - if [ -d ${INSTALL_DIR} ] - then - rm -rf ${INSTALL_DIR} - elif [ -d ${TEMPLATE_INSTALL_DIR} ] - then - rm -rf ${TEMPLATE_INSTALL_DIR} - else - echo "nothing" - fi - - rm -rf ${BUILD_DIR} - echo "========================================= CLEAN ============================================" -} - -build() -{ - echo "========================================= BUILD PLUGIN======================================" - - mkdir -p ${BUILD_DIR} - mkdir -p ${BUILD_DIR}/plugins - mkdir -p ${BUILD_DIR}/features - - - # Setting build environment - # Copy dependency plugin - cp -r ${ROOTDIR}/ide/features/* ${BUILD_DIR}/features - cp -r ${ROOTDIR}/ide/plugins/* ${BUILD_DIR}/plugins - - # Copy sources to BUILD_DIR - cp -r ${SRCDIR}/*.feature ${BUILD_DIR}/features - cp -r ${SRCDIR}/org.tizen.webuibuilder* ${BUILD_DIR}/plugins - rm -rf ${BUILD_DIR}/plugins/*.feature - - setTargetOs - createAntBuildFile - __modify_about_mappings_file - - echo "Execute Product Ant Builder..." - java -XX:+UseParNewGC -jar ${ECLIPSE_DIR}/plugins/`echo org.eclipse.equinox.launcher_*.jar` \ - -application org.eclipse.ant.core.antRunner \ - -buildfile ${ECLIPSE_DIR}/plugins/`echo org.eclipse.pde.build_*`/scripts/productBuild/productBuild.xml \ - -Dbuilder=${BUILD_DIR} \ - -Dosgi.locking=none 2>&1 - unzip -a ${BUILD_RESULT_DIR}/${BUILD_ID}-${PLATFORM}.${WINDOWING}.${ARCHITECTURE}.zip \ - -d ${BUILD_RESULT_DIR}/${PLATFORM}.${WINDOWING}.${ARCHITECTURE} - echo "Build SUCCESS. You will find SDK IDE in \"${BUILD_RESULT_DIR}\"." - - echo "========================================= BUILD PLUGIN======================================" -} - -__modify_about_mappings_file() -{ - echo "========================================= about mapping ============================================" - - branding_plugin=`grep "topLevelElementId=" ${build_path}/build.properties | cut -f2 -d"="` - branding_paths=`grep "plugin=" ${build_path}/features/${branding_plugin}/feature.xml | cut -f2 -d"\""` - - ## Bugfix : get a first element only - for branding_path in ${branding_paths}; do - break; - done - - build_time=`date +%Y%m%d-%H%M` - about_mapping_path="${build_path}/plugins/${branding_path}/about.mappings" - about_build_time_parameter="1" - sed -e "s;\(^${about_build_time_parameter}=\).*;\1${build_time};g" \ - < ${about_mapping_path} > ${about_mapping_path}.mod - mv ${about_mapping_path}.mod ${about_mapping_path} - - echo "========================================= about mapping ============================================" -} - -install() -{ - echo "========================================= INSTALL PLUGIN==========================================" - - setTargetOs - mkdir -p ${INSTALL_DIR}/data/ide - cp -rf ${BUILD_RESULT_DIR}/${PLATFORM}.${WINDOWING}.${ARCHITECTURE}/${PACKAGE_NAME}/* \ - ${INSTALL_DIR}/data/ide - - LIBRARY_INSTALL_DIR=${INSTALL_DIR}/data/library/qt - mkdir -p ${LIBRARY_INSTALL_DIR} - - case ${TARGET_OS} in - ubuntu-32) - cp -rf libraries/ubuntu-32/* ${LIBRARY_INSTALL_DIR} - ;; - ubuntu-64) - cp -rf libraries/ubuntu-64/* ${LIBRARY_INSTALL_DIR} - ;; - windows-32) - cp -rf libraries/windows-32/* ${LIBRARY_INSTALL_DIR} - ;; - windows-64) - cp -rf libraries/windows-64/* ${LIBRARY_INSTALL_DIR} - ;; - macos-64) - cp -rf libraries/macos-64/* ${LIBRARY_INSTALL_DIR} - cp -rf ${SRCDIR}/package/adding_files/macos/* ${INSTALL_DIR}/data/ - ;; - *) - echo "[ERROR] Not supported Target OS" - exit 1 - ;; - esac - - echo "========================================= INSTALL PLUGIN==========================================" -} - -[ "$1" = "clean" ] && clean -[ "$1" = "build" ] && build -[ "$1" = "install" ] && install -exit 0 diff --git a/package/build.ubuntu-64 b/package/build.ubuntu-64 deleted file mode 100755 index b2d3163..0000000 --- a/package/build.ubuntu-64 +++ /dev/null @@ -1,197 +0,0 @@ -#!/bin/bash -x - -# Global variables ======================================================= -PROJECT_NAME=web-ui-builder-eplugin - -# For package -PACKAGE_NAME=${PROJECT_NAME} -MANIFEST_FILE=${SRCDIR}/package/pkginfo.manifest - -# TargetOS dependent variables -PLATFORM= -WINDOWING= -ARCHITECTURE=x86 -ECLIPSE_DIR= -INSTALL_DIR=${SRCDIR}/package/${PACKAGE_NAME}.package.${TARGET_OS} - -# For build -BUILD_ID=${PROJECT_NAME} -BUILD_TYPE=N -BUILD_DIR=${SRCDIR}/output -BUILD_RESULT_DIR=${BUILD_DIR}/${BUILD_TYPE}.${BUILD_ID} -BUILDER_DIR=${SRCDIR}/builder - -# For "__modify_about_mappings_file" -build_path=${BUILD_DIR} - -# End Global variables ==================================================== - -setTargetOs() -{ - case ${TARGET_OS} in - ubuntu-32) - ECLIPSE_DIR=${ROOTDIR}/indigo-pde/eclipse - PLATFORM=linux - WINDOWING=gtk - ARCHITECTURE=x86 - ;; - ubuntu-64) - ECLIPSE_DIR=${ROOTDIR}/indigo-pde/eclipse - PLATFORM=linux - WINDOWING=gtk - ARCHITECTURE=x86_64 - ;; - windows-32) - ECLIPSE_DIR=${ROOTDIR}/indigo-winpde/eclipse - PLATFORM=win32 - WINDOWING=win32 - ARCHITECTURE=x86 - ;; - windows-64) - ECLIPSE_DIR=${ROOTDIR}/indigo-winpde/eclipse - PLATFORM=win32 - WINDOWING=win32 - ARCHITECTURE=x86_64 - ;; - macos-64) - ECLIPSE_DIR=${ROOTDIR}/indigo-macpde/eclipse - PLATFORM=macosx - WINDOWING=cocoa - ARCHITECTURE=x86_64 - ;; - *) - echo "[ERROR] Not supported Target OS" - exit 1 - ;; - esac -} - -createAntBuildFile() -{ - cp ${BUILDER_DIR}/build.properties.clean ${BUILD_DIR} - cp ${BUILDER_DIR}/customTargets.xml ${BUILD_DIR} - - sed -e "s;\(^buildDirectory=\).*;\1${BUILD_DIR};g" \ - -e "s;\(^base=\).*;\1${ECLIPSE_DIR}/..;g" \ - -e "s;\(^baseLocation=\).*;\1${ECLIPSE_DIR};g" \ - -e "s;\(^configs=\).*;\1${PLATFORM},${WINDOWING},${ARCHITECTURE};g" \ - -e "s;\(^buildType=\).*;\1${BUILD_TYPE};g" \ - -e "s;\(^buildId=\).*;\1${BUILD_ID};g" \ - -e "s;\(^archivePrefix=\).*;\1${BUILD_ID};g" \ - < ${BUILD_DIR}/build.properties.clean > ${BUILD_DIR}/build.properties -} - -clean() -{ - echo "========================================= CLEAN ============================================" - rm -rf ${SRCDIR}/*.zip - rm -rf ${SRCDIR}/*.tar.gz - - if [ -d ${INSTALL_DIR} ] - then - rm -rf ${INSTALL_DIR} - else - echo "nothing" - fi - - rm -rf ${BUILD_DIR} - echo "========================================= CLEAN ============================================" -} - -build() -{ - echo "========================================= BUILD PLUGIN======================================" - - mkdir -p ${BUILD_DIR} - mkdir -p ${BUILD_DIR}/plugins - mkdir -p ${BUILD_DIR}/features - - - # Setting build environment - # Copy dependency plugin - cp -r ${ROOTDIR}/ide/features/* ${BUILD_DIR}/features - cp -r ${ROOTDIR}/ide/plugins/* ${BUILD_DIR}/plugins - - # Copy sources to BUILD_DIR - cp -r ${SRCDIR}/*.feature ${BUILD_DIR}/features - cp -r ${SRCDIR}/org.tizen.webuibuilder* ${BUILD_DIR}/plugins - rm -rf ${BUILD_DIR}/plugins/*.feature - - setTargetOs - createAntBuildFile - __modify_about_mappings_file - - echo "Execute Product Ant Builder..." - java -XX:+UseParNewGC -jar ${ECLIPSE_DIR}/plugins/`echo org.eclipse.equinox.launcher_*.jar` \ - -application org.eclipse.ant.core.antRunner \ - -buildfile ${ECLIPSE_DIR}/plugins/`echo org.eclipse.pde.build_*`/scripts/productBuild/productBuild.xml \ - -Dbuilder=${BUILD_DIR} \ - -Dosgi.locking=none 2>&1 - unzip -a ${BUILD_RESULT_DIR}/${BUILD_ID}-${PLATFORM}.${WINDOWING}.${ARCHITECTURE}.zip \ - -d ${BUILD_RESULT_DIR}/${PLATFORM}.${WINDOWING}.${ARCHITECTURE} - echo "Build SUCCESS. You will find SDK IDE in \"${BUILD_RESULT_DIR}\"." - - echo "========================================= BUILD PLUGIN======================================" -} - -__modify_about_mappings_file() -{ - echo "========================================= about mapping ============================================" - branding_plugin=`grep "topLevelElementId=" ${build_path}/build.properties | cut -f2 -d"="` - branding_paths=`grep "plugin=" ${build_path}/features/${branding_plugin}/feature.xml | cut -f2 -d"\""` - - ## Bugfix : get a first element only - for branding_path in ${branding_paths}; do - break; - done - - build_time=`date +%Y%m%d-%H%M` - about_mapping_path="${build_path}/plugins/${branding_path}/about.mappings" - about_build_time_parameter="1" - sed -e "s;\(^${about_build_time_parameter}=\).*;\1${build_time};g" \ - < ${about_mapping_path} > ${about_mapping_path}.mod - mv ${about_mapping_path}.mod ${about_mapping_path} -} - -install() -{ - echo "========================================= INSTALL PLUGIN==========================================" - - setTargetOs - mkdir -p ${INSTALL_DIR}/data/ide - cp -rf ${BUILD_RESULT_DIR}/${PLATFORM}.${WINDOWING}.${ARCHITECTURE}/${PACKAGE_NAME}/* \ - ${INSTALL_DIR}/data/ide - - LIBRARY_INSTALL_DIR=${INSTALL_DIR}/data/library/qt - mkdir -p ${LIBRARY_INSTALL_DIR} - - case ${TARGET_OS} in - ubuntu-32) - cp -rf libraries/ubuntu-32/* ${LIBRARY_INSTALL_DIR} - ;; - ubuntu-64) - cp -rf libraries/ubuntu-64/* ${LIBRARY_INSTALL_DIR} - ;; - windows-32) - cp -rf libraries/windows-32/* ${LIBRARY_INSTALL_DIR} - ;; - windows-64) - cp -rf libraries/windows-64/* ${LIBRARY_INSTALL_DIR} - ;; - macos-64) - cp -rf libraries/macos-64/* ${LIBRARY_INSTALL_DIR} - cp -rf ${SRCDIR}/package/adding_files/macos/* ${INSTALL_DIR}/data/ - ;; - *) - echo "[ERROR] Not supported Target OS" - exit 1 - ;; - esac - - echo "========================================= INSTALL PLUGIN==========================================" -} - -[ "$1" = "clean" ] && clean -[ "$1" = "build" ] && build -[ "$1" = "install" ] && install -exit 0 diff --git a/package/web-ui-builder-eplugin.install.ubuntu-64 b/package/web-ui-builder-eplugin.install.ubuntu-64 deleted file mode 100755 index bb90869..0000000 --- a/package/web-ui-builder-eplugin.install.ubuntu-64 +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -## [ Install Manager's reserved word ] -## - MAKESHORTCUT_PATH -## - REMOVE_SHORTCUT -## - INSTALLED_PATH -## - USER_DATA_PATH - -## Check Ubuntu version -UBUNTU_VERSION=`lsb_release -a | grep Release | cut -f 2 -d ' '` - -## Move appropriate Qt libraries and remove remains -case ${UBUNTU_VERSION} in - 11.10) - mv ${INSTALLED_PATH}/library/qt/11.10/* ${INSTALLED_PATH}/library/qt/ - ;; - *) - mv ${INSTALLED_PATH}/library/qt/12.10/* ${INSTALLED_PATH}/library/qt/ - ;; -esac -rm -rf ${INSTALLED_PATH}/library/qt/11.10/ -rm -rf ${INSTALLED_PATH}/library/qt/12.10/ -exit 0