| Package | Description |
|---|---|
| org.wso2.carbon.integration.tests.common.utils |
| Modifier and Type | Method and Description |
|---|---|
void |
CarbonIntegrationBaseTest.copyFolder(File sourceFolder,
File destinationFolder)
Copy folders from a source to a destination
|
static boolean |
CarbonCommandToolsUtil.isScriptRunSuccessfully(String directory,
String[] cmdArray,
String expectedString)
This method is to execute commands and reading the logs to find the expected string.
|
static boolean |
CarbonCommandToolsUtil.isServerStartedUp(org.wso2.carbon.automation.engine.context.AutomationContext automationContext,
int portOffset)
This method to check whether server is up or not
This method wait for some time to check login status by checking the port and login
This will throw an exception if port is not open or couldn't login
|
static Process |
CarbonCommandToolsUtil.runScript(String directory,
String[] cmdArray)
This method is to execute commands and return the Process
|
static void |
CarbonCommandToolsUtil.serverShutdown(int portOffset)
This method is to shutdown carbon server
|
static void |
CarbonCommandToolsUtil.serverShutdown(String backendURL,
String userName,
String password,
int portOffset)
This method is to shutdown carbon server using admin credentials
|
Copyright © 2018 WSO2. All rights reserved.