code string | repo_name string | path string | language string | license string | size int64 |
|---|---|---|---|---|---|
package com.api.client;
import java.util.Map;
public interface RequestFactory {
public Request newRequest(Service service, Map<String, Object> pathParams, Map<String, Object> params);
}
| zyncro-web-automation | branches/src/main/java/com/api/client/RequestFactory.java | Java | mit | 198 |
package com.api.client;
public enum Method {
GET,POST,PUT,DELETE
} | zyncro-web-automation | branches/src/main/java/com/api/client/Method.java | Java | mit | 75 |
package com.api.client;
public class ApiConfig {
private String requestEndpoint;
private String authorizationUrl;
private String accessEndpoint;
public String getRequestEndpoint() {
return requestEndpoint;
}
public void setRequestEndpoint(String requestEndpoint) {
this.requestEndpoint =... | zyncro-web-automation | branches/src/main/java/com/api/client/ApiConfig.java | Java | mit | 709 |
package com.api.client;
import java.util.List;
import com.api.client.json.ApiResultType;
public class ServiceImp implements Service{
private VariablePath path;
private Method method;
private List<String> requiredParameters;
private List<String> optionalParameters;
private ApiResultTy... | zyncro-web-automation | branches/src/main/java/com/api/client/ServiceImp.java | Java | mit | 1,425 |
package com.api.client;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ServiceRequestImp implements ServiceRequest{
private Service service;
private ApiClient apiClient;
private Map<String, Object> pathParams = new HashMap<String, Object>();
private Map<... | zyncro-web-automation | branches/src/main/java/com/api/client/ServiceRequestImp.java | Java | mit | 1,324 |
package com.api.client.json;
import java.lang.reflect.Type;
import com.google.gson.reflect.TypeToken;
import com.zyncro.user.ZyncroDepartment;
import com.zyncro.user.ZyncroGroup;
public enum ApiResultType{
PAGED_GROUPS(new TypeToken<ApiPagedResult<ZyncroGroup>>() {}.getType()),
PAGED_DEPARTMENTS(new ... | zyncro-web-automation | branches/src/main/java/com/api/client/json/ApiResultType.java | Java | mit | 603 |
package com.api.client.json;
import java.util.List;
public class ApiPagedResult<E> {
public static enum ApiResultStatus{
OK
}
private List<E> elements;
private ApiResultStatus result;
private int totalItems;
private int pageNumbers;
public List<E> getElements(){
return elements;... | zyncro-web-automation | branches/src/main/java/com/api/client/json/ApiPagedResult.java | Java | mit | 512 |
package com.api.client.json;
import com.api.client.json.ApiPagedResult.ApiResultStatus;
public class ApiObjectResult<T> {
private T object;
private ApiResultStatus result;
private Object value;
public T getObject() {
return object;
}
public ApiResultStatus getResult() {
return result... | zyncro-web-automation | branches/src/main/java/com/api/client/json/ApiObjectResult.java | Java | mit | 385 |
package com.api.client;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
public class VariablePath {
private static final String LEFT_REF = "{";
private static final String RIGHT_REF = "}";
private final List<String> vars = new ArrayList<Strin... | zyncro-web-automation | branches/src/main/java/com/api/client/VariablePath.java | Java | mit | 2,067 |
package com.api.client.imp;
import org.scribe.builder.api.Api;
import org.scribe.builder.api.DefaultApi10a;
import org.scribe.model.OAuthConfig;
import org.scribe.model.OAuthRequest;
import org.scribe.model.Token;
import org.scribe.model.Verb;
import org.scribe.model.Verifier;
import org.scribe.oauth.OAuthSer... | zyncro-web-automation | branches/src/main/java/com/api/client/imp/OAuthProvider.java | Java | mit | 1,817 |
package com.api.client.imp;
import java.util.Map;
import org.scribe.model.OAuthRequest;
import org.scribe.model.Verb;
import com.api.client.Method;
import com.api.client.Request;
import com.api.client.RequestFactory;
import com.api.client.Service;
import com.api.client.VariablePath;
public class OAut... | zyncro-web-automation | branches/src/main/java/com/api/client/imp/OAuthRequestFactory.java | Java | mit | 1,282 |
package com.api.client.imp;
import com.api.client.Response;
import com.api.client.ResponseStatus;
final class ResponseImp implements Response{
private final org.scribe.model.Response response;
private final ResponseStatus status;
ResponseImp(org.scribe.model.Response response){
this.respons... | zyncro-web-automation | branches/src/main/java/com/api/client/imp/ResponseImp.java | Java | mit | 593 |
package com.api.client.imp;
import java.util.Map;
import org.scribe.model.OAuthRequest;
import com.api.client.Method;
import com.api.client.Request;
import com.api.client.Response;
import com.app.AppContext;
public class RequestImp implements Request{
private static OAuthSigner signer = AppContext.ge... | zyncro-web-automation | branches/src/main/java/com/api/client/imp/RequestImp.java | Java | mit | 1,055 |
package com.api.client.imp;
import org.scribe.builder.api.Api;
import org.scribe.builder.api.DefaultApi10a;
import org.scribe.model.OAuthConfig;
import org.scribe.model.OAuthRequest;
import org.scribe.model.Token;
import org.scribe.oauth.OAuthService;
public class OAuthSignerImp implements OAuthSigner{
p... | zyncro-web-automation | branches/src/main/java/com/api/client/imp/OAuthSignerImp.java | Java | mit | 1,089 |
package com.api.client.imp;
import org.scribe.model.OAuthRequest;
public interface OAuthSigner {
public void sign(OAuthRequest request, String accessKey, String accessSecret);
}
| zyncro-web-automation | branches/src/main/java/com/api/client/imp/OAuthSigner.java | Java | mit | 190 |
package com.api.client.log;
import org.apache.log4j.Logger;
import com.api.client.Request;
import com.api.client.Response;
public class ApiLogger {
private static final Logger logger = Logger.getLogger("Api_Request");
public static void logRequest(Request request) {
String str = "SENT HTTP Requ... | zyncro-web-automation | branches/src/main/java/com/api/client/log/ApiLogger.java | Java | mit | 1,268 |
package com.api.client.log;
import com.api.client.Request;
import com.api.client.Response;
import com.api.client.imp.RequestImp;
public aspect LogRequest {
before(Request request) : execution(* RequestImp.send()) && target(request) && args(){
ApiLogger.logRequest(request);
}
after(Request req... | zyncro-web-automation | branches/src/main/java/com/api/client/log/LogRequest.aj | AspectJ | mit | 904 |
package com.api.client;
public class AccessKeys {
private String key;
private String secret;
public AccessKeys(String accessKey, String accessSecret){
this.key = accessKey;
this.secret = accessSecret;
}
public String getKey() {
return key;
}
public void setKey(String key) {
... | zyncro-web-automation | branches/src/main/java/com/api/client/AccessKeys.java | Java | mit | 476 |
package com.api.client;
public interface ApiProvider {
public AccessKeys getAccessKeys(String email, String password);
}
| zyncro-web-automation | branches/src/main/java/com/api/client/ApiProvider.java | Java | mit | 130 |
package com.mail;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.mail.Folder;
import javax.mail.Message... | zyncro-web-automation | branches/src/main/java/com/mail/GmailPopMail.java | Java | mit | 3,528 |
package com.app;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
public abstract class AnnFieldPopulator<E, T extends Annotation>{
private Class<T> annClass;
public AnnFieldPopulator(Class<T> annClass){
this.annClass = annClass;
}
public void populateInstance(Object in... | zyncro-web-automation | branches/src/main/java/com/app/AnnFieldPopulator.java | Java | mit | 1,902 |
package com.app;
import org.apache.log4j.PropertyConfigurator;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public final class AppContext {
public static final String APP_CONTEXT_FILE = "classpath:/config/applicationContext... | zyncro-web-automation | branches/src/main/java/com/app/AppContext.java | Java | mit | 1,070 |
package com.web.model.element;
import com.web.model.WebElement;
public interface WebTextField extends WebElement {
public void sendKeys(CharSequence keysToSend);
public void submit();
}
| zyncro-web-automation | branches/src/main/java/com/web/model/element/WebTextField.java | Java | mit | 203 |
package com.web.model.element;
import com.web.model.WebElement;
public interface WebCheckBox extends WebElement {
public void check();
public void uncheck();
public boolean isSelected();
}
| zyncro-web-automation | branches/src/main/java/com/web/model/element/WebCheckBox.java | Java | mit | 211 |
package com.web.model.element;
import com.web.model.WebElement;
import com.web.model.WebPage;
public interface ElementFactory {
public <T extends WebElement> T getElement(Class<T> type, String id);
public void initElements(WebPage page);
}
| zyncro-web-automation | branches/src/main/java/com/web/model/element/ElementFactory.java | Java | mit | 258 |
package com.web.model.element;
import com.web.model.WebElement;
public interface WebButton extends WebElement{
public void click();
}
| zyncro-web-automation | branches/src/main/java/com/web/model/element/WebButton.java | Java | mit | 149 |
package com.web.model.element;
import com.web.model.WebElement;
public interface WebLink extends WebElement{
public void click();
}
| zyncro-web-automation | branches/src/main/java/com/web/model/element/WebLink.java | Java | mit | 144 |
package com.web.model;
public interface PageBrowser extends WebBrowser{
public void executeScript(String script);
}
| zyncro-web-automation | branches/src/main/java/com/web/model/PageBrowser.java | Java | mit | 125 |
package com.web.model;
public enum BrowserType {
FIREFOX, INTERNET_EXPLORER, CHROME, HTML_UNIT;
}
| zyncro-web-automation | branches/src/main/java/com/web/model/BrowserType.java | Java | mit | 107 |
package com.web.model;
public interface WebElement {
}
| zyncro-web-automation | branches/src/main/java/com/web/model/WebElement.java | Java | mit | 62 |
package com.web.model;
public interface WebBrowser {
public <T extends WebPage> T open(Class<T> pageClass);
public void quit();
public ScreenShot takeScreenShot();
public boolean isTitlePresent(String title);
public boolean isTextPresent(String title);
public void deleteCookies();
p... | zyncro-web-automation | branches/src/main/java/com/web/model/WebBrowser.java | Java | mit | 349 |
package com.web.model;
public interface PageFactory {
public <T extends WebPage> T newPage(Class<T> pageClass, WebBrowser browser);
}
| zyncro-web-automation | branches/src/main/java/com/web/model/PageFactory.java | Java | mit | 144 |
package com.web.model;
public interface BrowserFactory {
public PageBrowser newBrowser();
public PageBrowser newBrowser(BrowserType browserType);
}
| zyncro-web-automation | branches/src/main/java/com/web/model/BrowserFactory.java | Java | mit | 162 |
package com.web.model;
public interface WebPage {
public String getUrl();
}
| zyncro-web-automation | branches/src/main/java/com/web/model/WebPage.java | Java | mit | 86 |
package com.web.model;
import java.io.File;
import java.io.IOException;
import java.util.Date;
import org.apache.commons.io.FileUtils;
public class ScreenShot {
private File screenshot;
public ScreenShot(File screenshot){
if(screenshot != null){
this.screenshot = screenshot;
}
el... | zyncro-web-automation | branches/src/main/java/com/web/model/ScreenShot.java | Java | mit | 1,103 |
package com.web.selenium.element;
import org.openqa.selenium.WebElement;
import com.web.model.element.WebTextField;
public class SeleniumTextField implements WebTextField{
private WebElement element;
public SeleniumTextField(WebElement element){
this.element = element;
}
public void sen... | zyncro-web-automation | branches/src/main/java/com/web/selenium/element/SeleniumTextField.java | Java | mit | 454 |
package com.web.selenium.element;
import org.openqa.selenium.WebElement;
import com.web.model.element.WebButton;
public class SeleniumButton implements WebButton{
private WebElement element;
public SeleniumButton(WebElement element) {
this.element = element;
}
public void click() {
element.c... | zyncro-web-automation | branches/src/main/java/com/web/selenium/element/SeleniumButton.java | Java | mit | 336 |
package com.web.selenium.element;
import org.openqa.selenium.WebElement;
import com.web.model.element.WebCheckBox;
public class SeleniumCheckBox implements WebCheckBox{
private WebElement element;
public SeleniumCheckBox(WebElement element){
this.element = element;
}
public void check() {... | zyncro-web-automation | branches/src/main/java/com/web/selenium/element/SeleniumCheckBox.java | Java | mit | 535 |
package com.web.selenium.element;
import org.openqa.selenium.WebElement;
import com.web.model.element.WebLink;
public class SeleniumLink implements WebLink{
private WebElement element;
public SeleniumLink(WebElement element) {
this.element = element;
}
public void click() {
element.c... | zyncro-web-automation | branches/src/main/java/com/web/selenium/element/SeleniumLink.java | Java | mit | 336 |
package com.web.selenium;
import java.io.File;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.TimeoutException;
import org.openqa.selenium.WebDriver;
import org.openqa... | zyncro-web-automation | branches/src/main/java/com/web/selenium/SeleniumWebBrowser.java | Java | mit | 3,267 |
package com.web.selenium;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import com.web.model.BrowserFactory;
impo... | zyncro-web-automation | branches/src/main/java/com/web/selenium/SeleniumFactory.java | Java | mit | 1,622 |
package com.web.selenium;
import com.web.imp.ElementPopulator;
import com.web.model.WebElement;
import com.web.model.WebPage;
import com.web.model.element.ElementFactory;
import com.web.model.element.WebButton;
import com.web.model.element.WebCheckBox;
import com.web.model.element.WebLink;
import com.web.mode... | zyncro-web-automation | branches/src/main/java/com/web/selenium/SeleniumElementFactory.java | Java | mit | 1,640 |
package com.web.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface PageUrl {
public String value();
}... | zyncro-web-automation | branches/src/main/java/com/web/annotations/PageUrl.java | Java | mit | 322 |
package com.web.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Copy {
String id();
}
| zyncro-web-automation | branches/src/main/java/com/web/annotations/Copy.java | Java | mit | 311 |
package com.web.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface PageElement {
public String id();
... | zyncro-web-automation | branches/src/main/java/com/web/annotations/PageElement.java | Java | mit | 324 |
package com.web.imp;
import com.web.model.WebBrowser;
import com.web.model.WebPage;
public abstract class AbstractWebPage implements WebPage{
protected String url;
protected WebBrowser browser;
void setUrl(String url){
this.url = url;
}
void setBrowser(WebBrowser browser){
this.browser... | zyncro-web-automation | branches/src/main/java/com/web/imp/AbstractWebPage.java | Java | mit | 388 |
package com.web.imp;
import com.web.annotations.PageUrl;
import com.web.lang.LanguageConfigBean;
import com.web.lang.LanguagePopulator;
import com.web.model.PageFactory;
import com.web.model.WebBrowser;
import com.web.model.WebPage;
public class PageFactoryImp implements PageFactory{
private LanguagePopu... | zyncro-web-automation | branches/src/main/java/com/web/imp/PageFactoryImp.java | Java | mit | 1,477 |
package com.web.imp;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import com.app.AppContext;
import com.web.listeners.imp.UserPopulator;
import com.web.model.BrowserFactory;
import com.web.model.PageBrowser;
import com.web.model.WebBrowser;
import com.zyncro.user.Zync... | zyncro-web-automation | branches/src/main/java/com/web/imp/AbstractWebTest.java | Java | mit | 1,469 |
package com.web.imp;
import java.lang.reflect.Field;
import com.app.AnnFieldPopulator;
import com.web.annotations.PageElement;
import com.web.model.WebElement;
import com.web.model.element.ElementFactory;
public class ElementPopulator extends AnnFieldPopulator<WebElement, PageElement>{
private ElementFa... | zyncro-web-automation | branches/src/main/java/com/web/imp/ElementPopulator.java | Java | mit | 839 |
package com.web.lang;
import java.lang.reflect.Field;
import com.app.AnnFieldPopulator;
import com.web.annotations.Copy;
public class LanguagePopulator extends AnnFieldPopulator<String, Copy>{
private TMXResourceBundle tmxResource;
public LanguagePopulator(LanguageConfigBean languageConfig) {
supe... | zyncro-web-automation | branches/src/main/java/com/web/lang/LanguagePopulator.java | Java | mit | 828 |
package com.web.lang;
public class LanguageConfigBean {
private Language language;
private String languageFile;
public String getLanguageFile() {
return languageFile;
}
public void setLanguageFile(String languageFile) {
this.languageFile = languageFile;
}
public Language getLanguage() ... | zyncro-web-automation | branches/src/main/java/com/web/lang/LanguageConfigBean.java | Java | mit | 432 |
package com.web.lang;
public enum Language {
ES, EN, IT, CA, BR, GR, JP, FR
}
| zyncro-web-automation | branches/src/main/java/com/web/lang/Language.java | Java | mit | 87 |
package com.web.lang;
import com.app.AppContext;
public class LanguageConfig {
private static final LanguageConfigBean config = AppContext.getBean(LanguageConfigBean.class);
public static Language getLanguage(){
return config.getLanguage();
}
}
| zyncro-web-automation | branches/src/main/java/com/web/lang/LanguageConfig.java | Java | mit | 271 |
package com.web.lang;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.Enumeration;
import java.ut... | zyncro-web-automation | branches/src/main/java/com/web/lang/TMXResourceBundle.java | Java | mit | 10,866 |
package com.web.listeners;
import org.testng.ITestResult;
import org.testng.TestListenerAdapter;
import com.app.AppContext;
import com.spira.SpiraTestRecorder;
import com.spira.SpiraTestRun;
import com.spira.SpiraUser;
import com.web.listeners.imp.TestRunFactory;
public class SpiraTestListener extends Tes... | zyncro-web-automation | branches/src/main/java/com/web/listeners/SpiraTestListener.java | Java | mit | 909 |
package com.web.listeners;
import org.testng.ISuite;
import org.testng.ISuiteListener;
public class WebSuiteListeners implements ISuiteListener {
public void onStart(ISuite suite) {
}
public void onFinish(ISuite suite) {
}
}
| zyncro-web-automation | branches/src/main/java/com/web/listeners/WebSuiteListeners.java | Java | mit | 254 |
package com.web.listeners.imp;
public class ScreenshotConfig{
private String screenShotsFilePath;
public String getScreenShotsFilePath() {
return screenShotsFilePath;
}
public void setScreenShotsFilePath(String screenShotsFilePath) {
this.screenShotsFilePath = screenShotsFilePath;
}
}
| zyncro-web-automation | branches/src/main/java/com/web/listeners/imp/ScreenshotConfig.java | Java | mit | 313 |
package com.web.listeners.imp;
import org.testng.IClass;
import org.testng.ITestResult;
import com.spira.SpiraTest;
import com.spira.SpiraTestInfo;
import com.spira.SpiraTestRun;
import com.spira.SpiraTestStatus;
public class TestRunFactory {
private TestRunFactory(){}
public static SpiraTestRun n... | zyncro-web-automation | branches/src/main/java/com/web/listeners/imp/TestRunFactory.java | Java | mit | 1,315 |
package com.web.listeners.imp;
import java.lang.reflect.Field;
import com.app.AnnFieldPopulator;
import com.zyncro.user.User;
import com.zyncro.user.ZyncroUser;
import com.zyncro.user.ZyncroUserFactory;
public class UserPopulator extends AnnFieldPopulator<ZyncroUser, User>{
private ZyncroUserFactory use... | zyncro-web-automation | branches/src/main/java/com/web/listeners/imp/UserPopulator.java | Java | mit | 673 |
package com.web.listeners;
import org.testng.IClass;
import org.testng.ITestNGMethod;
import org.testng.ITestResult;
import org.testng.TestListenerAdapter;
import com.app.AppContext;
import com.web.imp.AbstractWebTest;
import com.web.listeners.imp.ScreenshotConfig;
import com.web.model.ScreenShot;
import c... | zyncro-web-automation | branches/src/main/java/com/web/listeners/ScreenShotListener.java | Java | mit | 1,344 |
package com.spira;
public interface SpiraTestRecorder {
public abstract void sendTestRun(SpiraUser user, SpiraTestRun testRun);
} | zyncro-web-automation | branches/src/main/java/com/spira/SpiraTestRecorder.java | Java | mit | 139 |
package com.spira;
public class SpiraUser {
private String userName;
private String userPassword;
private int userId;
public SpiraUser(){}
public SpiraUser(String userName, String userPassword, int userId) {
super();
this.userName = userName;
this.userPassword = userPassword;
this... | zyncro-web-automation | branches/src/main/java/com/spira/SpiraUser.java | Java | mit | 769 |
package com.spira;
public class SpiraRunnerConfig {
private String host;
private String runnerName;
private int projectId;
public int getProjectId() {
return projectId;
}
public void setProjectId(int projectId) {
this.projectId = projectId;
}
public int getReleaseId() {
return ... | zyncro-web-automation | branches/src/main/java/com/spira/SpiraRunnerConfig.java | Java | mit | 713 |
package com.spira.imp;
import java.io.IOException;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.BasicResponseHandler;
import org.apache.http.impl.client.DefaultHttpClient;
import... | zyncro-web-automation | branches/src/main/java/com/spira/imp/SpiraTestRecorderImp.java | Java | mit | 4,194 |
package com.spira;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface SpiraTest {
int testId();
String name();... | zyncro-web-automation | branches/src/main/java/com/spira/SpiraTest.java | Java | mit | 358 |
package com.spira;
public class SpiraTestInfo {
private String name;
private String message;
private String stackTrace;
public SpiraTestInfo(){}
public SpiraTestInfo(String name, String message, String stackTrace){
this.name = name;
this.message = message;
this.stackTrace... | zyncro-web-automation | branches/src/main/java/com/spira/SpiraTestInfo.java | Java | mit | 739 |
package com.spira;
public class SpiraSoapConfig {
private String wsdlUrl;
private String soapAction;
private String apiVersionUrl;
public String getWsdlUrl() {
return wsdlUrl;
}
public String getApiVersionUrl() {
return apiVersionUrl;
}
public String getRecordTestSoapAction(){
... | zyncro-web-automation | branches/src/main/java/com/spira/SpiraSoapConfig.java | Java | mit | 614 |
package com.spira;
public enum SpiraTestStatus{
PASS(2), FAIL(1);
private final int code;
private SpiraTestStatus(int code){
this.code = code;
}
public int getCode() {
return code;
}
} | zyncro-web-automation | branches/src/main/java/com/spira/SpiraTestStatus.java | Java | mit | 222 |
package com.spira;
public class SpiraTestRun {
private int testId;
private SpiraTestStatus status;
private SpiraTestInfo info;
public SpiraTestRun(){}
public SpiraTestRun(int testId, SpiraTestStatus status, SpiraTestInfo info){
this.testId = testId;
this.status = status;
th... | zyncro-web-automation | branches/src/main/java/com/spira/SpiraTestRun.java | Java | mit | 1,032 |
package com.spira;
import java.util.Date;
import java.util.GregorianCalendar;
import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeConstants;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.XMLGregorianCalendar;
public class XmlDate {
public s... | zyncro-web-automation | branches/src/main/java/com/spira/XmlDate.java | Java | mit | 961 |
package com.zyncro.user;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class ZyncroUserFactory {
private ApplicationContext context;
public ZyncroUserFactory(String usersLocation){
String[] contextLocation... | zyncro-web-automation | branches/src/main/java/com/zyncro/user/ZyncroUserFactory.java | Java | mit | 531 |
package com.zyncro.user;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface User {
public String id();
}
| zyncro-web-automation | branches/src/main/java/com/zyncro/user/User.java | Java | mit | 313 |
package com.zyncro.user;
import java.util.List;
public interface ZyncroOrganization {
public String getName();
public ZyncroUser getMainAdmin();
public List<ZyncroUser> getUsers();
public List<ZyncroGroup> getGroups();
public List<String> getDepatments();
}
| zyncro-web-automation | branches/src/main/java/com/zyncro/user/ZyncroOrganization.java | Java | mit | 290 |
package com.zyncro.user;
import java.util.HashMap;
import java.util.Map;
public class ZyncroUser{
private String email;
private String appId;
private String password;
private Map<String, Object> properties = new HashMap<String, Object>();
public String getEmail() {
return email;
}
publi... | zyncro-web-automation | branches/src/main/java/com/zyncro/user/ZyncroUser.java | Java | mit | 1,214 |
package com.zyncro.user;
public class ZyncroGroupMember {
private String userId;
private boolean isPublisher;
private boolean isCommenter;
private boolean isOwner;
private boolean isEditor;
private boolean isInviter;
private boolean isTaskManager;
private boolean isZlinkActive;
private String ... | zyncro-web-automation | branches/src/main/java/com/zyncro/user/ZyncroGroupMember.java | Java | mit | 1,895 |
package com.zyncro.user;
public class ZyncroDepartment {
}
| zyncro-web-automation | branches/src/main/java/com/zyncro/user/ZyncroDepartment.java | Java | mit | 66 |
package com.zyncro.user;
public class ZyncroGroup {
private String name;
private String shareGroupType;
private String urn;
private String appIdOwner;
private int memberCount;
private String description;
private String creationTime;
private String directoryIcon;
private String mailForNewThread;
... | zyncro-web-automation | branches/src/main/java/com/zyncro/user/ZyncroGroup.java | Java | mit | 1,047 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TestNG: Unit Test</title>
<style type="text/css">
table caption,table.info_table,table.param,table.passed,table.failed {margin-bottom:10px;border:1px solid #000... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/emailable-report.html | HTML | mit | 3,318 |
$(document).ready(function() {
$('a.navigator-link').click(function() {
// Extract the panel for this link
var panel = getPanelName($(this));
// Mark this link as currently selected
$('.navigator-link').parent().removeClass('navigator-selected');
$(this).parent().addClass('n... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/testng-reports.js | JavaScript | mit | 3,855 |
<html>
<head>
<title>TestNG: Default test</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.log { display: none;}
.stack-trace { display: none;}
</style>
<script type="text/javascript">
<!--
function flip... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/Default suite/Default test.html | HTML | mit | 2,074 |
.invocation-failed, .test-failed { background-color: #DD0000; }
.invocation-percent, .test-percent { background-color: #006600; }
.invocation-passed, .test-passed { background-color: #00AA00; }
.invocation-skipped, .test-skipped { background-color: #CCCC00; }
.main-page {
font-size: x-large;
}
| zyncro-web-automation | trunk/zyncro-web-testing/test-output/testng.css | CSS | mit | 312 |
<!DOCTYPE html>
<html>
<head>
<title>TestNG new reports</title>
<link type="text/css" href="testng-reports.css" rel="stylesheet" />
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="testng-reports.js"></script>
<script type="text/javascript" s... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/index.html | HTML | mit | 16,142 |
body {
margin: 0px 0px 5px 5px;
}
ul {
margin: 0px;
}
li {
list-style-type: none;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.navigator-selected {
background: #ffa500;
}
.wrapper {
overflow: hidden;
}
.navigator-root {
margin-top: 60px;
float: left;... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/testng-reports.css | CSS | mit | 4,896 |
<html>
<head>
<title>TestNG: Web Tests</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.log { display: none;}
.stack-trace { display: none;}
</style>
<script type="text/javascript">
<!--
function flip(e)... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/Suite/Web Tests.html | HTML | mit | 2,472 |
<html><head><title>testng.xml for Default suite</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?>
<br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<br/><suite name="Default suite">
<br/> <test verbose="2" name="Defa... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/testng.xml.html | HTML | mit | 724 |
<h2>Methods that were not run</h2><table>
</table> | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/methods-not-run.html | HTML | mit | 50 |
<html>
<head>
<title>Results for Default suite</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h3><p align="center">Results for<br/><em>Default suite</em></p></h3>
<table border='1' width='100%'>
<tr valign='top'>
<... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/toc.html | HTML | mit | 1,174 |
<table border='1'>
<tr>
<th>Class name</th>
<th>Method name</th>
<th>Groups</th>
</tr><tr>
<td>com.web.test.TestChangeUrl</td>
<td> </td><td> </td></tr>
<tr>
<td align='center' colspan='3'>@Test</td>
</tr>
<tr>
<td> </td>
<td>goToExternalPageWithoutLogOut</td>
<td> </td></tr>
<tr>
<td align='center'... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/classes.html | HTML | mit | 608 |
<h2>Reporter output</h2><table></table> | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/reporter-output.html | HTML | mit | 39 |
<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
<table border="1">
<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration<... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/methods.html | HTML | mit | 1,438 |
<h2>Groups used for this test run</h2> | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/groups.html | HTML | mit | 38 |
<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>Default suite</em><p/><small><i>(Hover the method name to see the test class name)</i></small><p/>
<table border="1">
<tr><th>Time</th><th>Delta (ms)</th><th>Suite<br>configuration</th><th>Test<br>configuration<... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/methods-alphabetical.html | HTML | mit | 1,440 |
<html><head><title>Results for Default suite</title></head>
<frameset cols="26%,74%">
<frame src="toc.html" name="navFrame">
<frame src="main.html" name="mainFrame">
</frameset>
</html>
| zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/index.html | HTML | mit | 186 |
<html><head><title>Results for Default suite</title></head>
<body>Select a result on the left-hand pane.</body></html>
| zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Default suite/main.html | HTML | mit | 119 |
<html>
<head><title>Test results</title><link href="./testng.css" rel="stylesheet" type="text/css" />
<link href="./my-testng.css" rel="stylesheet" type="text/css" />
</head><body>
<h2><p align='center'>Test results</p></h2>
<table border='1' width='100%' class='main-page'><tr><th>Suite</th><th>Passed</th><th>Failed</t... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/index.html | HTML | mit | 707 |
<html><head><title>testng.xml for Suite</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?>
<br/><!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<br/><suite name="Suite" parallel="none">
<br/> <test name="Web Tests" ... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Suite/testng.xml.html | HTML | mit | 882 |
<h2>Methods that were not run</h2><table>
</table> | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Suite/methods-not-run.html | HTML | mit | 50 |
<html>
<head>
<title>Results for Suite</title>
<link href="../testng.css" rel="stylesheet" type="text/css" />
<link href="../my-testng.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h3><p align="center">Results for<br/><em>Suite</em></p></h3>
<table border='1' width='100%'>
<tr valign='top'>
<td>1 test</td>
<... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Suite/toc.html | HTML | mit | 1,155 |
<table border='1'>
<tr>
<th>Class name</th>
<th>Method name</th>
<th>Groups</th>
</tr><tr>
<td>com.web.test.TestChangeUrl</td>
<td> </td><td> </td></tr>
<tr>
<td align='center' colspan='3'>@Test</td>
</tr>
<tr>
<td> </td>
<td>goToExternalPageWithoutLogOut</td>
<td> </td></tr>
<tr>
<td align='center'... | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Suite/classes.html | HTML | mit | 1,605 |
<h2>Reporter output</h2><table></table> | zyncro-web-automation | trunk/zyncro-web-testing/test-output/old/Suite/reporter-output.html | HTML | mit | 39 |