Mercurial > hg > ThermostatQA
view src/org/thermostat/qa2/tests/CliClientDBModifWebStorageTest.java @ 203:a74aa91ab44c
Fixed setup/gnome-keyring/collections + added debugging
changes:
org.thermostat.qa2.framework.services.GnomeKeyring:
- changed way how gnome-keyring is started (+ now encrypted)
org.thermostat.qa2.framework.services.ShellService:
- fix for arguments with spaces
org.thermostat.qa2.framework.services.ThermostatAgent:
org.thermostat.qa2.framework.services.ThermostatGui:
org.thermostat.qa2.framework.services.ThermostatService:
org.thermostat.qa2.framework.services.ThermostatStorage:
- thermostat is now started with collection enabled when configured.
org.thermostat.qa2.framework.utils.FileUtilities:
- copyFile method now operates recursively on directories
org.thermostat.qa2.framework.utils.ProcessUtilities:
- new helper functions to run command witch collection enabled,
handle arguments with spaces
org.thermostat.qa2.framework.utils.ThermostatUtilities:
- fixed method performing thermostat setup
- new helper functions to get thermostat command line, passing of credentials
removed from shell helper function
org.thermostat.qa2.framework.NativeProcess:
- logging of command which has arguments with spaces fixed
org.thermostat.qa2.framework.TestRunner:
- changes related to thermostat setup, gnome-keyring startup
- added support for debugging
org.thermostat.qa2.framework.ThermostatQAConfig:
Makefile:
- support of new properties required for debugging, gnome-keyring,
collections support
org.thermostat.qa2.framework.tests.*:
- changes to tests which operate on thermostat shell,
credentials no longer needed (use keyring)
author | Zdenek Zambersky <zzambers@redhat.com> |
---|---|
date | Mon, 30 Nov 2015 19:08:04 +0100 |
parents | 1d7ab9111fd2 |
children |
line wrap: on
line source
/* ThermostatQA - test framework for Thermostat Monitoring Tool Copyright 2015 Red Hat, Inc. This file is part of ThermostatQA ThermostatQA is distributed under the GNU General Public License, version 2 or any later version (with a special exception described below, commonly known as the "Classpath Exception"). A copy of GNU General Public License (GPL) is included in this distribution, in the file COPYING. Linking ThermostatQA code with other modules is making a combined work based on ThermostatQA. Thus, the terms and conditions of the GPL cover the whole combination. As a special exception, the copyright holders of ThermostatQA give you permission to link this code with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on ThermostatQA code. If you modify ThermostatQA, you may extend this exception to your version of the software, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ package org.thermostat.qa2.tests; import org.thermostat.qa2.framework.annotations.SetupStorage; import org.thermostat.qa2.framework.annotations.RunGnomeKeyring; import org.thermostat.qa2.framework.annotations.RunStorage; import org.thermostat.qa2.framework.annotations.Test; /** * Test class ported from old framework * @author Zdeněk Žamberský */ @RunGnomeKeyring @RunStorage public class CliClientDBModifWebStorageTest { @Test @SetupStorage(type = "web", badClientLogin = true) public void badLogin() throws Exception { CliClientDBModificationsSmokeTest.cliDBTestBadLogin(); } @Test @SetupStorage(type = "web") public void addVMandSeeItInShellWeb() throws Exception { CliClientDBModificationsSmokeTest.cliDBTest(); } }