commit
6932c0fbc5
81 changed files with 3016 additions and 0 deletions
Unified View
Diff Options
-
35tes/.classpath
-
23tes/.project
-
2tes/.settings/org.eclipse.jdt.core.prefs
-
4tes/.settings/org.eclipse.m2e.core.prefs
-
2tes/.settings/org.testng.eclipse.maven.prefs
-
6tes/Dockerfile
-
3tes/aws-config
-
3tes/aws-creds
-
62tes/pom.xml
-
3tes/runtest.sh
-
18tes/src/test/java/testing/Activity1.java
-
64tes/src/test/java/testing/TestNGBasics.java
-
0tes/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
-
2tes/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
-
2tes/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
-
85tes/target/surefire-reports/TEST-testing.TestNGBasics.xml
-
BINtes/target/surefire-reports/bullet_point.png
-
BINtes/target/surefire-reports/collapseall.gif
-
40tes/target/surefire-reports/emailable-report.html
-
BINtes/target/surefire-reports/failed.png
-
253tes/target/surefire-reports/index.html
-
2tes/target/surefire-reports/jquery-3.4.1.min.js
-
57tes/target/surefire-reports/junitreports/TEST-testing.TestNGBasics.xml
-
BINtes/target/surefire-reports/navigator-bullet.png
-
9tes/target/surefire-reports/old/index.html
-
1tes/target/surefire-reports/old/testing.TestNGBasics/Command line test.properties
-
28tes/target/surefire-reports/old/testing.TestNGBasics/classes.html
-
1tes/target/surefire-reports/old/testing.TestNGBasics/groups.html
-
6tes/target/surefire-reports/old/testing.TestNGBasics/index.html
-
2tes/target/surefire-reports/old/testing.TestNGBasics/main.html
-
10tes/target/surefire-reports/old/testing.TestNGBasics/methods-alphabetical.html
-
2tes/target/surefire-reports/old/testing.TestNGBasics/methods-not-run.html
-
10tes/target/surefire-reports/old/testing.TestNGBasics/methods.html
-
1tes/target/surefire-reports/old/testing.TestNGBasics/reporter-output.html
-
1tes/target/surefire-reports/old/testing.TestNGBasics/testng.xml.html
-
30tes/target/surefire-reports/old/testing.TestNGBasics/toc.html
-
BINtes/target/surefire-reports/passed.png
-
BINtes/target/surefire-reports/skipped.png
-
16tes/target/surefire-reports/testing.TestNGBasics.txt
-
218tes/target/surefire-reports/testing.TestNGBasics/Command line test.html
-
25tes/target/surefire-reports/testing.TestNGBasics/Command line test.xml
-
15tes/target/surefire-reports/testing.TestNGBasics/testng-failed.xml
-
15tes/target/surefire-reports/testng-failed.xml
-
309tes/target/surefire-reports/testng-reports.css
-
122tes/target/surefire-reports/testng-reports.js
-
127tes/target/surefire-reports/testng-results.xml
-
9tes/target/surefire-reports/testng.css
-
BINtes/target/test-classes/testing/Activity1.class
-
BINtes/target/test-classes/testing/TestNGBasics.class
-
84tes/test-output/Default suite/Default test.html
-
5tes/test-output/Default suite/Default test.xml
-
15tes/test-output/Default suite/testng-failed.xml
-
BINtes/test-output/bullet_point.png
-
BINtes/test-output/collapseall.gif
-
18tes/test-output/emailable-report.html
-
BINtes/test-output/failed.png
-
244tes/test-output/index.html
-
2tes/test-output/jquery-3.4.1.min.js
-
6tes/test-output/junitreports/TEST-testing.TestNGBasics.xml
-
BINtes/test-output/navigator-bullet.png
-
1tes/test-output/old/Default suite/Default test.properties
-
28tes/test-output/old/Default suite/classes.html
-
1tes/test-output/old/Default suite/groups.html
-
6tes/test-output/old/Default suite/index.html
-
2tes/test-output/old/Default suite/main.html
-
10tes/test-output/old/Default suite/methods-alphabetical.html
-
2tes/test-output/old/Default suite/methods-not-run.html
-
10tes/test-output/old/Default suite/methods.html
-
1tes/test-output/old/Default suite/reporter-output.html
-
1tes/test-output/old/Default suite/testng.xml.html
-
30tes/test-output/old/Default suite/toc.html
-
9tes/test-output/old/index.html
-
BINtes/test-output/passed.png
-
BINtes/test-output/skipped.png
-
15tes/test-output/testng-failed.xml
-
326tes/test-output/testng-reports.css
-
122tes/test-output/testng-reports.js
-
344tes/test-output/testng-reports1.css
-
77tes/test-output/testng-reports2.js
-
25tes/test-output/testng-results.xml
-
9tes/test-output/testng.css
@ -0,0 +1,35 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<classpath> |
||||
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java"> |
||||
|
<attributes> |
||||
|
<attribute name="test" value="true"/> |
||||
|
<attribute name="optional" value="true"/> |
||||
|
<attribute name="maven.pomderived" value="true"/> |
||||
|
</attributes> |
||||
|
</classpathentry> |
||||
|
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> |
||||
|
<attributes> |
||||
|
<attribute name="test" value="true"/> |
||||
|
<attribute name="maven.pomderived" value="true"/> |
||||
|
</attributes> |
||||
|
</classpathentry> |
||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> |
||||
|
<attributes> |
||||
|
<attribute name="module" value="true"/> |
||||
|
<attribute name="maven.pomderived" value="true"/> |
||||
|
</attributes> |
||||
|
</classpathentry> |
||||
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> |
||||
|
<attributes> |
||||
|
<attribute name="maven.pomderived" value="true"/> |
||||
|
</attributes> |
||||
|
</classpathentry> |
||||
|
<classpathentry kind="src" output="target/classes" path="src/main/java"> |
||||
|
<attributes> |
||||
|
<attribute name="optional" value="true"/> |
||||
|
<attribute name="maven.pomderived" value="true"/> |
||||
|
</attributes> |
||||
|
</classpathentry> |
||||
|
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/> |
||||
|
<classpathentry kind="output" path="target/classes"/> |
||||
|
</classpath> |
||||
@ -0,0 +1,23 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<projectDescription> |
||||
|
<name>tes</name> |
||||
|
<comment></comment> |
||||
|
<projects> |
||||
|
</projects> |
||||
|
<buildSpec> |
||||
|
<buildCommand> |
||||
|
<name>org.eclipse.jdt.core.javabuilder</name> |
||||
|
<arguments> |
||||
|
</arguments> |
||||
|
</buildCommand> |
||||
|
<buildCommand> |
||||
|
<name>org.eclipse.m2e.core.maven2Builder</name> |
||||
|
<arguments> |
||||
|
</arguments> |
||||
|
</buildCommand> |
||||
|
</buildSpec> |
||||
|
<natures> |
||||
|
<nature>org.eclipse.jdt.core.javanature</nature> |
||||
|
<nature>org.eclipse.m2e.core.maven2Nature</nature> |
||||
|
</natures> |
||||
|
</projectDescription> |
||||
@ -0,0 +1,2 @@ |
|||||
|
eclipse.preferences.version=1 |
||||
|
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning |
||||
@ -0,0 +1,4 @@ |
|||||
|
activeProfiles= |
||||
|
eclipse.preferences.version=1 |
||||
|
resolveWorkspaceProjects=true |
||||
|
version=1 |
||||
@ -0,0 +1,2 @@ |
|||||
|
eclipse.preferences.version=1 |
||||
|
userprojectsettings=false |
||||
@ -0,0 +1,6 @@ |
|||||
|
FROM maven:latest |
||||
|
COPY . /device-farm-test |
||||
|
WORKDIR /device-farm-test |
||||
|
COPY ./aws-config /root/.aws/config |
||||
|
COPY ./aws-creds /root/.aws/credentials |
||||
|
CMD /bin/sh -c /device-farm-test/runtest.sh |
||||
@ -0,0 +1,3 @@ |
|||||
|
[default] |
||||
|
region = us-west-2 |
||||
|
output = json |
||||
@ -0,0 +1,3 @@ |
|||||
|
[default] |
||||
|
aws_access_key_id=AKIAXKIRXAQZU447TK4K |
||||
|
aws_secret_access_key=Z4GZxuVwOmT9lFNlPqKpV+ahlU9+5zgrtPhCMwlS |
||||
@ -0,0 +1,62 @@ |
|||||
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
|
<modelVersion>4.0.0</modelVersion> |
||||
|
<groupId>test</groupId> |
||||
|
<artifactId>tes</artifactId> |
||||
|
<version>0.0.1-SNAPSHOT</version> |
||||
|
<properties> |
||||
|
<maven.compiler.source>1.8</maven.compiler.source> |
||||
|
<maven.compiler.target>1.8</maven.compiler.target> |
||||
|
</properties> |
||||
|
|
||||
|
|
||||
|
<dependencies> |
||||
|
<dependency> |
||||
|
<groupId>org.seleniumhq.selenium</groupId> |
||||
|
<artifactId>selenium-java</artifactId> |
||||
|
<version>3.141.59</version> |
||||
|
</dependency> |
||||
|
|
||||
|
<dependency> |
||||
|
<groupId>org.testng</groupId> |
||||
|
<artifactId>testng</artifactId> |
||||
|
<version>7.1.0</version> |
||||
|
<scope>test</scope> |
||||
|
</dependency> |
||||
|
|
||||
|
<dependency> |
||||
|
<groupId>software.amazon.awssdk</groupId> |
||||
|
<artifactId>devicefarm</artifactId> |
||||
|
<version>2.10.52</version> |
||||
|
</dependency> |
||||
|
|
||||
|
<dependency> |
||||
|
<groupId>org.seleniumhq.selenium</groupId> |
||||
|
<artifactId>selenium-remote-driver</artifactId> |
||||
|
<version>3.141.59</version> |
||||
|
</dependency> |
||||
|
|
||||
|
|
||||
|
<dependency> |
||||
|
<groupId>org.slf4j</groupId> |
||||
|
<artifactId>slf4j-api</artifactId> |
||||
|
<version>1.6.4</version> |
||||
|
</dependency> |
||||
|
<dependency> |
||||
|
<groupId>ch.qos.logback</groupId> |
||||
|
<artifactId>logback-classic</artifactId> |
||||
|
<scope>runtime</scope> |
||||
|
<version>1.0.0</version> |
||||
|
</dependency> |
||||
|
|
||||
|
<dependency> |
||||
|
<groupId>org.springframework.boot</groupId> |
||||
|
<artifactId>spring-boot-starter-actuator</artifactId> |
||||
|
<version>2.4.0</version> |
||||
|
</dependency> |
||||
|
|
||||
|
</dependencies> |
||||
|
|
||||
|
|
||||
|
</project> |
||||
@ -0,0 +1,3 @@ |
|||||
|
export AWS_ACCESS_KEY_ID=`cat /root/.aws/credentials | grep aws_access_key_id | awk -F'=' '{print $2}'` |
||||
|
export AWS_SECRET_ACCESS_KEY=`cat /root/.aws/credentials | grep aws_secret_access_key | awk -F'=' '{print $2}'` |
||||
|
mvn test |
||||
@ -0,0 +1,18 @@ |
|||||
|
package testing; |
||||
|
|
||||
|
import org.openqa.selenium.WebDriver; |
||||
|
import org.openqa.selenium.chrome.ChromeDriver; |
||||
|
|
||||
|
public class Activity1 { |
||||
|
|
||||
|
public static void main(String[] args) { |
||||
|
|
||||
|
//System.setProperty("webdriver.chrome.driver", "/ChromeDriver/New folder/chromedriver.exe"); |
||||
|
System.setProperty("webdriver.chrome.driver", "/Users/saifa/ChromeDriver/chromedriver.exe"); |
||||
|
WebDriver driver = new ChromeDriver(); |
||||
|
driver.get("http://www.google.com"); |
||||
|
System.out.println(driver.getTitle()); |
||||
|
//driver.quit(); |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,64 @@ |
|||||
|
package testing; |
||||
|
|
||||
|
import org.openqa.selenium.By; |
||||
|
import org.openqa.selenium.remote.DesiredCapabilities; |
||||
|
import org.openqa.selenium.remote.RemoteWebDriver; |
||||
|
import org.testng.Assert; |
||||
|
import org.testng.annotations.AfterTest; |
||||
|
import org.testng.annotations.BeforeTest; |
||||
|
|
||||
|
import org.testng.annotations.Test; |
||||
|
import software.amazon.awssdk.regions.Region; |
||||
|
import software.amazon.awssdk.services.devicefarm.*; |
||||
|
import software.amazon.awssdk.services.devicefarm.model.*; |
||||
|
import software.amazon.awssdk.auth.credentials.EnvironmentVariableCredentialsProvider; |
||||
|
import software.amazon.awssdk.auth.credentials.SystemPropertyCredentialsProvider; |
||||
|
import software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider; |
||||
|
|
||||
|
import java.net.MalformedURLException; |
||||
|
import java.net.URL; |
||||
|
|
||||
|
public class TestNGBasics { |
||||
|
|
||||
|
private static RemoteWebDriver driver; |
||||
|
|
||||
|
@BeforeTest |
||||
|
void setUp() throws MalformedURLException { |
||||
|
|
||||
|
|
||||
|
String myProjectARN = "arn:aws:devicefarm:us-west-2:503085204531:testgrid-project:9e6db8fd-737b-4a63-819b-028e112a0747"; |
||||
|
DeviceFarmClient client = DeviceFarmClient.builder().credentialsProvider(EnvironmentVariableCredentialsProvider.create()).region(Region.US_WEST_2).build(); |
||||
|
CreateTestGridUrlRequest request = CreateTestGridUrlRequest.builder().expiresInSeconds(300) |
||||
|
.projectArn(myProjectARN).build(); |
||||
|
CreateTestGridUrlResponse response = client.createTestGridUrl(request); |
||||
|
|
||||
|
URL testGridUrl = new URL(response.url()); |
||||
|
DesiredCapabilities desired_capabilities = new DesiredCapabilities(); |
||||
|
desired_capabilities.setCapability("browserName","chrome"); |
||||
|
desired_capabilities.setCapability("browserVersion", "latest"); |
||||
|
desired_capabilities.setCapability("platform", "windows"); |
||||
|
desired_capabilities.setCapability("Build Number ", "1.0"); |
||||
|
|
||||
|
driver = new RemoteWebDriver(testGridUrl, desired_capabilities); |
||||
|
|
||||
|
//driver = new RemoteWebDriver(testGridUrl, DesiredCapabilities.chrome()); |
||||
|
|
||||
|
} |
||||
|
|
||||
|
@Test |
||||
|
public void userLogin() { |
||||
|
driver.manage().window().maximize(); |
||||
|
driver.navigate().to("https://the-internet.herokuapp.com/login"); |
||||
|
driver.findElement(By.id("username")).sendKeys("tomsmith"); |
||||
|
driver.findElement(By.id("password")).sendKeys("SuperSecretPassword!"); |
||||
|
driver.findElement(By.className("radius")).click(); |
||||
|
Assert.assertTrue(driver.getCurrentUrl().contains("secure")); |
||||
|
} |
||||
|
|
||||
|
@AfterTest |
||||
|
void tearDown() { |
||||
|
driver.quit(); |
||||
|
System.out.println("Test Passed"); |
||||
|
} |
||||
|
|
||||
|
} |
||||
@ -0,0 +1,2 @@ |
|||||
|
testing/Activity1.class |
||||
|
testing/TestNGBasics.class |
||||
@ -0,0 +1,2 @@ |
|||||
|
/home/ubuntu/test/tes/src/test/java/testing/Activity1.java |
||||
|
/home/ubuntu/test/tes/src/test/java/testing/TestNGBasics.java |
||||
@ -0,0 +1,85 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<testsuite tests="3" failures="1" name="testing.TestNGBasics" time="0.65" errors="0" skipped="2"> |
||||
|
<properties> |
||||
|
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/> |
||||
|
<property name="java.vm.version" value="11.0.10+9-Ubuntu-0ubuntu1.20.04"/> |
||||
|
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-11-openjdk-amd64/lib"/> |
||||
|
<property name="maven.multiModuleProjectDirectory" value="/home/ubuntu/test/tes"/> |
||||
|
<property name="java.vm.vendor" value="Ubuntu"/> |
||||
|
<property name="java.vendor.url" value="https://ubuntu.com/"/> |
||||
|
<property name="guice.disable.misplaced.annotation.check" value="true"/> |
||||
|
<property name="path.separator" value=":"/> |
||||
|
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/> |
||||
|
<property name="sun.os.patch.level" value="unknown"/> |
||||
|
<property name="sun.java.launcher" value="SUN_STANDARD"/> |
||||
|
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/> |
||||
|
<property name="user.dir" value="/home/ubuntu/test/tes"/> |
||||
|
<property name="java.vm.compressedOopsMode" value="Zero based"/> |
||||
|
<property name="aws.accessKeyId" value="AKIAXKIRXAQZU447TK4K"/> |
||||
|
<property name="java.runtime.version" value="11.0.10+9-Ubuntu-0ubuntu1.20.04"/> |
||||
|
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/> |
||||
|
<property name="os.arch" value="amd64"/> |
||||
|
<property name="java.io.tmpdir" value="/tmp"/> |
||||
|
<property name="line.separator" value=" |
||||
|
"/> |
||||
|
<property name="java.vm.specification.vendor" value="Oracle Corporation"/> |
||||
|
<property name="os.name" value="Linux"/> |
||||
|
<property name="classworlds.conf" value="/usr/share/maven/bin/m2.conf"/> |
||||
|
<property name="sun.jnu.encoding" value="UTF-8"/> |
||||
|
<property name="java.library.path" value="/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib"/> |
||||
|
<property name="maven.conf" value="/usr/share/maven/conf"/> |
||||
|
<property name="jdk.debug" value="release"/> |
||||
|
<property name="java.class.version" value="55.0"/> |
||||
|
<property name="java.specification.name" value="Java Platform API Specification"/> |
||||
|
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/> |
||||
|
<property name="os.version" value="5.4.0-1038-aws"/> |
||||
|
<property name="library.jansi.path" value="/usr/share/maven/lib/jansi-native"/> |
||||
|
<property name="user.home" value="/root"/> |
||||
|
<property name="user.timezone" value="Etc/UTC"/> |
||||
|
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/> |
||||
|
<property name="file.encoding" value="UTF-8"/> |
||||
|
<property name="java.specification.version" value="11"/> |
||||
|
<property name="user.name" value="root"/> |
||||
|
<property name="java.class.path" value="/usr/share/maven/boot/plexus-classworlds-2.x.jar"/> |
||||
|
<property name="java.vm.specification.version" value="11"/> |
||||
|
<property name="sun.arch.data.model" value="64"/> |
||||
|
<property name="sun.java.command" value="org.codehaus.plexus.classworlds.launcher.Launcher -Daws.accessKeyId=AKIAXKIRXAQZU447TK4K -Daws.secretKeyId=Z4GZxuVwOmT9lFNlPqKpV+ahlU9+5zgrtPhCMwlS test"/> |
||||
|
<property name="java.home" value="/usr/lib/jvm/java-11-openjdk-amd64"/> |
||||
|
<property name="user.language" value="en"/> |
||||
|
<property name="java.specification.vendor" value="Oracle Corporation"/> |
||||
|
<property name="awt.toolkit" value="sun.awt.X11.XToolkit"/> |
||||
|
<property name="java.vm.info" value="mixed mode"/> |
||||
|
<property name="java.version" value="11.0.10"/> |
||||
|
<property name="securerandom.source" value="file:/dev/./urandom"/> |
||||
|
<property name="java.vendor" value="Ubuntu"/> |
||||
|
<property name="maven.home" value="/usr/share/maven"/> |
||||
|
<property name="file.separator" value="/"/> |
||||
|
<property name="java.version.date" value="2021-01-19"/> |
||||
|
<property name="java.vendor.url.bug" value="https://bugs.launchpad.net/ubuntu/+source/openjdk-lts"/> |
||||
|
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/> |
||||
|
<property name="sun.cpu.endian" value="little"/> |
||||
|
<property name="sun.cpu.isalist" value=""/> |
||||
|
<property name="aws.secretKeyId" value="Z4GZxuVwOmT9lFNlPqKpV+ahlU9+5zgrtPhCMwlS"/> |
||||
|
</properties> |
||||
|
<testcase classname="testing.TestNGBasics" name="setUp" time="0.649"> |
||||
|
<failure message="Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey)." type="software.amazon.awssdk.core.exception.SdkClientException">software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
</failure> |
||||
|
<system-out>Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@9a7504c |
||||
|
</system-out> |
||||
|
</testcase> |
||||
|
<testcase classname="testing.TestNGBasics" name="userLogin" time="0"> |
||||
|
<skipped/> |
||||
|
</testcase> |
||||
|
<testcase classname="testing.TestNGBasics" name="tearDown" time="0.001"> |
||||
|
<skipped/> |
||||
|
</testcase> |
||||
|
</testsuite> |
||||
@ -0,0 +1,40 @@ |
|||||
|
<!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> |
||||
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> |
||||
|
<title>TestNG Report</title> |
||||
|
<style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}.invisible {display:none}</style> |
||||
|
</head> |
||||
|
<body> |
||||
|
<table> |
||||
|
<tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Retried</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr> |
||||
|
<tr><th colspan="8">testing.TestNGBasics</th></tr> |
||||
|
<tr><td><a href="#t0">Command line test</a></td><td class="num">0</td><td class="num attn">1</td><td class="num">0</td><td class="num">0</td><td class="num">515</td><td></td><td></td></tr> |
||||
|
</table> |
||||
|
<table id='summary'><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">testing.TestNGBasics</th></tr></tbody><tbody id="t0"><tr><th colspan="4">Command line test — failed (configuration methods)</th></tr><tr class="failedeven"><td rowspan="1">testing.TestNGBasics</td><td><a href="#m0">setUp</a></td><td rowspan="1">1618910336358</td><td rowspan="1">494</td></tr><tr><th colspan="4">Command line test — skipped (configuration methods)</th></tr><tr class="skippedeven"><td rowspan="1">testing.TestNGBasics</td><td><a href="#m1">tearDown</a></td><td rowspan="1">1618910336871</td><td rowspan="1">-1618910336871</td></tr><tr><th colspan="4">Command line test — skipped</th></tr><tr class="skippedeven"><td rowspan="1">testing.TestNGBasics</td><td><a href="#m2">userLogin</a></td><td rowspan="1">1618910336869</td><td rowspan="1">0</td></tr></tbody> |
||||
|
</table> |
||||
|
<h2>Command line test</h2><h3 id="m0">testing.TestNGBasics#setUp</h3><table class="result"><tr><th>Exception</th></tr><tr><td><div class="stacktrace">software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
... Removed 33 stack frames</div></td></tr></table><p class="totop"><a href="#summary">back to summary</a></p> |
||||
|
<h3 id="m1">testing.TestNGBasics#tearDown</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p> |
||||
|
<h3 id="m2">testing.TestNGBasics#userLogin</h3><table class="result"><tr><th>Exception</th></tr><tr><td><div class="stacktrace">software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
... Removed 33 stack frames</div></td></tr></table><p class="totop"><a href="#summary">back to summary</a></p> |
||||
|
</body> |
||||
|
</html> |
||||
@ -0,0 +1,253 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
|
||||
|
<html> |
||||
|
<head> |
||||
|
<meta charset='utf-8'> |
||||
|
<title>TestNG reports</title> |
||||
|
|
||||
|
<link type="text/css" href="testng-reports.css" rel="stylesheet" /> |
||||
|
<script type="text/javascript" src="jquery-3.4.1.min.js"></script> |
||||
|
<script type="text/javascript" src="testng-reports.js"></script> |
||||
|
<script type="text/javascript" src="https://www.google.com/jsapi"></script> |
||||
|
<script type='text/javascript'> |
||||
|
google.load('visualization', '1', {packages:['table']}); |
||||
|
google.setOnLoadCallback(drawTable); |
||||
|
var suiteTableInitFunctions = new Array(); |
||||
|
var suiteTableData = new Array(); |
||||
|
</script> |
||||
|
<!-- |
||||
|
<script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script> |
||||
|
--> |
||||
|
</head> |
||||
|
|
||||
|
<body> |
||||
|
<div class="top-banner-root"> |
||||
|
<span class="top-banner-title-font">Test results</span> |
||||
|
<br/> |
||||
|
<span class="top-banner-font-1">1 suite</span> |
||||
|
</div> <!-- top-banner-root --> |
||||
|
<div class="navigator-root"> |
||||
|
<div class="navigator-suite-header"> |
||||
|
<span>All suites</span> |
||||
|
<a href="#" title="Collapse/expand all the suites" class="collapse-all-link"> |
||||
|
<img src="collapseall.gif" class="collapse-all-icon"> |
||||
|
</img> <!-- collapse-all-icon --> |
||||
|
</a> <!-- collapse-all-link --> |
||||
|
</div> <!-- navigator-suite-header --> |
||||
|
<div class="suite"> |
||||
|
<div class="rounded-window"> |
||||
|
<div class="suite-header light-rounded-window-top"> |
||||
|
<a href="#" panel-name="suite-testing_TestNGBasics" class="navigator-link"> |
||||
|
<span class="suite-name border-skipped">testing.TestNGBasics</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</div> <!-- suite-header light-rounded-window-top --> |
||||
|
<div class="navigator-suite-content"> |
||||
|
<div class="suite-section-title"> |
||||
|
<span>Info</span> |
||||
|
</div> <!-- suite-section-title --> |
||||
|
<div class="suite-section-content"> |
||||
|
<ul> |
||||
|
<li> |
||||
|
<a href="#" panel-name="test-xml-testing_TestNGBasics" class="navigator-link "> |
||||
|
<span>[unset file name]</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="testlist-testing_TestNGBasics" class="navigator-link "> |
||||
|
<span class="test-stats">1 test</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="group-testing_TestNGBasics" class="navigator-link "> |
||||
|
<span>0 groups</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="times-testing_TestNGBasics" class="navigator-link "> |
||||
|
<span>Times</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="reporter-testing_TestNGBasics" class="navigator-link "> |
||||
|
<span>Reporter output</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="ignored-methods-testing_TestNGBasics" class="navigator-link "> |
||||
|
<span>Ignored methods</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="chronological-testing_TestNGBasics" class="navigator-link "> |
||||
|
<span>Chronological view</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> <!-- suite-section-content --> |
||||
|
<div class="result-section"> |
||||
|
<div class="suite-section-title"> |
||||
|
<span>Results</span> |
||||
|
</div> <!-- suite-section-title --> |
||||
|
<div class="suite-section-content"> |
||||
|
<ul> |
||||
|
<li> |
||||
|
<span class="method-stats">1 method, 1 skipped, </span> |
||||
|
</li> |
||||
|
<li> |
||||
|
<span class="method-list-title skipped">Skipped methods</span> |
||||
|
<span class="show-or-hide-methods skipped"> |
||||
|
<a href="#" panel-name="suite-testing_TestNGBasics" class="hide-methods skipped suite-testing_TestNGBasics"> (hide)</a> <!-- hide-methods skipped suite-testing_TestNGBasics --> |
||||
|
<a href="#" panel-name="suite-testing_TestNGBasics" class="show-methods skipped suite-testing_TestNGBasics"> (show)</a> <!-- show-methods skipped suite-testing_TestNGBasics --> |
||||
|
</span> |
||||
|
<div class="method-list-content skipped suite-testing_TestNGBasics"> |
||||
|
<span> |
||||
|
<img src="skipped.png" width="3%"/> |
||||
|
<a href="#" panel-name="suite-testing_TestNGBasics" title="testing.TestNGBasics" class="method navigator-link" hash-for-method="userLogin">userLogin</a> <!-- method navigator-link --> |
||||
|
</span> |
||||
|
<br/> |
||||
|
</div> <!-- method-list-content skipped suite-testing_TestNGBasics --> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> <!-- suite-section-content --> |
||||
|
</div> <!-- result-section --> |
||||
|
</div> <!-- navigator-suite-content --> |
||||
|
</div> <!-- rounded-window --> |
||||
|
</div> <!-- suite --> |
||||
|
</div> <!-- navigator-root --> |
||||
|
<div class="wrapper"> |
||||
|
<div class="main-panel-root"> |
||||
|
<div panel-name="suite-testing_TestNGBasics" class="panel testing_TestNGBasics"> |
||||
|
<div class="suite-testing_TestNGBasics-class-skipped"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<img src="skipped.png"/> |
||||
|
<span class="class-name">testing.TestNGBasics</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<div class="method"> |
||||
|
<div class="method-content"> |
||||
|
<a name="userLogin"> |
||||
|
</a> <!-- userLogin --> |
||||
|
<span class="method-name">userLogin</span> |
||||
|
<div class="stack-trace">software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
... Removed 33 stack frames |
||||
|
</div> <!-- stack-trace --> |
||||
|
</div> <!-- method-content --> |
||||
|
</div> <!-- method --> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- suite-testing_TestNGBasics-class-skipped --> |
||||
|
</div> <!-- panel testing_TestNGBasics --> |
||||
|
<div panel-name="test-xml-testing_TestNGBasics" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<pre> |
||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd"> |
||||
|
<suite name="testing.TestNGBasics" verbose="0"> |
||||
|
<test thread-count="5" name="Command line test" verbose="0"> |
||||
|
<classes> |
||||
|
<class name="testing.TestNGBasics"/> |
||||
|
</classes> |
||||
|
</test> <!-- Command line test --> |
||||
|
</suite> <!-- testing.TestNGBasics --> |
||||
|
</pre> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="testlist-testing_TestNGBasics" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Tests for testing.TestNGBasics</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<ul> |
||||
|
<li> |
||||
|
<span class="test-name">Command line test (1 class)</span> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="group-testing_TestNGBasics" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Groups for testing.TestNGBasics</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="times-testing_TestNGBasics" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Times for testing.TestNGBasics</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<div class="times-div"> |
||||
|
<script type="text/javascript"> |
||||
|
suiteTableInitFunctions.push('tableData_testing_TestNGBasics'); |
||||
|
function tableData_testing_TestNGBasics() { |
||||
|
var data = new google.visualization.DataTable(); |
||||
|
data.addColumn('number', 'Number'); |
||||
|
data.addColumn('string', 'Method'); |
||||
|
data.addColumn('string', 'Class'); |
||||
|
data.addColumn('number', 'Time (ms)'); |
||||
|
data.addRows(1); |
||||
|
data.setCell(0, 0, 0) |
||||
|
data.setCell(0, 1, 'userLogin') |
||||
|
data.setCell(0, 2, 'testing.TestNGBasics') |
||||
|
data.setCell(0, 3, 0); |
||||
|
window.suiteTableData['testing_TestNGBasics']= { tableData: data, tableDiv: 'times-div-testing_TestNGBasics'} |
||||
|
return data; |
||||
|
} |
||||
|
</script> |
||||
|
<span class="suite-total-time">Total running time: 0 ms</span> |
||||
|
<div id="times-div-testing_TestNGBasics"> |
||||
|
</div> <!-- times-div-testing_TestNGBasics --> |
||||
|
</div> <!-- times-div --> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="reporter-testing_TestNGBasics" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Reporter output for testing.TestNGBasics</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="ignored-methods-testing_TestNGBasics" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">0 ignored methods</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="chronological-testing_TestNGBasics" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Methods in chronological order</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<div class="chronological-class"> |
||||
|
<div class="chronological-class-name">testing.TestNGBasics</div> <!-- chronological-class-name --> |
||||
|
<div class="configuration-test before"> |
||||
|
<img src="failed.png"> |
||||
|
</img> |
||||
|
<span class="method-name">setUp</span> |
||||
|
<span class="method-start">0 ms</span> |
||||
|
</div> <!-- configuration-test before --> |
||||
|
<div class="test-method"> |
||||
|
<span class="method-name">userLogin</span> |
||||
|
<span class="method-start">511 ms</span> |
||||
|
</div> <!-- test-method --> |
||||
|
<div class="configuration-test after"> |
||||
|
<span class="method-name">tearDown</span> |
||||
|
<span class="method-start">513 ms</span> |
||||
|
</div> <!-- configuration-test after --> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
</div> <!-- main-panel-root --> |
||||
|
</div> <!-- wrapper --> |
||||
|
</body> |
||||
|
</html> |
||||
2
tes/target/surefire-reports/jquery-3.4.1.min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,57 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!-- Generated by org.testng.reporters.JUnitReportReporter --> |
||||
|
<testsuite hostname="ip-172-31-8-140" failures="0" tests="2" name="testing.TestNGBasics" time="0.494" errors="1" timestamp="2021-04-20T09:18:56 UTC" skipped="1"> |
||||
|
<testcase classname="testing.TestNGBasics" name="userLogin" time="0.000"> |
||||
|
<skipped/> |
||||
|
</testcase> <!-- userLogin --> |
||||
|
<system-out/> |
||||
|
<testcase classname="testing.TestNGBasics" name="setUp" time="0.494"> |
||||
|
<error message="Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey)." type="software.amazon.awssdk.core.exception.SdkClientException"> |
||||
|
<![CDATA[software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:63) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:348) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:302) |
||||
|
at org.testng.TestRunner.invokeTestConfigurations(TestRunner.java:619) |
||||
|
at org.testng.TestRunner.beforeRun(TestRunner.java:609) |
||||
|
at org.testng.TestRunner.run(TestRunner.java:580) |
||||
|
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384) |
||||
|
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) |
||||
|
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) |
||||
|
at org.testng.SuiteRunner.run(SuiteRunner.java:286) |
||||
|
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) |
||||
|
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) |
||||
|
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187) |
||||
|
at org.testng.TestNG.runSuitesLocally(TestNG.java:1109) |
||||
|
at org.testng.TestNG.runSuites(TestNG.java:1039) |
||||
|
at org.testng.TestNG.run(TestNG.java:1007) |
||||
|
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) |
||||
|
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110) |
||||
|
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) |
||||
|
]]> |
||||
|
</error> |
||||
|
</testcase> <!-- setUp --> |
||||
|
<system-out/> |
||||
|
</testsuite> <!-- testing.TestNGBasics --> |
||||
@ -0,0 +1,9 @@ |
|||||
|
<html> |
||||
|
<head><title></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</th><th>Skipped</th><th>testng.xml</th></tr> |
||||
|
<tr align='center' class='invocation-failed'><td><em>Total</em></td><td><em>0</em></td><td><em>0</em></td><td><em>1</em></td><td> </td></tr> |
||||
|
<tr align='center' class='invocation-failed'><td><a href='testing.TestNGBasics/index.html'>testing.TestNGBasics</a></td> |
||||
|
<td>0</td><td>0</td><td>1</td><td><a href='testing.TestNGBasics/testng.xml.html'>Link</a></td></tr></table></body></html> |
||||
@ -0,0 +1 @@ |
|||||
|
[SuiteResult context=Command line test] |
||||
@ -0,0 +1,28 @@ |
|||||
|
<table border='1'> |
||||
|
<tr> |
||||
|
<th>Class name</th> |
||||
|
<th>Method name</th> |
||||
|
<th>Groups</th> |
||||
|
</tr><tr> |
||||
|
<td>testing.TestNGBasics</td> |
||||
|
<td> </td><td> </td></tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@Test</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td> </td> |
||||
|
<td>userLogin</td> |
||||
|
<td> </td></tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@BeforeClass</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@BeforeMethod</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@AfterMethod</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@AfterClass</td> |
||||
|
</tr> |
||||
|
</table> |
||||
@ -0,0 +1 @@ |
|||||
|
<h2>Groups used for this test run</h2> |
||||
@ -0,0 +1,6 @@ |
|||||
|
<html><head><title>Results for testing.TestNGBasics</title></head> |
||||
|
<frameset cols="26%,74%"> |
||||
|
<frame src="toc.html" name="navFrame"> |
||||
|
<frame src="main.html" name="mainFrame"> |
||||
|
</frameset> |
||||
|
</html> |
||||
@ -0,0 +1,2 @@ |
|||||
|
<html><head><title>Results for testing.TestNGBasics</title></head> |
||||
|
<body>Select a result on the left-hand pane.</body></html> |
||||
@ -0,0 +1,10 @@ |
|||||
|
<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>testing.TestNGBasics</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</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> |
||||
|
<tr bgcolor="caeb9e"> <td>21/04/20 09:18:56</td> <td>0</td> <td> </td><td title=">>TestNGBasics.setUp()[pri:0, instance:testing.TestNGBasics@1a451d4d]">>>setUp</td> |
||||
|
<td> </td><td> </td><td> </td><td> </td> <td>main@762476028</td> <td></td> </tr> |
||||
|
<tr bgcolor="caeb9e"> <td>21/04/20 09:18:56</td> <td>509</td> <td> </td><td title="<<TestNGBasics.tearDown()[pri:0, instance:testing.TestNGBasics@1a451d4d]"><<tearDown</td> |
||||
|
<td> </td><td> </td><td> </td><td> </td> <td></td> <td></td> </tr> |
||||
|
<tr bgcolor="caeb9e"> <td>21/04/20 09:18:56</td> <td>507</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestNGBasics.userLogin()[pri:0, instance:testing.TestNGBasics@1a451d4d]">userLogin</td> |
||||
|
<td>main@762476028</td> <td></td> </tr> |
||||
|
</table> |
||||
@ -0,0 +1,2 @@ |
|||||
|
<h2>Methods that were not run</h2><table> |
||||
|
</table> |
||||
@ -0,0 +1,10 @@ |
|||||
|
<h2>Methods run, sorted chronologically</h2><h3>>> means before, << means after</h3><p/><br/><em>testing.TestNGBasics</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</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> |
||||
|
<tr bgcolor="caeb9e"> <td>21/04/20 09:18:56</td> <td>0</td> <td> </td><td title=">>TestNGBasics.setUp()[pri:0, instance:testing.TestNGBasics@1a451d4d]">>>setUp</td> |
||||
|
<td> </td><td> </td><td> </td><td> </td> <td>main@762476028</td> <td></td> </tr> |
||||
|
<tr bgcolor="caeb9e"> <td>21/04/20 09:18:56</td> <td>507</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestNGBasics.userLogin()[pri:0, instance:testing.TestNGBasics@1a451d4d]">userLogin</td> |
||||
|
<td>main@762476028</td> <td></td> </tr> |
||||
|
<tr bgcolor="caeb9e"> <td>21/04/20 09:18:56</td> <td>509</td> <td> </td><td title="<<TestNGBasics.tearDown()[pri:0, instance:testing.TestNGBasics@1a451d4d]"><<tearDown</td> |
||||
|
<td> </td><td> </td><td> </td><td> </td> <td></td> <td></td> </tr> |
||||
|
</table> |
||||
@ -0,0 +1 @@ |
|||||
|
<h2>Reporter output</h2><table></table> |
||||
@ -0,0 +1 @@ |
|||||
|
<html><head><title>testng.xml for testing.TestNGBasics</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?><br/><!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd"><br/><suite name="testing.TestNGBasics" verbose="0"><br/> <test thread-count="5" name="Command line test" verbose="0"><br/> <classes><br/> <class name="testing.TestNGBasics"/><br/> </classes><br/> </test> <!-- Command line test --><br/></suite> <!-- testing.TestNGBasics --><br/></tt></body></html> |
||||
@ -0,0 +1,30 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>Results for testing.TestNGBasics</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>testing.TestNGBasics</em></p></h3> |
||||
|
<table border='1' width='100%'> |
||||
|
<tr valign='top'> |
||||
|
<td>1 test</td> |
||||
|
<td><a target='mainFrame' href='classes.html'>1 class</a></td> |
||||
|
<td>1 method:<br/> |
||||
|
<a target='mainFrame' href='methods.html'>chronological</a><br/> |
||||
|
<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> |
||||
|
<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a target='mainFrame' href='groups.html'>0 group</a></td> |
||||
|
<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> |
||||
|
<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> |
||||
|
</tr></table> |
||||
|
<table width='100%' class='test-skipped'> |
||||
|
<tr><td> |
||||
|
<table style='width: 100%'><tr><td valign='top'>Command line test (0/0/1)</td><td valign='top' align='right'> |
||||
|
<a href='Command line test.html' target='mainFrame'>Results</a> |
||||
|
</td></tr></table> |
||||
|
</td></tr><p/> |
||||
|
</table> |
||||
|
</body></html> |
||||
@ -0,0 +1,16 @@ |
|||||
|
------------------------------------------------------------------------------- |
||||
|
Test set: testing.TestNGBasics |
||||
|
------------------------------------------------------------------------------- |
||||
|
Tests run: 3, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 0.748 sec <<< FAILURE! |
||||
|
setUp(testing.TestNGBasics) Time elapsed: 0.649 sec <<< FAILURE! |
||||
|
software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
|
||||
@ -0,0 +1,218 @@ |
|||||
|
<html> |
||||
|
<head> |
||||
|
<title>TestNG: Command line 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(e) { |
||||
|
current = e.style.display; |
||||
|
if (current == 'block') { |
||||
|
e.style.display = 'none'; |
||||
|
return 0; |
||||
|
} |
||||
|
else { |
||||
|
e.style.display = 'block'; |
||||
|
return 1; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
function toggleBox(szDivId, elem, msg1, msg2) |
||||
|
{ |
||||
|
var res = -1; if (document.getElementById) { |
||||
|
res = flip(document.getElementById(szDivId)); |
||||
|
} |
||||
|
else if (document.all) { |
||||
|
// this is the way old msie versions work |
||||
|
res = flip(document.all[szDivId]); |
||||
|
} |
||||
|
if(elem) { |
||||
|
if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
|
||||
|
function toggleAllBoxes() { |
||||
|
if (document.getElementsByTagName) { |
||||
|
d = document.getElementsByTagName('div'); |
||||
|
for (i = 0; i < d.length; i++) { |
||||
|
if (d[i].className == 'log') { |
||||
|
flip(d[i]); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
// --> |
||||
|
</script> |
||||
|
|
||||
|
</head> |
||||
|
<body> |
||||
|
<h2 align='center'>Command line test</h2><table border='1' align="center"> |
||||
|
<tr> |
||||
|
<td>Tests passed/Failed/Skipped:</td><td>0/0/1</td> |
||||
|
</tr><tr> |
||||
|
<td>Started on:</td><td>Tue Apr 20 09:18:56 UTC 2021</td> |
||||
|
</tr> |
||||
|
<tr><td>Total time:</td><td>0 seconds (515 ms)</td> |
||||
|
</tr><tr> |
||||
|
<td>Included groups:</td><td></td> |
||||
|
</tr><tr> |
||||
|
<td>Excluded groups:</td><td></td> |
||||
|
</tr> |
||||
|
</table><p/> |
||||
|
<small><i>(Hover the method name to see the test class name)</i></small><p/> |
||||
|
<table width='100%' border='1' class='invocation-failed'> |
||||
|
<tr><td colspan='4' align='center'><b>FAILED CONFIGURATIONS</b></td></tr> |
||||
|
<tr><td><b>Test method</b></td> |
||||
|
<td width="30%"><b>Exception</b></td> |
||||
|
<td width="10%"><b>Time (seconds)</b></td> |
||||
|
<td><b>Instance</b></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td title='testing.TestNGBasics.setUp()'><b>setUp</b><br>Test class: testing.TestNGBasics</td> |
||||
|
<td><div><pre>software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
... Removed 33 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace1196963249", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a> |
||||
|
<div class='stack-trace' id='stack-trace1196963249'><pre>software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:63) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:348) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:302) |
||||
|
at org.testng.TestRunner.invokeTestConfigurations(TestRunner.java:619) |
||||
|
at org.testng.TestRunner.beforeRun(TestRunner.java:609) |
||||
|
at org.testng.TestRunner.run(TestRunner.java:580) |
||||
|
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384) |
||||
|
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) |
||||
|
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) |
||||
|
at org.testng.SuiteRunner.run(SuiteRunner.java:286) |
||||
|
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) |
||||
|
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) |
||||
|
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187) |
||||
|
at org.testng.TestNG.runSuitesLocally(TestNG.java:1109) |
||||
|
at org.testng.TestNG.runSuites(TestNG.java:1039) |
||||
|
at org.testng.TestNG.run(TestNG.java:1007) |
||||
|
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) |
||||
|
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110) |
||||
|
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) |
||||
|
</pre></div></td> |
||||
|
<td>0</td> |
||||
|
<td>testing.TestNGBasics@1a451d4d</td></tr> |
||||
|
</table><p> |
||||
|
<table width='100%' border='1' class='invocation-skipped'> |
||||
|
<tr><td colspan='4' align='center'><b>SKIPPED CONFIGURATIONS</b></td></tr> |
||||
|
<tr><td><b>Test method</b></td> |
||||
|
<td width="30%"><b>Exception</b></td> |
||||
|
<td width="10%"><b>Time (seconds)</b></td> |
||||
|
<td><b>Instance</b></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td title='testing.TestNGBasics.tearDown()'><b>tearDown</b><br>Test class: testing.TestNGBasics</td> |
||||
|
<td></td> |
||||
|
<td>-1618910336</td> |
||||
|
<td>testing.TestNGBasics@1a451d4d</td></tr> |
||||
|
</table><p> |
||||
|
<table width='100%' border='1' class='invocation-skipped'> |
||||
|
<tr><td colspan='4' align='center'><b>SKIPPED TESTS</b></td></tr> |
||||
|
<tr><td><b>Test method</b></td> |
||||
|
<td width="30%"><b>Exception</b></td> |
||||
|
<td width="10%"><b>Time (seconds)</b></td> |
||||
|
<td><b>Instance</b></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td title='testing.TestNGBasics.userLogin()'><b>userLogin</b><br>Test class: testing.TestNGBasics</td> |
||||
|
<td><div><pre>software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
... Removed 33 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace1598898814", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a> |
||||
|
<div class='stack-trace' id='stack-trace1598898814'><pre>software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:63) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:348) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:302) |
||||
|
at org.testng.TestRunner.invokeTestConfigurations(TestRunner.java:619) |
||||
|
at org.testng.TestRunner.beforeRun(TestRunner.java:609) |
||||
|
at org.testng.TestRunner.run(TestRunner.java:580) |
||||
|
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384) |
||||
|
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) |
||||
|
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) |
||||
|
at org.testng.SuiteRunner.run(SuiteRunner.java:286) |
||||
|
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) |
||||
|
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) |
||||
|
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187) |
||||
|
at org.testng.TestNG.runSuitesLocally(TestNG.java:1109) |
||||
|
at org.testng.TestNG.runSuites(TestNG.java:1039) |
||||
|
at org.testng.TestNG.run(TestNG.java:1007) |
||||
|
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) |
||||
|
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110) |
||||
|
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) |
||||
|
</pre></div></td> |
||||
|
<td>0</td> |
||||
|
<td>testing.TestNGBasics@1a451d4d</td></tr> |
||||
|
</table><p> |
||||
|
</body> |
||||
|
</html> |
||||
@ -0,0 +1,25 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!-- Generated by org.testng.reporters.JUnitXMLReporter --> |
||||
|
<testsuite ignored="0" hostname="ip-172-31-8-140" failures="0" tests="1" name="Command line test" time="0.515" errors="0" timestamp="2021-04-20T09:18:56 UTC"> |
||||
|
<testcase classname="testing.TestNGBasics" name="@BeforeTest setUp" time="0.494"> |
||||
|
<failure type="software.amazon.awssdk.core.exception.SdkClientException" message="Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey)."> |
||||
|
<![CDATA[software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
... Removed 33 stack frames]]> |
||||
|
</failure> |
||||
|
</testcase> <!-- @BeforeTest setUp --> |
||||
|
<testcase classname="testing.TestNGBasics" name="@AfterTest tearDown" time="-1.618910336871E9"> |
||||
|
<skipped/> |
||||
|
</testcase> <!-- @AfterTest tearDown --> |
||||
|
<testcase classname="testing.TestNGBasics" name="userLogin" time="0.0"> |
||||
|
<skipped/> |
||||
|
</testcase> <!-- userLogin --> |
||||
|
</testsuite> <!-- Command line test --> |
||||
@ -0,0 +1,15 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd"> |
||||
|
<suite name="Failed suite [testing.TestNGBasics]" verbose="0"> |
||||
|
<test thread-count="5" name="Command line test(failed)" verbose="0"> |
||||
|
<classes> |
||||
|
<class name="testing.TestNGBasics"> |
||||
|
<methods> |
||||
|
<include name="userLogin"/> |
||||
|
<include name="tearDown"/> |
||||
|
<include name="setUp"/> |
||||
|
</methods> |
||||
|
</class> <!-- testing.TestNGBasics --> |
||||
|
</classes> |
||||
|
</test> <!-- Command line test(failed) --> |
||||
|
</suite> <!-- Failed suite [testing.TestNGBasics] --> |
||||
@ -0,0 +1,15 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd"> |
||||
|
<suite name="Failed suite [testing.TestNGBasics]" verbose="0"> |
||||
|
<test thread-count="5" name="Command line test(failed)" verbose="0"> |
||||
|
<classes> |
||||
|
<class name="testing.TestNGBasics"> |
||||
|
<methods> |
||||
|
<include name="userLogin"/> |
||||
|
<include name="tearDown"/> |
||||
|
<include name="setUp"/> |
||||
|
</methods> |
||||
|
</class> <!-- testing.TestNGBasics --> |
||||
|
</classes> |
||||
|
</test> <!-- Command line test(failed) --> |
||||
|
</suite> <!-- Failed suite [testing.TestNGBasics] --> |
||||
@ -0,0 +1,309 @@ |
|||||
|
body { |
||||
|
margin: 0 0 5px 5px; |
||||
|
} |
||||
|
|
||||
|
ul { |
||||
|
margin: 0; |
||||
|
} |
||||
|
|
||||
|
li { |
||||
|
list-style-type: none; |
||||
|
} |
||||
|
|
||||
|
a { |
||||
|
text-decoration: none; |
||||
|
} |
||||
|
|
||||
|
a:hover { |
||||
|
text-decoration: underline; |
||||
|
} |
||||
|
|
||||
|
.navigator-selected { |
||||
|
background: #ffa500; |
||||
|
} |
||||
|
|
||||
|
.wrapper { |
||||
|
position: absolute; |
||||
|
top: 60px; |
||||
|
bottom: 0; |
||||
|
left: 400px; |
||||
|
right: 0; |
||||
|
overflow: auto; |
||||
|
} |
||||
|
|
||||
|
.navigator-root { |
||||
|
position: absolute; |
||||
|
top: 60px; |
||||
|
bottom: 0; |
||||
|
left: 0; |
||||
|
width: 400px; |
||||
|
overflow-y: auto; |
||||
|
} |
||||
|
|
||||
|
.suite { |
||||
|
margin: 0 10px 10px 0; |
||||
|
background-color: #fff8dc; |
||||
|
} |
||||
|
|
||||
|
.suite-name { |
||||
|
padding-left: 10px; |
||||
|
font-size: 25px; |
||||
|
font-family: Times, sans-serif; |
||||
|
} |
||||
|
|
||||
|
.main-panel-header { |
||||
|
padding: 5px; |
||||
|
background-color: #9FB4D9; /*afeeee*/; |
||||
|
font-family: monospace; |
||||
|
font-size: 18px; |
||||
|
} |
||||
|
|
||||
|
.main-panel-content { |
||||
|
padding: 5px; |
||||
|
margin-bottom: 10px; |
||||
|
background-color: #DEE8FC; /*d0ffff*/; |
||||
|
} |
||||
|
|
||||
|
.rounded-window { |
||||
|
border-radius: 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 1px; |
||||
|
} |
||||
|
|
||||
|
.rounded-window-top { |
||||
|
border-top-right-radius: 10px 10px; |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 1px; |
||||
|
overflow: auto; |
||||
|
} |
||||
|
|
||||
|
.light-rounded-window-top { |
||||
|
border-top-right-radius: 10px 10px; |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
} |
||||
|
|
||||
|
.rounded-window-bottom { |
||||
|
border-style: solid; |
||||
|
border-width: 0 1px 1px 1px; |
||||
|
border-bottom-right-radius: 10px 10px; |
||||
|
border-bottom-left-radius: 10px 10px; |
||||
|
overflow: auto; |
||||
|
} |
||||
|
|
||||
|
.method-name { |
||||
|
font-size: 12px; |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.method-content { |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 1px 0; |
||||
|
margin-bottom: 10px; |
||||
|
padding-bottom: 5px; |
||||
|
width: 80%; |
||||
|
} |
||||
|
|
||||
|
.parameters { |
||||
|
font-size: 14px; |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.stack-trace { |
||||
|
white-space: pre; |
||||
|
font-family: monospace; |
||||
|
font-size: 12px; |
||||
|
font-weight: bold; |
||||
|
margin-top: 0; |
||||
|
margin-left: 20px; |
||||
|
} |
||||
|
|
||||
|
.testng-xml { |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.method-list-content { |
||||
|
margin-left: 10px; |
||||
|
} |
||||
|
|
||||
|
.navigator-suite-content { |
||||
|
margin-left: 10px; |
||||
|
font: 12px 'Lucida Grande'; |
||||
|
} |
||||
|
|
||||
|
.suite-section-title { |
||||
|
margin-top: 10px; |
||||
|
width: 80%; |
||||
|
border-style: solid; |
||||
|
border-width: 1px 0 0 0; |
||||
|
font-family: Times, sans-serif; |
||||
|
font-size: 18px; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.suite-section-content { |
||||
|
list-style-image: url(bullet_point.png); |
||||
|
} |
||||
|
|
||||
|
.top-banner-root { |
||||
|
position: absolute; |
||||
|
top: 0; |
||||
|
height: 45px; |
||||
|
left: 0; |
||||
|
right: 0; |
||||
|
padding: 5px; |
||||
|
margin: 0 0 5px 0; |
||||
|
background-color: #0066ff; |
||||
|
font-family: Times, sans-serif; |
||||
|
color: #fff; |
||||
|
text-align: center; |
||||
|
} |
||||
|
|
||||
|
.top-banner-title-font { |
||||
|
font-size: 25px; |
||||
|
} |
||||
|
|
||||
|
.test-name { |
||||
|
font-family: 'Lucida Grande', sans-serif; |
||||
|
font-size: 16px; |
||||
|
} |
||||
|
|
||||
|
.suite-icon { |
||||
|
padding: 5px; |
||||
|
float: right; |
||||
|
height: 20px; |
||||
|
} |
||||
|
|
||||
|
.test-group { |
||||
|
font: 20px 'Lucida Grande'; |
||||
|
margin: 5px 5px 10px 5px; |
||||
|
border-width: 0 0 1px 0; |
||||
|
border-style: solid; |
||||
|
padding: 5px; |
||||
|
} |
||||
|
|
||||
|
.test-group-name { |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.method-in-group { |
||||
|
font-size: 16px; |
||||
|
margin-left: 80px; |
||||
|
} |
||||
|
|
||||
|
table.google-visualization-table-table { |
||||
|
width: 100%; |
||||
|
} |
||||
|
|
||||
|
.reporter-method-name { |
||||
|
font-size: 14px; |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.reporter-method-output-div { |
||||
|
padding: 5px; |
||||
|
margin: 0 0 5px 20px; |
||||
|
font-size: 12px; |
||||
|
font-family: monospace; |
||||
|
border-width: 0 0 0 1px; |
||||
|
border-style: solid; |
||||
|
} |
||||
|
|
||||
|
.ignored-class-div { |
||||
|
font-size: 14px; |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.ignored-methods-div { |
||||
|
padding: 5px; |
||||
|
margin: 0 0 5px 20px; |
||||
|
font-size: 12px; |
||||
|
font-family: monospace; |
||||
|
border-width: 0 0 0 1px; |
||||
|
border-style: solid; |
||||
|
} |
||||
|
|
||||
|
.border-failed { |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
border-bottom-left-radius: 10px 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 0 10px; |
||||
|
border-color: #f00; |
||||
|
} |
||||
|
|
||||
|
.border-skipped { |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
border-bottom-left-radius: 10px 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 0 10px; |
||||
|
border-color: #edc600; |
||||
|
} |
||||
|
|
||||
|
.border-passed { |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
border-bottom-left-radius: 10px 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 0 10px; |
||||
|
border-color: #19f52d; |
||||
|
} |
||||
|
|
||||
|
.times-div { |
||||
|
text-align: center; |
||||
|
padding: 5px; |
||||
|
} |
||||
|
|
||||
|
.suite-total-time { |
||||
|
font: 16px 'Lucida Grande'; |
||||
|
} |
||||
|
|
||||
|
.configuration-suite { |
||||
|
margin-left: 20px; |
||||
|
} |
||||
|
|
||||
|
.configuration-test { |
||||
|
margin-left: 40px; |
||||
|
} |
||||
|
|
||||
|
.configuration-class { |
||||
|
margin-left: 60px; |
||||
|
} |
||||
|
|
||||
|
.configuration-method { |
||||
|
margin-left: 80px; |
||||
|
} |
||||
|
|
||||
|
.test-method { |
||||
|
margin-left: 100px; |
||||
|
} |
||||
|
|
||||
|
.chronological-class { |
||||
|
background-color: skyblue; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 1px 1px; |
||||
|
} |
||||
|
|
||||
|
.method-start { |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.chronological-class-name { |
||||
|
padding: 0 0 0 5px; |
||||
|
color: #008; |
||||
|
} |
||||
|
|
||||
|
.after, .before, .test-method { |
||||
|
font-family: monospace; |
||||
|
font-size: 14px; |
||||
|
} |
||||
|
|
||||
|
.navigator-suite-header { |
||||
|
font-size: 22px; |
||||
|
margin: 0 10px 5px 0; |
||||
|
background-color: #deb887; |
||||
|
text-align: center; |
||||
|
} |
||||
|
|
||||
|
.collapse-all-icon { |
||||
|
padding: 5px; |
||||
|
float: right; |
||||
|
} |
||||
@ -0,0 +1,122 @@ |
|||||
|
$(document).ready(function() { |
||||
|
$('a.navigator-link').on("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('navigator-selected'); |
||||
|
|
||||
|
showPanel(panel); |
||||
|
}); |
||||
|
|
||||
|
installMethodHandlers('failed'); |
||||
|
installMethodHandlers('skipped'); |
||||
|
installMethodHandlers('passed', true); // hide passed methods by default
|
||||
|
|
||||
|
$('a.method').on("click", function() { |
||||
|
showMethod($(this)); |
||||
|
return false; |
||||
|
}); |
||||
|
|
||||
|
// Hide all the panels and display the first one (do this last
|
||||
|
// to make sure the click() will invoke the listeners)
|
||||
|
$('.panel').hide(); |
||||
|
$('.navigator-link').first().trigger("click"); |
||||
|
|
||||
|
// Collapse/expand the suites
|
||||
|
$('a.collapse-all-link').on("click", function() { |
||||
|
var contents = $('.navigator-suite-content'); |
||||
|
if (contents.css('display') == 'none') { |
||||
|
contents.show(); |
||||
|
} else { |
||||
|
contents.hide(); |
||||
|
} |
||||
|
}); |
||||
|
}); |
||||
|
|
||||
|
// The handlers that take care of showing/hiding the methods
|
||||
|
function installMethodHandlers(name, hide) { |
||||
|
function getContent(t) { |
||||
|
return $('.method-list-content.' + name + "." + t.attr('panel-name')); |
||||
|
} |
||||
|
|
||||
|
function getHideLink(t, name) { |
||||
|
var s = 'a.hide-methods.' + name + "." + t.attr('panel-name'); |
||||
|
return $(s); |
||||
|
} |
||||
|
|
||||
|
function getShowLink(t, name) { |
||||
|
return $('a.show-methods.' + name + "." + t.attr('panel-name')); |
||||
|
} |
||||
|
|
||||
|
function getMethodPanelClassSel(element, name) { |
||||
|
var panelName = getPanelName(element); |
||||
|
var sel = '.' + panelName + "-class-" + name; |
||||
|
return $(sel); |
||||
|
} |
||||
|
|
||||
|
$('a.hide-methods.' + name).on("click", function() { |
||||
|
var w = getContent($(this)); |
||||
|
w.hide(); |
||||
|
getHideLink($(this), name).hide(); |
||||
|
getShowLink($(this), name).show(); |
||||
|
getMethodPanelClassSel($(this), name).hide(); |
||||
|
}); |
||||
|
|
||||
|
$('a.show-methods.' + name).on("click", function() { |
||||
|
var w = getContent($(this)); |
||||
|
w.show(); |
||||
|
getHideLink($(this), name).show(); |
||||
|
getShowLink($(this), name).hide(); |
||||
|
showPanel(getPanelName($(this))); |
||||
|
getMethodPanelClassSel($(this), name).show(); |
||||
|
}); |
||||
|
|
||||
|
if (hide) { |
||||
|
$('a.hide-methods.' + name).trigger("click"); |
||||
|
} else { |
||||
|
$('a.show-methods.' + name).trigger("click"); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
function getHashForMethod(element) { |
||||
|
return element.attr('hash-for-method'); |
||||
|
} |
||||
|
|
||||
|
function getPanelName(element) { |
||||
|
return element.attr('panel-name'); |
||||
|
} |
||||
|
|
||||
|
function showPanel(panelName) { |
||||
|
$('.panel').hide(); |
||||
|
var panel = $('.panel[panel-name="' + panelName + '"]'); |
||||
|
panel.show(); |
||||
|
} |
||||
|
|
||||
|
function showMethod(element) { |
||||
|
var hashTag = getHashForMethod(element); |
||||
|
var panelName = getPanelName(element); |
||||
|
showPanel(panelName); |
||||
|
var current = document.location.href; |
||||
|
var base = current.substring(0, current.indexOf('#')) |
||||
|
document.location.href = base + '#' + hashTag; |
||||
|
var newPosition = $(document).scrollTop() - 65; |
||||
|
$(document).scrollTop(newPosition); |
||||
|
} |
||||
|
|
||||
|
function drawTable() { |
||||
|
for (var i = 0; i < suiteTableInitFunctions.length; i++) { |
||||
|
window[suiteTableInitFunctions[i]](); |
||||
|
} |
||||
|
|
||||
|
for (var k in window.suiteTableData) { |
||||
|
var v = window.suiteTableData[k]; |
||||
|
var div = v.tableDiv; |
||||
|
var data = v.tableData |
||||
|
var table = new google.visualization.Table(document.getElementById(div)); |
||||
|
table.draw(data, { |
||||
|
showRowNumber : false |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,127 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<testng-results ignored="0" total="1" passed="0" failed="0" skipped="1"> |
||||
|
<reporter-output> |
||||
|
</reporter-output> |
||||
|
<suite started-at="2021-04-20T09:18:56 UTC" name="testing.TestNGBasics" finished-at="2021-04-20T09:18:56 UTC" duration-ms="515"> |
||||
|
<groups> |
||||
|
</groups> |
||||
|
<test started-at="2021-04-20T09:18:56 UTC" name="Command line test" finished-at="2021-04-20T09:18:56 UTC" duration-ms="515"> |
||||
|
<class name="testing.TestNGBasics"> |
||||
|
<test-method is-config="true" signature="setUp()[pri:0, instance:testing.TestNGBasics@1a451d4d]" started-at="2021-04-20T09:18:56 UTC" name="setUp" finished-at="2021-04-20T09:18:56 UTC" duration-ms="494" status="FAIL"> |
||||
|
<exception class="software.amazon.awssdk.core.exception.SdkClientException"> |
||||
|
<message> |
||||
|
<![CDATA[Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey).]]> |
||||
|
</message> |
||||
|
<full-stacktrace> |
||||
|
<![CDATA[software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:63) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:348) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:302) |
||||
|
at org.testng.TestRunner.invokeTestConfigurations(TestRunner.java:619) |
||||
|
at org.testng.TestRunner.beforeRun(TestRunner.java:609) |
||||
|
at org.testng.TestRunner.run(TestRunner.java:580) |
||||
|
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384) |
||||
|
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) |
||||
|
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) |
||||
|
at org.testng.SuiteRunner.run(SuiteRunner.java:286) |
||||
|
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) |
||||
|
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) |
||||
|
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187) |
||||
|
at org.testng.TestNG.runSuitesLocally(TestNG.java:1109) |
||||
|
at org.testng.TestNG.runSuites(TestNG.java:1039) |
||||
|
at org.testng.TestNG.run(TestNG.java:1007) |
||||
|
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) |
||||
|
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110) |
||||
|
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) |
||||
|
]]> |
||||
|
</full-stacktrace> |
||||
|
</exception> <!-- software.amazon.awssdk.core.exception.SdkClientException --> |
||||
|
<reporter-output> |
||||
|
</reporter-output> |
||||
|
</test-method> <!-- setUp --> |
||||
|
<test-method signature="userLogin()[pri:0, instance:testing.TestNGBasics@1a451d4d]" started-at="2021-04-20T09:18:56 UTC" name="userLogin" finished-at="2021-04-20T09:18:56 UTC" duration-ms="0" status="SKIP"> |
||||
|
<exception class="software.amazon.awssdk.core.exception.SdkClientException"> |
||||
|
<message> |
||||
|
<![CDATA[Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey).]]> |
||||
|
</message> |
||||
|
<full-stacktrace> |
||||
|
<![CDATA[software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from system settings. Secret key must be specified either via environment variable (AWS_SECRET_ACCESS_KEY) or system property (aws.secretAccessKey). |
||||
|
at software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:97) |
||||
|
at software.amazon.awssdk.auth.credentials.internal.SystemSettingsCredentialsProvider.resolveCredentials(SystemSettingsCredentialsProvider.java:67) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsClientHandlerUtils.createExecutionContext(AwsClientHandlerUtils.java:72) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.createExecutionContext(AwsSyncClientHandler.java:68) |
||||
|
at software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler.execute(BaseSyncClientHandler.java:88) |
||||
|
at software.amazon.awssdk.core.client.handler.SdkSyncClientHandler.execute(SdkSyncClientHandler.java:45) |
||||
|
at software.amazon.awssdk.awscore.client.handler.AwsSyncClientHandler.execute(AwsSyncClientHandler.java:55) |
||||
|
at software.amazon.awssdk.services.devicefarm.DefaultDeviceFarmClient.createTestGridUrl(DefaultDeviceFarmClient.java:633) |
||||
|
at testing.TestNGBasics.setUp(TestNGBasics.java:33) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:134) |
||||
|
at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:63) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:348) |
||||
|
at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:302) |
||||
|
at org.testng.TestRunner.invokeTestConfigurations(TestRunner.java:619) |
||||
|
at org.testng.TestRunner.beforeRun(TestRunner.java:609) |
||||
|
at org.testng.TestRunner.run(TestRunner.java:580) |
||||
|
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384) |
||||
|
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) |
||||
|
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) |
||||
|
at org.testng.SuiteRunner.run(SuiteRunner.java:286) |
||||
|
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) |
||||
|
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) |
||||
|
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1187) |
||||
|
at org.testng.TestNG.runSuitesLocally(TestNG.java:1109) |
||||
|
at org.testng.TestNG.runSuites(TestNG.java:1039) |
||||
|
at org.testng.TestNG.run(TestNG.java:1007) |
||||
|
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77) |
||||
|
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:110) |
||||
|
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:106) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
||||
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
||||
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
||||
|
at java.base/java.lang.reflect.Method.invoke(Method.java:566) |
||||
|
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) |
||||
|
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) |
||||
|
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) |
||||
|
]]> |
||||
|
</full-stacktrace> |
||||
|
</exception> <!-- software.amazon.awssdk.core.exception.SdkClientException --> |
||||
|
<reporter-output> |
||||
|
</reporter-output> |
||||
|
</test-method> <!-- userLogin --> |
||||
|
<test-method is-config="true" signature="tearDown()[pri:0, instance:testing.TestNGBasics@1a451d4d]" started-at="2021-04-20T09:18:56 UTC" name="tearDown" finished-at="1970-01-01T00:00:00 UTC" duration-ms="-1618910336871" status="SKIP"> |
||||
|
<reporter-output> |
||||
|
</reporter-output> |
||||
|
</test-method> <!-- tearDown --> |
||||
|
</class> <!-- testing.TestNGBasics --> |
||||
|
</test> <!-- Command line test --> |
||||
|
</suite> <!-- testing.TestNGBasics --> |
||||
|
</testng-results> |
||||
@ -0,0 +1,9 @@ |
|||||
|
.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; |
||||
|
} |
||||
|
|
||||
@ -0,0 +1,84 @@ |
|||||
|
<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(e) { |
||||
|
current = e.style.display; |
||||
|
if (current == 'block') { |
||||
|
e.style.display = 'none'; |
||||
|
return 0; |
||||
|
} |
||||
|
else { |
||||
|
e.style.display = 'block'; |
||||
|
return 1; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
function toggleBox(szDivId, elem, msg1, msg2) |
||||
|
{ |
||||
|
var res = -1; if (document.getElementById) { |
||||
|
res = flip(document.getElementById(szDivId)); |
||||
|
} |
||||
|
else if (document.all) { |
||||
|
// this is the way old msie versions work |
||||
|
res = flip(document.all[szDivId]); |
||||
|
} |
||||
|
if(elem) { |
||||
|
if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2; |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
|
||||
|
function toggleAllBoxes() { |
||||
|
if (document.getElementsByTagName) { |
||||
|
d = document.getElementsByTagName('div'); |
||||
|
for (i = 0; i < d.length; i++) { |
||||
|
if (d[i].className == 'log') { |
||||
|
flip(d[i]); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
// --> |
||||
|
</script> |
||||
|
|
||||
|
</head> |
||||
|
<body> |
||||
|
<h2 align='center'>Default test</h2><table border='1' align="center"> |
||||
|
<tr> |
||||
|
<td>Tests passed/Failed/Skipped:</td><td>1/0/0</td> |
||||
|
</tr><tr> |
||||
|
<td>Started on:</td><td>Wed Mar 17 06:15:46 CDT 2021</td> |
||||
|
</tr> |
||||
|
<tr><td>Total time:</td><td>59 seconds (59025 ms)</td> |
||||
|
</tr><tr> |
||||
|
<td>Included groups:</td><td></td> |
||||
|
</tr><tr> |
||||
|
<td>Excluded groups:</td><td></td> |
||||
|
</tr> |
||||
|
</table><p/> |
||||
|
<small><i>(Hover the method name to see the test class name)</i></small><p/> |
||||
|
<table width='100%' border='1' class='invocation-passed'> |
||||
|
<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr> |
||||
|
<tr><td><b>Test method</b></td> |
||||
|
<td width="30%"><b>Exception</b></td> |
||||
|
<td width="10%"><b>Time (seconds)</b></td> |
||||
|
<td><b>Instance</b></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td title='testing.TestNGBasics.userLogin()'><b>userLogin</b><br>Test class: testing.TestNGBasics</td> |
||||
|
<td></td> |
||||
|
<td>4</td> |
||||
|
<td>testing.TestNGBasics@51dcb805</td></tr> |
||||
|
</table><p> |
||||
|
</body> |
||||
|
</html> |
||||
@ -0,0 +1,5 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!-- Generated by org.testng.reporters.JUnitXMLReporter --> |
||||
|
<testsuite ignored="0" hostname="USLH103805" failures="0" tests="1" name="Default test" time="59.025" errors="0" timestamp="2021-03-17T06:16:45 CDT"> |
||||
|
<testcase classname="testing.TestNGBasics" name="userLogin" time="4.327"/> |
||||
|
</testsuite> <!-- Default test --> |
||||
@ -0,0 +1,15 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd"> |
||||
|
<suite name="Failed suite [Default suite]" guice-stage="DEVELOPMENT"> |
||||
|
<test thread-count="5" name="Default test(failed)"> |
||||
|
<classes> |
||||
|
<class name="testing.TestNGBasics"> |
||||
|
<methods> |
||||
|
<include name="userLogin"/> |
||||
|
<include name="tearDown"/> |
||||
|
<include name="setUp"/> |
||||
|
</methods> |
||||
|
</class> <!-- testing.TestNGBasics --> |
||||
|
</classes> |
||||
|
</test> <!-- Default test(failed) --> |
||||
|
</suite> <!-- Failed suite [Default suite] --> |
||||
@ -0,0 +1,18 @@ |
|||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
||||
|
<html xmlns="https://www.w3.org/1999/xhtml"> |
||||
|
<head> |
||||
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> |
||||
|
<title>TestNG Report</title> |
||||
|
<style type="text/css">table {margin-bottom:10px;border-collapse:collapse;empty-cells:show}th,td {border:1px solid #009;padding:.25em .5em}th {vertical-align:bottom}td {vertical-align:top}table a {font-weight:bold}.stripe td {background-color: #E6EBF9}.num {text-align:right}.passedodd td {background-color: #3F3}.passedeven td {background-color: #0A0}.skippedodd td {background-color: #DDD}.skippedeven td {background-color: #CCC}.failedodd td,.attn {background-color: #F33}.failedeven td,.stripe .attn {background-color: #D00}.stacktrace {white-space:pre;font-family:monospace}.totop {font-size:85%;text-align:center;border-bottom:2px solid #000}.invisible {display:none}</style> |
||||
|
</head> |
||||
|
<body> |
||||
|
<table> |
||||
|
<tr><th>Test</th><th># Passed</th><th># Skipped</th><th># Retried</th><th># Failed</th><th>Time (ms)</th><th>Included Groups</th><th>Excluded Groups</th></tr> |
||||
|
<tr><th colspan="8">Default suite</th></tr> |
||||
|
<tr><td><a href="#t0">Default test</a></td><td class="num">1</td><td class="num">0</td><td class="num">0</td><td class="num">0</td><td class="num">59,025</td><td></td><td></td></tr> |
||||
|
</table> |
||||
|
<table id='summary'><thead><tr><th>Class</th><th>Method</th><th>Start</th><th>Time (ms)</th></tr></thead><tbody><tr><th colspan="4">Default suite</th></tr></tbody><tbody id="t0"><tr><th colspan="4">Default test — passed</th></tr><tr class="passedeven"><td rowspan="1">testing.TestNGBasics</td><td><a href="#m0">userLogin</a></td><td rowspan="1">1615979791049</td><td rowspan="1">4327</td></tr></tbody> |
||||
|
</table> |
||||
|
<h2>Default test</h2><h3 id="m0">testing.TestNGBasics#userLogin</h3><table class="result"><tr><th class="invisible"/></tr></table><p class="totop"><a href="#summary">back to summary</a></p> |
||||
|
</body> |
||||
|
</html> |
||||
@ -0,0 +1,244 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
|
||||
|
<html> |
||||
|
<head> |
||||
|
<meta charset='utf-8'> |
||||
|
<title>TestNG reports</title> |
||||
|
|
||||
|
<link type="text/css" href="testng-reports1.css" rel="stylesheet" id="ultra" /> |
||||
|
<link type="text/css" href="testng-reports.css" rel="stylesheet" id="retro" disabled="false"/> |
||||
|
<script type="text/javascript" src="jquery-3.4.1.min.js"></script> |
||||
|
<script type="text/javascript" src="testng-reports.js"></script> |
||||
|
<script type="text/javascript" src="https://www.google.com/jsapi"></script> |
||||
|
<script type='text/javascript'> |
||||
|
google.load('visualization', '1', {packages:['table']}); |
||||
|
google.setOnLoadCallback(drawTable); |
||||
|
var suiteTableInitFunctions = new Array(); |
||||
|
var suiteTableData = new Array(); |
||||
|
</script> |
||||
|
<!-- |
||||
|
<script type="text/javascript" src="jquery-ui/js/jquery-ui-1.8.16.custom.min.js"></script> |
||||
|
--> |
||||
|
</head> |
||||
|
|
||||
|
<body> |
||||
|
<div class="top-banner-root"> |
||||
|
<span class="top-banner-title-font">Test results</span> |
||||
|
<button id="button" class="button">Switch Retro Theme</button> <!-- button --> |
||||
|
<br/> |
||||
|
<span class="top-banner-font-1">1 suite</span> |
||||
|
</div> <!-- top-banner-root --> |
||||
|
<div class="navigator-root"> |
||||
|
<div class="navigator-suite-header"> |
||||
|
<span>All suites</span> |
||||
|
<a href="#" title="Collapse/expand all the suites" class="collapse-all-link"> |
||||
|
<img src="collapseall.gif" class="collapse-all-icon"> |
||||
|
</img> <!-- collapse-all-icon --> |
||||
|
</a> <!-- collapse-all-link --> |
||||
|
</div> <!-- navigator-suite-header --> |
||||
|
<div class="suite"> |
||||
|
<div class="rounded-window"> |
||||
|
<div class="suite-header light-rounded-window-top"> |
||||
|
<a href="#" panel-name="suite-Default_suite" class="navigator-link"> |
||||
|
<span class="suite-name border-passed">Default suite</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</div> <!-- suite-header light-rounded-window-top --> |
||||
|
<div class="navigator-suite-content"> |
||||
|
<div class="suite-section-title"> |
||||
|
<span>Info</span> |
||||
|
</div> <!-- suite-section-title --> |
||||
|
<div class="suite-section-content"> |
||||
|
<ul> |
||||
|
<li> |
||||
|
<a href="#" panel-name="test-xml-Default_suite" class="navigator-link "> |
||||
|
<span>C:\Users\saifa\AppData\Local\Temp\testng-eclipse-1489902693\testng-customsuite.xml</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="testlist-Default_suite" class="navigator-link "> |
||||
|
<span class="test-stats">1 test</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="group-Default_suite" class="navigator-link "> |
||||
|
<span>0 groups</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="times-Default_suite" class="navigator-link "> |
||||
|
<span>Times</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="reporter-Default_suite" class="navigator-link "> |
||||
|
<span>Reporter output</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="ignored-methods-Default_suite" class="navigator-link "> |
||||
|
<span>Ignored methods</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="#" panel-name="chronological-Default_suite" class="navigator-link "> |
||||
|
<span>Chronological view</span> |
||||
|
</a> <!-- navigator-link --> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> <!-- suite-section-content --> |
||||
|
<div class="result-section"> |
||||
|
<div class="suite-section-title"> |
||||
|
<span>Results</span> |
||||
|
</div> <!-- suite-section-title --> |
||||
|
<div class="suite-section-content"> |
||||
|
<ul> |
||||
|
<li> |
||||
|
<span class="method-stats">1 method, 1 passed</span> |
||||
|
</li> |
||||
|
<li> |
||||
|
<span class="method-list-title passed">Passed methods</span> |
||||
|
<span class="show-or-hide-methods passed"> |
||||
|
<a href="#" panel-name="suite-Default_suite" class="hide-methods passed suite-Default_suite"> (hide)</a> <!-- hide-methods passed suite-Default_suite --> |
||||
|
<a href="#" panel-name="suite-Default_suite" class="show-methods passed suite-Default_suite"> (show)</a> <!-- show-methods passed suite-Default_suite --> |
||||
|
</span> |
||||
|
<div class="method-list-content passed suite-Default_suite"> |
||||
|
<span> |
||||
|
<img src="passed.png" width="3%"/> |
||||
|
<a href="#" panel-name="suite-Default_suite" title="testing.TestNGBasics" class="method navigator-link" hash-for-method="userLogin">userLogin</a> <!-- method navigator-link --> |
||||
|
</span> |
||||
|
<br/> |
||||
|
</div> <!-- method-list-content passed suite-Default_suite --> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> <!-- suite-section-content --> |
||||
|
</div> <!-- result-section --> |
||||
|
</div> <!-- navigator-suite-content --> |
||||
|
</div> <!-- rounded-window --> |
||||
|
</div> <!-- suite --> |
||||
|
</div> <!-- navigator-root --> |
||||
|
<div class="wrapper"> |
||||
|
<div class="main-panel-root"> |
||||
|
<div panel-name="suite-Default_suite" class="panel Default_suite"> |
||||
|
<div class="suite-Default_suite-class-passed"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<img src="passed.png"/> |
||||
|
<span class="class-name">testing.TestNGBasics</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<div class="method"> |
||||
|
<div class="method-content"> |
||||
|
<a name="userLogin"> |
||||
|
</a> <!-- userLogin --> |
||||
|
<span class="method-name">userLogin</span> |
||||
|
</div> <!-- method-content --> |
||||
|
</div> <!-- method --> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- suite-Default_suite-class-passed --> |
||||
|
</div> <!-- panel Default_suite --> |
||||
|
<div panel-name="test-xml-Default_suite" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">C:\Users\saifa\AppData\Local\Temp\testng-eclipse-1489902693\testng-customsuite.xml</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<pre> |
||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd"> |
||||
|
<suite name="Default suite" guice-stage="DEVELOPMENT"> |
||||
|
<test thread-count="5" name="Default test" verbose="2"> |
||||
|
<classes> |
||||
|
<class name="testing.Activity1"/> |
||||
|
<class name="testing.TestNGBasics"/> |
||||
|
</classes> |
||||
|
</test> <!-- Default test --> |
||||
|
</suite> <!-- Default suite --> |
||||
|
</pre> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="testlist-Default_suite" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Tests for Default suite</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<ul> |
||||
|
<li> |
||||
|
<span class="test-name">Default test (2 classes)</span> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="group-Default_suite" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Groups for Default suite</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="times-Default_suite" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Times for Default suite</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<div class="times-div"> |
||||
|
<script type="text/javascript"> |
||||
|
suiteTableInitFunctions.push('tableData_Default_suite'); |
||||
|
function tableData_Default_suite() { |
||||
|
var data = new google.visualization.DataTable(); |
||||
|
data.addColumn('number', 'Number'); |
||||
|
data.addColumn('string', 'Method'); |
||||
|
data.addColumn('string', 'Class'); |
||||
|
data.addColumn('number', 'Time (ms)'); |
||||
|
data.addRows(1); |
||||
|
data.setCell(0, 0, 0) |
||||
|
data.setCell(0, 1, 'userLogin') |
||||
|
data.setCell(0, 2, 'testing.TestNGBasics') |
||||
|
data.setCell(0, 3, 4327); |
||||
|
window.suiteTableData['Default_suite']= { tableData: data, tableDiv: 'times-div-Default_suite'} |
||||
|
return data; |
||||
|
} |
||||
|
</script> |
||||
|
<span class="suite-total-time">Total running time: 4 seconds</span> |
||||
|
<div id="times-div-Default_suite"> |
||||
|
</div> <!-- times-div-Default_suite --> |
||||
|
</div> <!-- times-div --> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="reporter-Default_suite" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Reporter output for Default suite</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="ignored-methods-Default_suite" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">0 ignored methods</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
<div panel-name="chronological-Default_suite" class="panel"> |
||||
|
<div class="main-panel-header rounded-window-top"> |
||||
|
<span class="header-content">Methods in chronological order</span> |
||||
|
</div> <!-- main-panel-header rounded-window-top --> |
||||
|
<div class="main-panel-content rounded-window-bottom"> |
||||
|
<div class="chronological-class"> |
||||
|
<div class="chronological-class-name">testing.TestNGBasics</div> <!-- chronological-class-name --> |
||||
|
<div class="configuration-test before"> |
||||
|
<span class="method-name">setUp</span> |
||||
|
<span class="method-start">0 ms</span> |
||||
|
</div> <!-- configuration-test before --> |
||||
|
<div class="test-method"> |
||||
|
<span class="method-name">userLogin</span> |
||||
|
<span class="method-start">44433 ms</span> |
||||
|
</div> <!-- test-method --> |
||||
|
<div class="configuration-test after"> |
||||
|
<span class="method-name">tearDown</span> |
||||
|
<span class="method-start">48775 ms</span> |
||||
|
</div> <!-- configuration-test after --> |
||||
|
</div> <!-- main-panel-content rounded-window-bottom --> |
||||
|
</div> <!-- panel --> |
||||
|
</div> <!-- main-panel-root --> |
||||
|
</div> <!-- wrapper --> |
||||
|
</body> |
||||
|
<script type="text/javascript" src="testng-reports2.js"></script> |
||||
|
</html> |
||||
2
tes/test-output/jquery-3.4.1.min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,6 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!-- Generated by org.testng.reporters.JUnitReportReporter --> |
||||
|
<testsuite hostname="USLH103805" failures="0" tests="1" name="testing.TestNGBasics" time="4.327" errors="0" timestamp="2021-03-17T06:16:46 CDT" skipped="0"> |
||||
|
<testcase classname="testing.TestNGBasics" name="userLogin" time="4.327"/> |
||||
|
<system-out/> |
||||
|
</testsuite> <!-- testing.TestNGBasics --> |
||||
@ -0,0 +1 @@ |
|||||
|
[SuiteResult context=Default test] |
||||
@ -0,0 +1,28 @@ |
|||||
|
<table border='1'> |
||||
|
<tr> |
||||
|
<th>Class name</th> |
||||
|
<th>Method name</th> |
||||
|
<th>Groups</th> |
||||
|
</tr><tr> |
||||
|
<td>testing.TestNGBasics</td> |
||||
|
<td> </td><td> </td></tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@Test</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td> </td> |
||||
|
<td>userLogin</td> |
||||
|
<td> </td></tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@BeforeClass</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@BeforeMethod</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@AfterMethod</td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td align='center' colspan='3'>@AfterClass</td> |
||||
|
</tr> |
||||
|
</table> |
||||
@ -0,0 +1 @@ |
|||||
|
<h2>Groups used for this test run</h2> |
||||
@ -0,0 +1,6 @@ |
|||||
|
<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> |
||||
@ -0,0 +1,2 @@ |
|||||
|
<html><head><title>Results for Default suite</title></head> |
||||
|
<body>Select a result on the left-hand pane.</body></html> |
||||
@ -0,0 +1,10 @@ |
|||||
|
<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</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> |
||||
|
<tr bgcolor="8c9b9d"> <td>21/03/17 06:15:46</td> <td>0</td> <td> </td><td title=">>TestNGBasics.setUp()[pri:0, instance:testing.TestNGBasics@51dcb805]">>>setUp</td> |
||||
|
<td> </td><td> </td><td> </td><td> </td> <td>main@854487022</td> <td></td> </tr> |
||||
|
<tr bgcolor="8c9b9d"> <td>21/03/17 06:16:35</td> <td>48759</td> <td> </td><td title="<<TestNGBasics.tearDown()[pri:0, instance:testing.TestNGBasics@51dcb805]"><<tearDown</td> |
||||
|
<td> </td><td> </td><td> </td><td> </td> <td>main@854487022</td> <td></td> </tr> |
||||
|
<tr bgcolor="8c9b9d"> <td>21/03/17 06:16:31</td> <td>44415</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestNGBasics.userLogin()[pri:0, instance:testing.TestNGBasics@51dcb805]">userLogin</td> |
||||
|
<td>main@854487022</td> <td></td> </tr> |
||||
|
</table> |
||||
@ -0,0 +1,2 @@ |
|||||
|
<h2>Methods that were not run</h2><table> |
||||
|
</table> |
||||
@ -0,0 +1,10 @@ |
|||||
|
<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</th><th>Class<br>configuration</th><th>Groups<br>configuration</th><th>Method<br>configuration</th><th>Test<br>method</th><th>Thread</th><th>Instances</th></tr> |
||||
|
<tr bgcolor="8c9b9d"> <td>21/03/17 06:15:46</td> <td>0</td> <td> </td><td title=">>TestNGBasics.setUp()[pri:0, instance:testing.TestNGBasics@51dcb805]">>>setUp</td> |
||||
|
<td> </td><td> </td><td> </td><td> </td> <td>main@854487022</td> <td></td> </tr> |
||||
|
<tr bgcolor="8c9b9d"> <td>21/03/17 06:16:31</td> <td>44415</td> <td> </td><td> </td><td> </td><td> </td><td> </td><td title="TestNGBasics.userLogin()[pri:0, instance:testing.TestNGBasics@51dcb805]">userLogin</td> |
||||
|
<td>main@854487022</td> <td></td> </tr> |
||||
|
<tr bgcolor="8c9b9d"> <td>21/03/17 06:16:35</td> <td>48759</td> <td> </td><td title="<<TestNGBasics.tearDown()[pri:0, instance:testing.TestNGBasics@51dcb805]"><<tearDown</td> |
||||
|
<td> </td><td> </td><td> </td><td> </td> <td>main@854487022</td> <td></td> </tr> |
||||
|
</table> |
||||
@ -0,0 +1 @@ |
|||||
|
<h2>Reporter output</h2><table></table> |
||||
@ -0,0 +1 @@ |
|||||
|
<html><head><title>testng.xml for Default suite</title></head><body><tt><?xml version="1.0" encoding="UTF-8"?>
<br/><!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<br/><suite name="Default suite" guice-stage="DEVELOPMENT">
<br/> <test thread-count="5" name="Default test" verbose="2">
<br/> <classes>
<br/> <class name="testing.Activity1"/>
<br/> <class name="testing.TestNGBasics"/>
<br/> </classes>
<br/> </test> <!-- Default test -->
<br/></suite> <!-- Default suite -->
<br/></tt></body></html> |
||||
@ -0,0 +1,30 @@ |
|||||
|
<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'> |
||||
|
<td>1 test</td> |
||||
|
<td><a target='mainFrame' href='classes.html'>1 class</a></td> |
||||
|
<td>1 method:<br/> |
||||
|
<a target='mainFrame' href='methods.html'>chronological</a><br/> |
||||
|
<a target='mainFrame' href='methods-alphabetical.html'>alphabetical</a><br/> |
||||
|
<a target='mainFrame' href='methods-not-run.html'>not run (0)</a></td> |
||||
|
</tr> |
||||
|
<tr> |
||||
|
<td><a target='mainFrame' href='groups.html'>0 group</a></td> |
||||
|
<td><a target='mainFrame' href='reporter-output.html'>reporter output</a></td> |
||||
|
<td><a target='mainFrame' href='testng.xml.html'>testng.xml</a></td> |
||||
|
</tr></table> |
||||
|
<table width='100%' class='test-passed'> |
||||
|
<tr><td> |
||||
|
<table style='width: 100%'><tr><td valign='top'>Default test (1/0/0)</td><td valign='top' align='right'> |
||||
|
<a href='Default test.html' target='mainFrame'>Results</a> |
||||
|
</td></tr></table> |
||||
|
</td></tr><p/> |
||||
|
</table> |
||||
|
</body></html> |
||||
@ -0,0 +1,9 @@ |
|||||
|
<html> |
||||
|
<head><title></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</th><th>Skipped</th><th>testng.xml</th></tr> |
||||
|
<tr align='center' class='invocation-passed'><td><em>Total</em></td><td><em>1</em></td><td><em>0</em></td><td><em>0</em></td><td> </td></tr> |
||||
|
<tr align='center' class='invocation-passed'><td><a href='Default suite/index.html'>Default suite</a></td> |
||||
|
<td>1</td><td>0</td><td>0</td><td><a href='Default suite/testng.xml.html'>Link</a></td></tr></table></body></html> |
||||
@ -0,0 +1,15 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd"> |
||||
|
<suite name="Failed suite [Default suite]" guice-stage="DEVELOPMENT"> |
||||
|
<test thread-count="5" name="Default test(failed)"> |
||||
|
<classes> |
||||
|
<class name="testing.TestNGBasics"> |
||||
|
<methods> |
||||
|
<include name="userLogin"/> |
||||
|
<include name="tearDown"/> |
||||
|
<include name="setUp"/> |
||||
|
</methods> |
||||
|
</class> <!-- testing.TestNGBasics --> |
||||
|
</classes> |
||||
|
</test> <!-- Default test(failed) --> |
||||
|
</suite> <!-- Failed suite [Default suite] --> |
||||
@ -0,0 +1,326 @@ |
|||||
|
body { |
||||
|
margin: 0 0 5px 5px; |
||||
|
} |
||||
|
|
||||
|
ul { |
||||
|
margin: 0; |
||||
|
} |
||||
|
|
||||
|
li { |
||||
|
list-style-type: none; |
||||
|
} |
||||
|
|
||||
|
a { |
||||
|
text-decoration: none; |
||||
|
} |
||||
|
|
||||
|
a:hover { |
||||
|
text-decoration: underline; |
||||
|
} |
||||
|
|
||||
|
.navigator-selected { |
||||
|
background: #ffa500; |
||||
|
} |
||||
|
|
||||
|
.wrapper { |
||||
|
position: absolute; |
||||
|
top: 60px; |
||||
|
bottom: 0; |
||||
|
left: 400px; |
||||
|
right: 0; |
||||
|
overflow: auto; |
||||
|
} |
||||
|
|
||||
|
.navigator-root { |
||||
|
position: absolute; |
||||
|
top: 60px; |
||||
|
bottom: 0; |
||||
|
left: 0; |
||||
|
width: 400px; |
||||
|
overflow-y: auto; |
||||
|
} |
||||
|
|
||||
|
.suite { |
||||
|
margin: 0 10px 10px 0; |
||||
|
background-color: #fff8dc; |
||||
|
} |
||||
|
|
||||
|
.suite-name { |
||||
|
padding-left: 10px; |
||||
|
font-size: 25px; |
||||
|
font-family: Times, sans-serif; |
||||
|
} |
||||
|
|
||||
|
.main-panel-header { |
||||
|
padding: 5px; |
||||
|
background-color: #9FB4D9; /*afeeee*/; |
||||
|
font-family: monospace; |
||||
|
font-size: 18px; |
||||
|
} |
||||
|
|
||||
|
.main-panel-content { |
||||
|
padding: 5px; |
||||
|
margin-bottom: 10px; |
||||
|
background-color: #DEE8FC; /*d0ffff*/; |
||||
|
} |
||||
|
|
||||
|
.rounded-window { |
||||
|
border-radius: 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 1px; |
||||
|
} |
||||
|
|
||||
|
.rounded-window-top { |
||||
|
border-top-right-radius: 10px 10px; |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 1px; |
||||
|
overflow: auto; |
||||
|
} |
||||
|
|
||||
|
.light-rounded-window-top { |
||||
|
border-top-right-radius: 10px 10px; |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
} |
||||
|
|
||||
|
.rounded-window-bottom { |
||||
|
border-style: solid; |
||||
|
border-width: 0 1px 1px 1px; |
||||
|
border-bottom-right-radius: 10px 10px; |
||||
|
border-bottom-left-radius: 10px 10px; |
||||
|
overflow: auto; |
||||
|
} |
||||
|
|
||||
|
.method-name { |
||||
|
font-size: 12px; |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.method-content { |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 1px 0; |
||||
|
margin-bottom: 10px; |
||||
|
padding-bottom: 5px; |
||||
|
width: 80%; |
||||
|
} |
||||
|
|
||||
|
.parameters { |
||||
|
font-size: 14px; |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.stack-trace { |
||||
|
white-space: pre; |
||||
|
font-family: monospace; |
||||
|
font-size: 12px; |
||||
|
font-weight: bold; |
||||
|
margin-top: 0; |
||||
|
margin-left: 20px; |
||||
|
} |
||||
|
|
||||
|
.testng-xml { |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.method-list-content { |
||||
|
margin-left: 10px; |
||||
|
} |
||||
|
|
||||
|
.navigator-suite-content { |
||||
|
margin-left: 10px; |
||||
|
font: 12px 'Lucida Grande'; |
||||
|
} |
||||
|
|
||||
|
.suite-section-title { |
||||
|
margin-top: 10px; |
||||
|
width: 80%; |
||||
|
border-style: solid; |
||||
|
border-width: 1px 0 0 0; |
||||
|
font-family: Times, sans-serif; |
||||
|
font-size: 18px; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.suite-section-content { |
||||
|
list-style-image: url(bullet_point.png); |
||||
|
} |
||||
|
|
||||
|
.top-banner-root { |
||||
|
position: absolute; |
||||
|
top: 0; |
||||
|
height: 45px; |
||||
|
left: 0; |
||||
|
right: 0; |
||||
|
padding: 5px; |
||||
|
margin: 0 0 5px 0; |
||||
|
background-color: #0066ff; |
||||
|
font-family: Times, sans-serif; |
||||
|
color: #fff; |
||||
|
text-align: center; |
||||
|
} |
||||
|
.button{ |
||||
|
position: absolute; |
||||
|
margin-left:500px; |
||||
|
margin-top:8px; |
||||
|
background-color: white; |
||||
|
color:#0066ff; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
font-weight:bold; |
||||
|
border-color:#0066ff ; |
||||
|
border-radius:25px; |
||||
|
cursor: pointer; |
||||
|
height:30px; |
||||
|
width:150px; |
||||
|
outline:none; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
.top-banner-title-font { |
||||
|
font-size: 25px; |
||||
|
} |
||||
|
|
||||
|
.test-name { |
||||
|
font-family: 'Lucida Grande', sans-serif; |
||||
|
font-size: 16px; |
||||
|
} |
||||
|
|
||||
|
.suite-icon { |
||||
|
padding: 5px; |
||||
|
float: right; |
||||
|
height: 20px; |
||||
|
} |
||||
|
|
||||
|
.test-group { |
||||
|
font: 20px 'Lucida Grande'; |
||||
|
margin: 5px 5px 10px 5px; |
||||
|
border-width: 0 0 1px 0; |
||||
|
border-style: solid; |
||||
|
padding: 5px; |
||||
|
} |
||||
|
|
||||
|
.test-group-name { |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.method-in-group { |
||||
|
font-size: 16px; |
||||
|
margin-left: 80px; |
||||
|
} |
||||
|
|
||||
|
table.google-visualization-table-table { |
||||
|
width: 100%; |
||||
|
} |
||||
|
|
||||
|
.reporter-method-name { |
||||
|
font-size: 14px; |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.reporter-method-output-div { |
||||
|
padding: 5px; |
||||
|
margin: 0 0 5px 20px; |
||||
|
font-size: 12px; |
||||
|
font-family: monospace; |
||||
|
border-width: 0 0 0 1px; |
||||
|
border-style: solid; |
||||
|
} |
||||
|
|
||||
|
.ignored-class-div { |
||||
|
font-size: 14px; |
||||
|
font-family: monospace; |
||||
|
} |
||||
|
|
||||
|
.ignored-methods-div { |
||||
|
padding: 5px; |
||||
|
margin: 0 0 5px 20px; |
||||
|
font-size: 12px; |
||||
|
font-family: monospace; |
||||
|
border-width: 0 0 0 1px; |
||||
|
border-style: solid; |
||||
|
} |
||||
|
|
||||
|
.border-failed { |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
border-bottom-left-radius: 10px 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 0 10px; |
||||
|
border-color: #f00; |
||||
|
} |
||||
|
|
||||
|
.border-skipped { |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
border-bottom-left-radius: 10px 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 0 10px; |
||||
|
border-color: #edc600; |
||||
|
} |
||||
|
|
||||
|
.border-passed { |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
border-bottom-left-radius: 10px 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 0 10px; |
||||
|
border-color: #19f52d; |
||||
|
} |
||||
|
|
||||
|
.times-div { |
||||
|
text-align: center; |
||||
|
padding: 5px; |
||||
|
} |
||||
|
|
||||
|
.suite-total-time { |
||||
|
font: 16px 'Lucida Grande'; |
||||
|
} |
||||
|
|
||||
|
.configuration-suite { |
||||
|
margin-left: 20px; |
||||
|
} |
||||
|
|
||||
|
.configuration-test { |
||||
|
margin-left: 40px; |
||||
|
} |
||||
|
|
||||
|
.configuration-class { |
||||
|
margin-left: 60px; |
||||
|
} |
||||
|
|
||||
|
.configuration-method { |
||||
|
margin-left: 80px; |
||||
|
} |
||||
|
|
||||
|
.test-method { |
||||
|
margin-left: 100px; |
||||
|
} |
||||
|
|
||||
|
.chronological-class { |
||||
|
background-color: skyblue; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 1px 1px; |
||||
|
} |
||||
|
|
||||
|
.method-start { |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.chronological-class-name { |
||||
|
padding: 0 0 0 5px; |
||||
|
color: #008; |
||||
|
} |
||||
|
|
||||
|
.after, .before, .test-method { |
||||
|
font-family: monospace; |
||||
|
font-size: 14px; |
||||
|
} |
||||
|
|
||||
|
.navigator-suite-header { |
||||
|
font-size: 22px; |
||||
|
margin: 0 10px 5px 0; |
||||
|
background-color: #deb887; |
||||
|
text-align: center; |
||||
|
} |
||||
|
|
||||
|
.collapse-all-icon { |
||||
|
padding: 5px; |
||||
|
float: right; |
||||
|
} |
||||
|
/*retro Theme*/ |
||||
@ -0,0 +1,122 @@ |
|||||
|
$(document).ready(function() { |
||||
|
$('a.navigator-link').on("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('navigator-selected'); |
||||
|
|
||||
|
showPanel(panel); |
||||
|
}); |
||||
|
|
||||
|
installMethodHandlers('failed'); |
||||
|
installMethodHandlers('skipped'); |
||||
|
installMethodHandlers('passed', true); // hide passed methods by default
|
||||
|
|
||||
|
$('a.method').on("click", function() { |
||||
|
showMethod($(this)); |
||||
|
return false; |
||||
|
}); |
||||
|
|
||||
|
// Hide all the panels and display the first one (do this last
|
||||
|
// to make sure the click() will invoke the listeners)
|
||||
|
$('.panel').hide(); |
||||
|
$('.navigator-link').first().trigger("click"); |
||||
|
|
||||
|
// Collapse/expand the suites
|
||||
|
$('a.collapse-all-link').on("click", function() { |
||||
|
var contents = $('.navigator-suite-content'); |
||||
|
if (contents.css('display') == 'none') { |
||||
|
contents.show(); |
||||
|
} else { |
||||
|
contents.hide(); |
||||
|
} |
||||
|
}); |
||||
|
}); |
||||
|
|
||||
|
// The handlers that take care of showing/hiding the methods
|
||||
|
function installMethodHandlers(name, hide) { |
||||
|
function getContent(t) { |
||||
|
return $('.method-list-content.' + name + "." + t.attr('panel-name')); |
||||
|
} |
||||
|
|
||||
|
function getHideLink(t, name) { |
||||
|
var s = 'a.hide-methods.' + name + "." + t.attr('panel-name'); |
||||
|
return $(s); |
||||
|
} |
||||
|
|
||||
|
function getShowLink(t, name) { |
||||
|
return $('a.show-methods.' + name + "." + t.attr('panel-name')); |
||||
|
} |
||||
|
|
||||
|
function getMethodPanelClassSel(element, name) { |
||||
|
var panelName = getPanelName(element); |
||||
|
var sel = '.' + panelName + "-class-" + name; |
||||
|
return $(sel); |
||||
|
} |
||||
|
|
||||
|
$('a.hide-methods.' + name).on("click", function() { |
||||
|
var w = getContent($(this)); |
||||
|
w.hide(); |
||||
|
getHideLink($(this), name).hide(); |
||||
|
getShowLink($(this), name).show(); |
||||
|
getMethodPanelClassSel($(this), name).hide(); |
||||
|
}); |
||||
|
|
||||
|
$('a.show-methods.' + name).on("click", function() { |
||||
|
var w = getContent($(this)); |
||||
|
w.show(); |
||||
|
getHideLink($(this), name).show(); |
||||
|
getShowLink($(this), name).hide(); |
||||
|
showPanel(getPanelName($(this))); |
||||
|
getMethodPanelClassSel($(this), name).show(); |
||||
|
}); |
||||
|
|
||||
|
if (hide) { |
||||
|
$('a.hide-methods.' + name).trigger("click"); |
||||
|
} else { |
||||
|
$('a.show-methods.' + name).trigger("click"); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
function getHashForMethod(element) { |
||||
|
return element.attr('hash-for-method'); |
||||
|
} |
||||
|
|
||||
|
function getPanelName(element) { |
||||
|
return element.attr('panel-name'); |
||||
|
} |
||||
|
|
||||
|
function showPanel(panelName) { |
||||
|
$('.panel').hide(); |
||||
|
var panel = $('.panel[panel-name="' + panelName + '"]'); |
||||
|
panel.show(); |
||||
|
} |
||||
|
|
||||
|
function showMethod(element) { |
||||
|
var hashTag = getHashForMethod(element); |
||||
|
var panelName = getPanelName(element); |
||||
|
showPanel(panelName); |
||||
|
var current = document.location.href; |
||||
|
var base = current.substring(0, current.indexOf('#')) |
||||
|
document.location.href = base + '#' + hashTag; |
||||
|
var newPosition = $(document).scrollTop() - 65; |
||||
|
$(document).scrollTop(newPosition); |
||||
|
} |
||||
|
|
||||
|
function drawTable() { |
||||
|
for (var i = 0; i < suiteTableInitFunctions.length; i++) { |
||||
|
window[suiteTableInitFunctions[i]](); |
||||
|
} |
||||
|
|
||||
|
for (var k in window.suiteTableData) { |
||||
|
var v = window.suiteTableData[k]; |
||||
|
var div = v.tableDiv; |
||||
|
var data = v.tableData |
||||
|
var table = new google.visualization.Table(document.getElementById(div)); |
||||
|
table.draw(data, { |
||||
|
showRowNumber : false |
||||
|
}); |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,344 @@ |
|||||
|
body { |
||||
|
background-color: whitesmoke; |
||||
|
margin: 0 0 5px 5px; |
||||
|
} |
||||
|
ul { |
||||
|
margin-top: 10px; |
||||
|
margin-left:-10px; |
||||
|
} |
||||
|
li { |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
padding:5px 5px; |
||||
|
} |
||||
|
a { |
||||
|
text-decoration: none; |
||||
|
color: black; |
||||
|
font-size: 14px; |
||||
|
} |
||||
|
|
||||
|
a:hover { |
||||
|
color:black ; |
||||
|
text-decoration: underline; |
||||
|
} |
||||
|
|
||||
|
.navigator-selected { |
||||
|
/* #ffa500; Mouse hover color after click Orange.*/ |
||||
|
background:#027368 |
||||
|
} |
||||
|
|
||||
|
.wrapper { |
||||
|
position: absolute; |
||||
|
top: 60px; |
||||
|
bottom: 0; |
||||
|
left: 400px; |
||||
|
right: 0; |
||||
|
margin-right:9px; |
||||
|
overflow: auto;/*imortant*/ |
||||
|
} |
||||
|
|
||||
|
.navigator-root { |
||||
|
position: absolute; |
||||
|
top: 60px; |
||||
|
bottom: 0; |
||||
|
left: 0; |
||||
|
width: 400px; |
||||
|
overflow-y: auto;/*important*/ |
||||
|
} |
||||
|
|
||||
|
.suite { |
||||
|
margin: -5px 10px 10px 5px; |
||||
|
background-color: whitesmoke ;/*Colour of the left bside box*/ |
||||
|
} |
||||
|
|
||||
|
.suite-name { |
||||
|
font-size: 24px; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;/*All TEST SUITE*/ |
||||
|
color: white; |
||||
|
} |
||||
|
|
||||
|
.main-panel-header { |
||||
|
padding: 5px; |
||||
|
background-color: #027368; /*afeeee*/; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
color:white; |
||||
|
font-size: 18px; |
||||
|
} |
||||
|
|
||||
|
.main-panel-content { |
||||
|
padding: 5px; |
||||
|
margin-bottom: 10px; |
||||
|
background-color: #CCD0D1; /*d0ffff*/; /*Belongs to backGround of rightSide boxes*/ |
||||
|
} |
||||
|
|
||||
|
.rounded-window { |
||||
|
border-style: dotted; |
||||
|
border-width: 1px;/*Border of left Side box*/ |
||||
|
background-color: whitesmoke; |
||||
|
border-radius: 10px; |
||||
|
} |
||||
|
|
||||
|
.rounded-window-top { |
||||
|
border-top-right-radius: 10px 10px; |
||||
|
border-top-left-radius: 10px 10px; |
||||
|
border-style: solid; |
||||
|
border-width: 1px; |
||||
|
overflow: auto;/*Top of RightSide box*/ |
||||
|
} |
||||
|
|
||||
|
.light-rounded-window-top { |
||||
|
background-color: #027368; |
||||
|
padding-left:120px; |
||||
|
border-radius: 10px; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
.rounded-window-bottom { |
||||
|
border-bottom-right-radius: 10px 10px; |
||||
|
border-bottom-left-radius: 10px 10px; |
||||
|
overflow: auto;/*Bottom of rightSide box*/ |
||||
|
} |
||||
|
|
||||
|
.method-name { |
||||
|
font-size: 14px; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.method-content { |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 1px 0; |
||||
|
margin-bottom: 10px; |
||||
|
padding-bottom: 5px; |
||||
|
width: 100%; |
||||
|
} |
||||
|
|
||||
|
.parameters { |
||||
|
font-size: 14px; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
} |
||||
|
|
||||
|
.stack-trace { |
||||
|
white-space: pre; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
font-size: 12px; |
||||
|
font-weight: bold; |
||||
|
margin-top: 0; |
||||
|
margin-left: 20px; /*Error Stack Trace Message*/ |
||||
|
} |
||||
|
|
||||
|
.testng-xml { |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
} |
||||
|
|
||||
|
.method-list-content { |
||||
|
margin-left: 10px; |
||||
|
} |
||||
|
|
||||
|
.navigator-suite-content { |
||||
|
margin-left: 10px; |
||||
|
font: 12px 'Lucida Grande'; |
||||
|
} |
||||
|
|
||||
|
.suite-section-title { |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
font-size: 14px; |
||||
|
font-weight:bold; |
||||
|
background-color: #8C8887; |
||||
|
margin-left: -10px; |
||||
|
margin-top:10px; |
||||
|
padding:6px; |
||||
|
} |
||||
|
|
||||
|
.suite-section-content { |
||||
|
list-style-image: url(bullet_point.png); |
||||
|
background-color: whitesmoke; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
overflow: hidden; |
||||
|
} |
||||
|
|
||||
|
.top-banner-root { |
||||
|
position: absolute; |
||||
|
top: 0; |
||||
|
height: 45px; |
||||
|
left: 0; |
||||
|
right: 0; |
||||
|
padding: 5px; |
||||
|
margin: 0 0 5px 0; |
||||
|
background-color: #027368; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
font-size: 18px; |
||||
|
color: #fff; |
||||
|
text-align: center;/*Belongs to the Top of Report*//*Status: - Completed*/ |
||||
|
} |
||||
|
|
||||
|
.top-banner-title-font { |
||||
|
font-size: 25px; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
padding: 3px; |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.test-name { |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
font-size: 16px; |
||||
|
} |
||||
|
|
||||
|
.suite-icon { |
||||
|
padding: 5px; |
||||
|
float: right; |
||||
|
height: 20px; |
||||
|
} |
||||
|
|
||||
|
.test-group { |
||||
|
font: 20px 'Lucida Grande'; |
||||
|
margin: 5px 5px 10px 5px; |
||||
|
border-width: 0 0 1px 0; |
||||
|
border-style: solid; |
||||
|
padding: 5px; |
||||
|
} |
||||
|
|
||||
|
.test-group-name { |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
|
||||
|
.method-in-group { |
||||
|
font-size: 16px; |
||||
|
margin-left: 80px; |
||||
|
} |
||||
|
|
||||
|
table.google-visualization-table-table { |
||||
|
width: 100%; |
||||
|
} |
||||
|
|
||||
|
.reporter-method-name { |
||||
|
font-size: 14px; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
} |
||||
|
|
||||
|
.reporter-method-output-div { |
||||
|
padding: 5px; |
||||
|
margin: 0 0 5px 20px; |
||||
|
font-size: 12px; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
border-width: 0 0 0 1px; |
||||
|
border-style: solid; |
||||
|
} |
||||
|
|
||||
|
.ignored-class-div { |
||||
|
font-size: 14px; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
} |
||||
|
|
||||
|
.ignored-methods-div { |
||||
|
padding: 5px; |
||||
|
margin: 0 0 5px 20px; |
||||
|
font-size: 12px; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
border-width: 0 0 0 1px; |
||||
|
border-style: solid; |
||||
|
} |
||||
|
|
||||
|
.border-failed { |
||||
|
border-radius:2px; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 0 10px; |
||||
|
border-color: #F20505; |
||||
|
} |
||||
|
|
||||
|
.border-skipped { |
||||
|
border-radius:2px; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 0 10px; |
||||
|
border-color: #F2BE22; |
||||
|
} |
||||
|
|
||||
|
.border-passed { |
||||
|
border-radius:2px; |
||||
|
border-style: solid; |
||||
|
border-width: 0 0 0 10px; |
||||
|
border-color: #038C73; |
||||
|
} |
||||
|
|
||||
|
.times-div { |
||||
|
text-align: center; |
||||
|
padding: 5px; |
||||
|
} |
||||
|
|
||||
|
.suite-total-time { |
||||
|
font: 16px 'Lucida Grande'; |
||||
|
} |
||||
|
|
||||
|
.configuration-suite { |
||||
|
margin-left: 20px; |
||||
|
} |
||||
|
|
||||
|
.configuration-test { |
||||
|
margin-left: 40px; |
||||
|
} |
||||
|
|
||||
|
.configuration-class { |
||||
|
margin-left: 60px; |
||||
|
} |
||||
|
|
||||
|
.configuration-method { |
||||
|
margin-left: 80px; |
||||
|
} |
||||
|
|
||||
|
.test-method { |
||||
|
margin-left: 100px; |
||||
|
} |
||||
|
|
||||
|
.chronological-class { |
||||
|
background-color: #CCD0D1; |
||||
|
border-width: 0 0 1px 1px;/*Chronological*/ |
||||
|
} |
||||
|
|
||||
|
.method-start { |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.chronological-class-name { |
||||
|
padding: 0 0 0 5px; |
||||
|
margin-top:5px; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
color: #008; |
||||
|
} |
||||
|
|
||||
|
.after, .before, .test-method { |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
font-size: 14px; |
||||
|
margin-top:5px; |
||||
|
} |
||||
|
|
||||
|
.navigator-suite-header { |
||||
|
font-size: 18px; |
||||
|
margin: 0px 10px 10px 5px; |
||||
|
padding: 5px; |
||||
|
border-radius: 10px; |
||||
|
background-color: #027368; |
||||
|
color: white; |
||||
|
font-weight:bold; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
text-align: center; /*All Suites on top of left box*//*Status: -Completed*/ |
||||
|
} |
||||
|
|
||||
|
.collapse-all-icon { |
||||
|
padding: 3px; |
||||
|
float: right; |
||||
|
} |
||||
|
.button{ |
||||
|
position: absolute; |
||||
|
margin-left:500px; |
||||
|
margin-top:8px; |
||||
|
background-color: white; |
||||
|
color:#027368; |
||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
||||
|
font-weight:bold; |
||||
|
border-color:#027368; |
||||
|
border-radius:25px; |
||||
|
cursor: pointer; |
||||
|
height:30px; |
||||
|
width:150px; |
||||
|
outline: none; |
||||
|
} |
||||
|
/*Author: - Akhil Gullapalli*/ |
||||
@ -0,0 +1,77 @@ |
|||||
|
window.onload=function (){ |
||||
|
let cookies = document.cookie; |
||||
|
let cookieValue=cookies.split('='); |
||||
|
if(cookieValue[1]==='null' || localStorage.getItem('Theme')==='null'){ |
||||
|
document.getElementById('retro').setAttribute('disabled','false'); |
||||
|
} |
||||
|
else if(cookieValue[1]==='Switch Ultra Theme'|| localStorage.getItem('Theme')==='Switch Ultra Theme'){ |
||||
|
document.getElementById('button').innerText="Switch Retro Theme"; |
||||
|
document.getElementById('retro').setAttribute('disabled','false'); |
||||
|
|
||||
|
} |
||||
|
else if(cookieValue[1]==='Switch Retro Theme'|| localStorage.getItem('Theme')==='Switch Retro Theme'){ |
||||
|
else if(cookieValue[1]==='Switch Ultra Theme'|| localStorage.getItem('Theme')==='Switch Ultra Theme'){ |
||||
|
document.getElementById('button').innerText="Switch Retro Theme"; |
||||
|
document.getElementById('retro').setAttribute('disabled','false'); |
||||
|
|
||||
|
document.getElementById('button').innerText="Switch Ultra Theme"; |
||||
|
document.getElementById('retro').removeAttribute('disabled'); |
||||
|
document.getElementById('ultra').setAttribute('disabled','false'); |
||||
|
localStorage.setItem('Theme',select); |
||||
|
|
||||
|
} |
||||
|
else if(select ==='Switch Ultra Theme'){ |
||||
|
document.getElementById('button').innerText="Switch Retro Theme"; |
||||
|
document.getElementById('ultra').removeAttribute('disabled'); |
||||
|
document.getElementById('retro').setAttribute('disabled','false'); |
||||
|
localStorage.setItem('Theme',select); |
||||
|
} |
||||
|
} |
||||
|
else if(cookieValue[1]==='Switch Retro Theme'|| localStorage.getItem('Theme')==='Switch Retro Theme'){ |
||||
|
document.getElementById('button').innerText="Switch Ultra Theme"; |
||||
|
document.getElementById('ultra').setAttribute('disabled','false'); |
||||
|
} |
||||
|
} |
||||
|
document.getElementById('button').onclick= function(){ |
||||
|
let select = document.getElementById('button').innerText; |
||||
|
if(select === 'Switch Retro Theme'){ |
||||
|
let d = new Date(); |
||||
|
days = 365; |
||||
|
d.setTime(+ d + (days * 86400000)); //24 * 60 * 60 * 1000
|
||||
|
document.cookie="Theme ="+select+ "; expires=" + d.toGMTString() + ";"; |
||||
|
document.getElementById('button').innerText="Switch Ultra Theme"; |
||||
|
document.getElementById('retro').removeAttribute('disabled'); |
||||
|
document.getElementById('ultra').setAttribute('disabled','false'); |
||||
|
localStorage.setItem('Theme',select); |
||||
|
|
||||
|
} |
||||
|
else if(select ==='Switch Ultra Theme'){ |
||||
|
let d = new Date(); |
||||
|
days = 365; |
||||
|
d.setTime(+ d + (days * 86400000)); //24 * 60 * 60 * 1000
|
||||
|
document.cookie="Theme ="+select+ "; expires=" + d.toGMTString() + ";"; |
||||
|
document.getElementById('button').innerText="Switch Retro Theme"; |
||||
|
document.getElementById('ultra').removeAttribute('disabled'); |
||||
|
document.getElementById('retro').setAttribute('disabled','false'); |
||||
|
localStorage.setItem('Theme',select); |
||||
|
} |
||||
|
} |
||||
|
//Function to mouse hovering affect.
|
||||
|
document.getElementById('button').onmouseover = function(){ |
||||
|
document.getElementById('button').style.borderRadius="25px"; |
||||
|
document.getElementById('button').style.width="180px"; |
||||
|
document.getElementById('button').style.height="45px"; |
||||
|
document.getElementById('button').style.marginTop="1px"; |
||||
|
|
||||
|
} |
||||
|
//Function to mouse out affect
|
||||
|
document.getElementById('button').onmouseout = function(){ |
||||
|
document.getElementById('button').style.borderRadius="25px"; |
||||
|
document.getElementById('button').style.width="150px"; |
||||
|
document.getElementById('button').style.height="30px"; |
||||
|
document.getElementById('button').style.marginTop="8px"; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
//This is the file where we handle the switching of the Themes.
|
||||
|
/*Author:- Akhil Gullapalli*/ |
||||
@ -0,0 +1,25 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<testng-results ignored="0" total="1" passed="1" failed="0" skipped="0"> |
||||
|
<reporter-output> |
||||
|
</reporter-output> |
||||
|
<suite started-at="2021-03-17T06:15:46 CDT" name="Default suite" finished-at="2021-03-17T06:16:45 CDT" duration-ms="59025"> |
||||
|
<groups> |
||||
|
</groups> |
||||
|
<test started-at="2021-03-17T06:15:46 CDT" name="Default test" finished-at="2021-03-17T06:16:45 CDT" duration-ms="59025"> |
||||
|
<class name="testing.TestNGBasics"> |
||||
|
<test-method is-config="true" signature="setUp()[pri:0, instance:testing.TestNGBasics@51dcb805]" started-at="2021-03-17T06:15:46 CDT" name="setUp" finished-at="2021-03-17T06:16:30 CDT" duration-ms="44317" status="PASS"> |
||||
|
<reporter-output> |
||||
|
</reporter-output> |
||||
|
</test-method> <!-- setUp --> |
||||
|
<test-method signature="userLogin()[pri:0, instance:testing.TestNGBasics@51dcb805]" started-at="2021-03-17T06:16:31 CDT" name="userLogin" finished-at="2021-03-17T06:16:35 CDT" duration-ms="4327" status="PASS"> |
||||
|
<reporter-output> |
||||
|
</reporter-output> |
||||
|
</test-method> <!-- userLogin --> |
||||
|
<test-method is-config="true" signature="tearDown()[pri:0, instance:testing.TestNGBasics@51dcb805]" started-at="2021-03-17T06:16:35 CDT" name="tearDown" finished-at="2021-03-17T06:16:45 CDT" duration-ms="10233" status="PASS"> |
||||
|
<reporter-output> |
||||
|
</reporter-output> |
||||
|
</test-method> <!-- tearDown --> |
||||
|
</class> <!-- testing.TestNGBasics --> |
||||
|
</test> <!-- Default test --> |
||||
|
</suite> <!-- Default suite --> |
||||
|
</testng-results> |
||||
@ -0,0 +1,9 @@ |
|||||
|
.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; |
||||
|
} |
||||
|
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue