Skip to content

Commit 06c82ac

Browse files
Mavenising RealTimeReport project
1 parent 3a1f894 commit 06c82ac

File tree

64 files changed

+17717
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+17717
-82
lines changed

RealTimeReportTestNG/.classpath

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15+
<attributes>
16+
<attribute name="test" value="true"/>
17+
<attribute name="optional" value="true"/>
18+
<attribute name="maven.pomderived" value="true"/>
19+
</attributes>
20+
</classpathentry>
21+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
22+
<attributes>
23+
<attribute name="test" value="true"/>
24+
<attribute name="maven.pomderived" value="true"/>
25+
</attributes>
26+
</classpathentry>
27+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
28+
<attributes>
29+
<attribute name="maven.pomderived" value="true"/>
30+
</attributes>
31+
</classpathentry>
32+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
33+
<attributes>
34+
<attribute name="maven.pomderived" value="true"/>
35+
</attributes>
36+
</classpathentry>
37+
<classpathentry kind="output" path="target/classes"/>
38+
</classpath>

RealTimeReportTestNG/.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>RealTimeReportTestNG</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
</projectDescription>
Lines changed: 82 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,82 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.startingwithseleniumwebdriver.automation</groupId>
6-
<artifactId>realtime-report</artifactId>
7-
<version>v2.0</version>
8-
<name>RealTimeReportTestNG</name>
9-
<description>Real Time Reporting With TestNG</description>
10-
<dependencies>
11-
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
12-
<dependency>
13-
<groupId>org.testng</groupId>
14-
<artifactId>testng</artifactId>
15-
<version>7.1.0</version>
16-
</dependency>
17-
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
18-
<dependency>
19-
<groupId>org.seleniumhq.selenium</groupId>
20-
<artifactId>selenium-java</artifactId>
21-
<version>3.141.59</version>
22-
</dependency>
23-
<!-- https://mvnrepository.com/artifact/javax.xml/jaxb-impl -->
24-
<dependency>
25-
<groupId>javax.xml</groupId>
26-
<artifactId>jaxb-impl</artifactId>
27-
<version>2.1</version>
28-
</dependency>
29-
<!-- https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager -->
30-
<dependency>
31-
<groupId>io.github.bonigarcia</groupId>
32-
<artifactId>webdrivermanager</artifactId>
33-
<version>4.0.0</version>
34-
</dependency>
35-
<dependency>
36-
<groupId>org.uncommons</groupId>
37-
<artifactId>reportng</artifactId>
38-
<version>1.1.4</version>
39-
</dependency>
40-
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
41-
<dependency>
42-
<groupId>commons-io</groupId>
43-
<artifactId>commons-io</artifactId>
44-
<version>2.6</version>
45-
</dependency>
46-
</dependencies>
47-
<build>
48-
<plugins>
49-
<plugin>
50-
<groupId>org.apache.maven.plugins</groupId>
51-
<artifactId>maven-surefire-plugin</artifactId>
52-
<version>2.21.0</version>
53-
<configuration>
54-
<suiteXmlFiles>
55-
<suiteXmlFile>./src/test/resources/testNGXML/testng.xml/</suiteXmlFile>
56-
</suiteXmlFiles>
57-
</configuration>
58-
</plugin>
59-
<plugin>
60-
<groupId>org.apache.maven.plugins</groupId>
61-
<artifactId>maven-compiler-plugin</artifactId>
62-
<version>3.5.1</version>
63-
<configuration>
64-
<source>1.8</source>
65-
<target>1.8</target>
66-
</configuration>
67-
</plugin>
68-
<plugin>
69-
<groupId>org.apache.maven.plugins</groupId>
70-
<artifactId>maven-source-plugin</artifactId>
71-
<executions>
72-
<execution>
73-
<id>attach-sources</id>
74-
<goals>
75-
<goal>jar</goal>
76-
</goals>
77-
</execution>
78-
</executions>
79-
</plugin>
80-
</plugins>
81-
</build>
82-
</project>
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>com.startingwithseleniumwebdriver.automation</groupId>
6+
<artifactId>realtime-report</artifactId>
7+
<version>v2.0</version>
8+
<name>RealTimeReportTestNG</name>
9+
<description>Real Time Reporting With TestNG</description>
10+
<dependencies>
11+
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
12+
<dependency>
13+
<groupId>org.testng</groupId>
14+
<artifactId>testng</artifactId>
15+
<version>7.1.0</version>
16+
</dependency>
17+
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
18+
<dependency>
19+
<groupId>org.seleniumhq.selenium</groupId>
20+
<artifactId>selenium-java</artifactId>
21+
<version>3.141.59</version>
22+
</dependency>
23+
<!-- https://mvnrepository.com/artifact/javax.xml/jaxb-impl -->
24+
<dependency>
25+
<groupId>javax.xml</groupId>
26+
<artifactId>jaxb-impl</artifactId>
27+
<version>2.1</version>
28+
</dependency>
29+
<!-- https://mvnrepository.com/artifact/io.github.bonigarcia/webdrivermanager -->
30+
<dependency>
31+
<groupId>io.github.bonigarcia</groupId>
32+
<artifactId>webdrivermanager</artifactId>
33+
<version>4.0.0</version>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.uncommons</groupId>
37+
<artifactId>reportng</artifactId>
38+
<version>1.1.4</version>
39+
</dependency>
40+
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
41+
<dependency>
42+
<groupId>commons-io</groupId>
43+
<artifactId>commons-io</artifactId>
44+
<version>2.6</version>
45+
</dependency>
46+
</dependencies>
47+
<build>
48+
<plugins>
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-surefire-plugin</artifactId>
52+
<version>2.21.0</version>
53+
<configuration>
54+
<suiteXmlFiles>
55+
<suiteXmlFile>./src/test/resources/testNGXML/testng.xml/</suiteXmlFile>
56+
</suiteXmlFiles>
57+
</configuration>
58+
</plugin>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-compiler-plugin</artifactId>
62+
<version>3.5.1</version>
63+
<configuration>
64+
<source>1.8</source>
65+
<target>1.8</target>
66+
</configuration>
67+
</plugin>
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-source-plugin</artifactId>
71+
<executions>
72+
<execution>
73+
<id>attach-sources</id>
74+
<goals>
75+
<goal>jar</goal>
76+
</goals>
77+
</execution>
78+
</executions>
79+
</plugin>
80+
</plugins>
81+
</build>
82+
</project>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package report.realtime.datahandler;
2+
3+
import java.util.HashMap;
4+
import java.util.Map;
5+
import java.util.Set;
6+
import java.util.concurrent.ConcurrentSkipListSet;
7+
8+
import org.testng.IClass;
9+
import org.testng.ISuite;
10+
11+
public class DataMap {
12+
13+
volatile public static Map<ISuite, Integer> suiteMap = new HashMap<ISuite, Integer>();
14+
15+
volatile public static Map<IClass, Integer> testClassMap = new HashMap<IClass, Integer>();
16+
17+
volatile public static Set<DataSuite> suiteSet = new ConcurrentSkipListSet<>();
18+
}

0 commit comments

Comments
 (0)