Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Initial code commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaihuludus committed Jul 7, 2016
0 parents commit e481121
Show file tree
Hide file tree
Showing 554 changed files with 45,684 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
target

/bb-aem-integration-tests/logs/default_*

.classpath
.project
.settings

*.iml
.idea
25 changes: 25 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Contributing to Bobcat
======================

Styleguides
-----------

### JAVA Styleguide

Use [Google Style][google-java-style] with following modifications:

1. line width: 100
2. preserve newlines (short lines may be more readable)
3. `@formatter:off` and `@formatter:on` disables and enables formatter
4. use eclipse imports order ([instructions for IntelliJ][eclipse-imports-order-in-intellij])

![imports order settings for IntelliJ][eclipse-imports-order-in-intellij-img]

#### Eclipse Formatter XML file

We provide [XML file for JAVA format][formatter-xml] that may be imported into Eclipse and IntelliJ.

[google-java-style]: https://google.github.io/styleguide/javaguide.html
[eclipse-imports-order-in-intellij]: http://stackoverflow.com/questions/14716283/is-it-possible-for-intellij-to-organize-imports-the-same-way-as-in-eclipse
[eclipse-imports-order-in-intellij-img]: contributing/intellij-imports-order.png
[formatter-xml]: contributing/eclipse-java-bobcat-style.xml
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
![Cognifide logo](http://cognifide.github.io/images/cognifide-logo.png)

# About Bobcat

## Purpose

## Features

## Prerequisites

## Installation

## Usage

# Commercial Support

# More documentation
17 changes: 17 additions & 0 deletions bb-aem-integration-tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
![Cognifide logo](http://cognifide.github.io/images/cognifide-logo.png)

# Bobcat AEM Integration tests

## Purpose

## Features

## Prerequisites

## Installation

## Usage

# Commercial Support

# More documentation
289 changes: 289 additions & 0 deletions bb-aem-integration-tests/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
#%L
Bobcat Parent
%%
Copyright (C) 2016 Cognifide Ltd.
%%
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.
#L%
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>bobcat-parent</artifactId>
<groupId>com.cognifide.qa.bb</groupId>
<version>0.9.3-SNAPSHOT</version>
</parent>

<artifactId>bb-aem-integration-tests</artifactId>

<name>Bobcat AEM Integration Tests</name>

<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>

<properties>
<runSuite>**/AuthorSuite.java,**/MiscSuite.java,**/MobileSuite.java</runSuite>
<c>src/main/config</c>
<configuration.paths>${c}/common;${c}/dev</configuration.paths>
<content.path>src/main/content</content.path>
<cucumber.version>1.1.5</cucumber.version>
</properties>

<dependencies>
<dependency>
<groupId>com.cognifide.qa.bb</groupId>
<artifactId>bb-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cognifide.qa.bb</groupId>
<artifactId>bb-aem-classic</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cognifide.qa.bb</groupId>
<artifactId>bb-reports</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cognifide.qa.bb</groupId>
<artifactId>bb-cumber</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cognifide.qa.bb</groupId>
<artifactId>bb-junit</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.cognifide.qa.bb</groupId>
<artifactId>bb-traffic</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
</dependency>

<dependency>
<groupId>com.googlecode.zohhak</groupId>
<artifactId>zohhak</artifactId>
<version>1.1.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.4.1</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>com.github.ekryd.sortpom</groupId>
<artifactId>sortpom-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<destFile>target/jacoco-it.exec</destFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
<configuration>
<systemPropertyVariables>
<webdriver.type>${webdriver.type}</webdriver.type>
<configuration.paths>${configuration.paths}</configuration.paths>
<content.path>${content.path}</content.path>
<thread.count>${thread.count}</thread.count>
</systemPropertyVariables>
<includes>
<include>${runSuite}</include>
</includes>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>aem61-integration</id>
<properties>
<configuration.paths>${c}/common;${c}/jenkins;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-android-galaxy-tab3</id>
<properties>
<configuration.paths>${c}/common;${c}/mobile-android-galaxy-tab3;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-android-galaxy-s5</id>
<properties>
<configuration.paths>${c}/common;${c}/mobile-android-galaxy-s5;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-android-nexus9</id>
<properties>
<configuration.paths>${c}/common;${c}/mobile-android-nexus9;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-android-emulator</id>
<properties>
<configuration.paths>${c}/common;${c}/mobile-android-emulator;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-iphone</id>
<properties>
<configuration.paths>${c}/common;${c}/mobile-iphone;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-ipad</id>
<properties>
<configuration.paths>${c}/common;${c}/mobile-ipad;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-iphone-emulator</id>
<properties>
<configuration.paths>${c}/common;${c}/mobile-iphone-emulator;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-chrome-emulator</id>
<properties>
<configuration.paths>${c}/common;${c}/mobile-chrome-emulator;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-integration-chrome</id>
<properties>
<configuration.paths>${c}/common;${c}/chrome;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-integration-ie</id>
<properties>
<configuration.paths>${c}/common;${c}/ie;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>aem61-integration-xvfb-firefox</id>
<properties>
<configuration.paths>${c}/common;${c}/xvfb-firefox;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>cbt-firefox</id>
<properties>
<configuration.paths>${c}/common;${c}/cbt-firefox;${c}/aem61-integration</configuration.paths>
</properties>
</profile>
<profile>
<id>mobile</id>
<properties>
<runSuite>**/MobileSuite.java</runSuite>
</properties>
</profile>
<profile>
<id>bobcumberAem</id>
<properties>
<test>**/bobcumber/**/*Test.java</test>
</properties>
</profile>

<profile>
<id>bb-core</id>
<properties>
<runSuite>**/BbCoreSuite.java</runSuite>
</properties>
</profile>
<profile>
<id>bb-aem-classic</id>
<properties>
<runSuite>**/BbAemClassicSuite.java</runSuite>
</properties>
</profile>
<profile>
<id>bb-aem-common</id>
<properties>
<runSuite>**/BbAemCommonSuite.java</runSuite>
</properties>
</profile>
<profile>
<id>bb-traffic</id>
<properties>
<runSuite>**/BbTrafficSuite.java</runSuite>
</properties>
</profile>
<profile>
<id>unstable</id>
<properties>
<runSuite>**/UnstableSuite.java</runSuite>
</properties>
</profile>
<profile>
<id>all-tests</id>
<properties>
<runSuite>**/BbCoreSuite.java,**/BbAemClassicSuite.java,**/BbAemCommonSuite.java,**/BbTrafficSuite.java</runSuite>
</properties>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
author.url=http://author.aem61.example.com
author.ip=http://192.168.1.123:4502
author.login=admin
author.password=password

publish.url=http://publish.aem61.example.com
publish.ip=http://192.168.1.123:4503
publish.login=admin
publish.password=password
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#+++ crossbrowsertesting.com Win8
webdriver.type = remote
webdriver.url =
webdriver.cap.name = Bobcat Mobile Suite
webdriver.cap.build = 1.1
webdriver.cap.browser_api_name = FF24
webdriver.cap.os_api_name = Win7x64-C1
webdriver.cap.screen_resolution = 1920x1080
webdriver.cap.record_video = false
webdriver.cap.record_network = false
webdriver.cap.record_snapshot = false
#+++ proxy setup
webdriver.secure.proxy.cookie = true
webdriver.secure.proxy.cookie_name = cookie_name_for_authorization
webdriver.secure.proxy.cookie_value = cookie_value_for_authorization
webdriver.secure.proxy.cookie_domain = aem61.example.com
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
webdriver.defaultTimeout=10
page.title.timeout=60
thread.count=1

# +++ Chrome +++
webdriver.type=chrome
webdriver.chrome.driver=C:/chromedriver.exe
Loading

0 comments on commit e481121

Please sign in to comment.