Skip to content

Commit

Permalink
All the other http:// -> https://
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeust committed Feb 19, 2020
1 parent cf22ccf commit 8bafc19
Show file tree
Hide file tree
Showing 29 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Need help?
Before opening a new issue, did you ask your question on
* [Google group](http://groups.google.com/group/testng-users)
* [StackOverflow](http://stackoverflow.com/questions/tagged/testng)
* [Google group](https://groups.google.com/group/testng-users)
* [StackOverflow](https://stackoverflow.com/questions/tagged/testng)

If you posted on both sites, please provide the link to the other question to avoid duplicating the answer.

Expand Down
4 changes: 2 additions & 2 deletions ANNOUNCEMENT.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
javalobby.org
testdriven.com
opensourcetesting.org
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=68
https://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&f=68
java.net
comp.lang.java.programmer

Expand All @@ -28,7 +28,7 @@ The TestNG team is happy to announce the immediate availability of TestNG 4.0, w

The announcement, along with a few examples and summary of the new features, can be found here:

http://tinyurl.com/dxlbh
https://tinyurl.com/dxlbh

--
C�dric
Expand Down
24 changes: 12 additions & 12 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ Eclipse:
Added: New file wizard: can now create a class with annotations, including @DataProvider
Added: You can now select multiple XML suites to be run in the launch dialog
Fixed: @Test(groups = <constant>) was taking name of the constant instead of its value.
Fixed: http://jira.codehaus.org/browse/GRECLIPSE-476 NPE with Groovy Tests (Andrew Eisenberg)
Fixed: https://jira.codehaus.org/browse/GRECLIPSE-476 NPE with Groovy Tests (Andrew Eisenberg)

This comment has been minimized.

Copy link
@pzygielo

pzygielo Feb 19, 2020

What's the point when it doesn't exist any more?

This comment has been minimized.

Copy link
@cbeust

cbeust Feb 19, 2020

Author Collaborator

Just a global replace. I'm not going to try and validate all these URL's manually.

Fixed: The custom XML file is now created in the temp directory instead of inside the project
Fixed: In the launch dialog, now display an error if trying to pick groups when no project is selected
Fixed: Was not setting the parallel attribute correctly on the temporary XML file
Expand Down Expand Up @@ -1076,9 +1076,9 @@ Fixed: TESTNG-139 dependsOnMethods gets confused when dependency is "protected"
Fixed: TESTNG-141 junit attribute set to false in testng-failed.xml when it should be true
Fixed: TESTNG-142 Exceptions in DataProvider are not reported as failed test
Added: Improved behavior for @Before/@AfterClass when using @Factory
(http://forums.opensymphony.com/thread.jspa?threadID=6594&messageID=122294#122294)
(https://forums.opensymphony.com/thread.jspa?threadID=6594&messageID=122294#122294)
Added: Support for concurrent execution for invocationCount=1 threadPoolSize>1 and @DataProvider
(http://forums.opensymphony.com/thread.jspa?threadID=64738&tstart=0)
(https://forums.opensymphony.com/thread.jspa?threadID=64738&tstart=0)
Added: New TestNG specific XML report, generated by default in 'xml' subdirectory of test-output
Added: support in strprotocol for passing the ITest.getTestName() information
Fixed: TESTNG-152 If DataProvider is not found, the exception message should tell exactly what happened
Expand Down Expand Up @@ -1198,7 +1198,7 @@ Fixed: Throw proper exception when a DataProvider declares parameters
Added: completely revamped JUnit support (should run all kind of JUnit tests)
Fixed: TESTNG-40 (Bug in testng-failed.xml generation)
Fixed: TESTNG-106 (Failed "@BeforeSuite" method just skipps the last test in xml-file)
Fixed: Success on 0 tests (http://forums.opensymphony.com/thread.jspa?threadID=41213)
Fixed: Success on 0 tests (https://forums.opensymphony.com/thread.jspa?threadID=41213)

Eclipse plug-in
Added: TESTNG-105 Automaticaly define TESTNG_HOME classpath variable
Expand All @@ -1210,7 +1210,7 @@ Added: TESTNG-105 Automaticaly define TESTNG_HOME classpath variable
Added: @Test(sequential = true)
Fixed: TESTNG-102 (Incorrect ordering of @BeforeMethod calls when a dependency is specified)
Fixed: TESTNG-101 (HTML output contains nested <P> tags and a missing <tr> tag)
Added: support for specifying test-only classpath (http://forums.opensymphony.com/thread.jspa?messageID=78048&tstart=0)
Added: support for specifying test-only classpath (https://forums.opensymphony.com/thread.jspa?messageID=78048&tstart=0)
Fixed: TESTNG-93 (method selectors filtering @BeforeMethod)
Fixed: TESTNG-81 (Assert.assertFalse() displays wrong expected, actual value)
Fixed: TESTNG-59 (multiple method selectors usage results in no tests run)
Expand Down Expand Up @@ -1264,9 +1264,9 @@ Added: Link to testng.xml in the reports
Added: New structure for reports, suites go in their individual directory
Added: @Test(suiteName) and @Test(testName)
Added: The stack traces in reports do not include TestNG frames (system property testng.exception)
(see: http://groups.google.com/group/testng-dev/browse_thread/thread/9f4d46ade10b0fda)
(see: https://groups.google.com/group/testng-dev/browse_thread/thread/9f4d46ade10b0fda)
Fixed: Exit with error when no methods are run
(see: http://groups.google.com/group/testng-dev/browse_thread/thread/3c26e8a5658f22ac)
(see: https://groups.google.com/group/testng-dev/browse_thread/thread/3c26e8a5658f22ac)
Added: List of methods in alphabetical order
Fixed: Class-scoped annotations were not recognized when inherited
Added: Deprecated @Configuration and introduced @BeforeSuite/Test/Class/TestMethod
Expand Down Expand Up @@ -1294,14 +1294,14 @@ Added: if patch-testng-sourcedir.properties is found in the classpath
Added: Maven 2 plug-in
Fixed: Message formattings in TestNG assertion utility class
Fixed: @Factory methods were counted as @Test as well
http://jira.opensymphony.com/browse/TESTNG-51
https://jira.opensymphony.com/browse/TESTNG-51
Fixed: All DataProvider parameters were shown in the HTML report
Fixed: Bug in testng-failed.xml generation
Fixed: <packages> bug when using a jar file to load the test classes
Added: alwaysRun for before @Configuration methods
http://jira.opensymphony.com/browse/TESTNG-35
https://jira.opensymphony.com/browse/TESTNG-35
Fixed: groupless @Configurations were not invoked if a method depends on a group
http://jira.opensymphony.com/browse/TESTNG-45
https://jira.opensymphony.com/browse/TESTNG-45
Added: beforeGroups/afterGroups to @Configuration

Eclipse plugin:
Expand Down Expand Up @@ -1337,7 +1337,7 @@ Fixed: TESTNG-24: 'Run as testng test' does not appear of the Test annotation do
Fixed: TESTNG-18: Eclipse plugin ignores Factory annotation
Fixed: TESTNG-21: Show differences when double clicking assertion exceptions
Added: UI allows setting orientation (even more space)
http://forums.opensymphony.com/thread.jspa?threadID=17225&messageID=33805#33805
https://forums.opensymphony.com/thread.jspa?threadID=17225&messageID=33805#33805

===========================================================================

Expand Down Expand Up @@ -1442,7 +1442,7 @@ Fixed: Bug in <package> when directories contain spaces in their names
Fixed: Introduced a JDK5 dependency in the JDK1.4 build (getEnclosingClass())
Fixed: Output directory in ant task was not honored if it didn't exist
Fixed: Problem with timeout according to
http://forums.opensymphony.com/thread.jspa?threadID=6707
https://forums.opensymphony.com/thread.jspa?threadID=6707

Eclipse plug-in:

Expand Down
4 changes: 2 additions & 2 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
https://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down Expand Up @@ -192,7 +192,7 @@
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
2 changes: 1 addition & 1 deletion README.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
New installation:

Install GPG at http://www.gpgtools.org/gpgmail/index.html
Install GPG at https://www.gpgtools.org/gpgmail/index.html
Generate new key with gpg --gen-key
build-with-maven
gpg --list-keys
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](http://img.shields.io/travis/cbeust/testng.svg)](https://travis-ci.org/cbeust/testng)
[![Build Status](https://img.shields.io/travis/cbeust/testng.svg)](https://travis-ci.org/cbeust/testng)
[![Maven Central](https://img.shields.io/maven-central/v/org.testng/testng.svg)](https://maven-badges.herokuapp.com/maven-central/org.testng/testng)
[![Bintray](https://api.bintray.com/packages/cbeust/maven/testng/images/download.svg)](https://bintray.com/cbeust/maven/testng/_latestVersion)
[![License](https://img.shields.io/github/license/cbeust/testng.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
Expand All @@ -14,8 +14,8 @@ Documentation available at [TestNG's main web site](https://testng.org).

### Need help?
Before opening a new issue, did you ask your question on
* [Google group](http://groups.google.com/group/testng-users)
* [StackOverflow](http://stackoverflow.com/questions/tagged/testng)
* [Google group](https://groups.google.com/group/testng-users)
* [StackOverflow](https://stackoverflow.com/questions/tagged/testng)

If you posted on both sites, please provide the link to the other question to avoid duplicating the answer.

Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ dependencies {
tasks.jar {
manifest {
attributes(
"Bundle-License" to "http://apache.org/licenses/LICENSE-2.0",
"Bundle-License" to "https://apache.org/licenses/LICENSE-2.0",
"Bundle-Description" to "TestNG is a testing framework.",
"Import-Package" to """
"bsh.*;version="[2.0.0,3.0.0)";resolution:=optional",
Expand Down Expand Up @@ -191,7 +191,7 @@ with(publishing) {
licenses {
license {
name.set("Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
issueManagement {
Expand Down
2 changes: 1 addition & 1 deletion gradle/publishing-maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ uploadArchives {
project {
name project.name
description 'Testing framework for Java'
url 'http://github.com/cbeust/testng'
url 'https://github.com/cbeust/testng'
scm {
connection 'scm:git:https://github.com/cbeust/testng.git'
developerConnection 'scm:git:[email protected]:cbeust/testng.git'
Expand Down
2 changes: 1 addition & 1 deletion gradle/publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ buildscript {

}
dependencies {
//Check for the latest version here: http://plugins.gradle.org/plugin/com.jfrog.artifactory
//Check for the latest version here: https://plugins.gradle.org/plugin/com.jfrog.artifactory
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.0.3"
}
}
Expand Down
4 changes: 2 additions & 2 deletions kobalt/src/Build.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ val p = project {
url = "https://testng.org"
licenses = listOf(License().apply {
name = "Apache 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0"
url = "https://www.apache.org/licenses/LICENSE-2.0"
})
scm = Scm().apply {
url = "http://github.com/cbeust/testng"
url = "https://github.com/cbeust/testng"
connection = "scm:git:https://github.com/cbeust/testng.git"
developerConnection = "scm:git:[email protected]:cbeust/testng.git"
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/testng/log4testng/Logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

/**
* TestNG support logging via a custom logging framework similar to <a
* href="http://logging.apache.org/log4j">Log4j</a>. To control logging, add a resource named
* href="https://logging.apache.org/log4j">Log4j</a>. To control logging, add a resource named
* "log4testng.properties" to your classpath. The logging levels are TRACE, DEBUG, INFO, WARN, ERROR
* and FATAL. The Logging framework has the following characteristics:
*
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/testng/reporters/EmailableReporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ private void titleRow(String label, int cq, String id) {
/** Starts HTML stream */
protected void startHtml(PrintWriter out) {
out.println(
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">");
out.println("<html xmlns=\"http://www.w3.org/1999/xhtml\">");
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">");
out.println("<html xmlns=\"https://www.w3.org/1999/xhtml\">");
out.println("<head>");
out.println("<meta charset='utf-8'>");
out.println("<title>TestNG Report</title>");
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/testng/reporters/EmailableReporter2.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ protected PrintWriter createWriter(String outdir) throws IOException {

protected void writeDocumentStart() {
writer.println(
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">");
writer.println("<html xmlns=\"http://www.w3.org/1999/xhtml\">");
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">");
writer.println("<html xmlns=\"https://www.w3.org/1999/xhtml\">");
}

protected void writeHead() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/testng/reporters/XMLStringBuffer.java
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public void addCDATA(String content) {
} else if (!content.contains("]]>")) {
m_buffer.append("<![CDATA[").append(content).append("]]>");
} else if ("]]>".equals(content)) {
// Solution from http://stackoverflow.com/q/223652/4234729
// Solution from https://stackoverflow.com/q/223652/4234729
m_buffer.append("<![CDATA[]]]]><![CDATA[>]]>");
} else { // content contains "]]>"
String[] subStrings = content.split("]]>");
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/testng/util/Strings.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ private Strings() {

//TODO: When TestNG moves to JDK11 as the default JDK this method needs to be deprecated and removed
//because now this method is present in JDK11 as part of the JDK itself.
//See http://hg.openjdk.java.net/jdk/jdk/file/fc16b5f193c7/src/java.base/share/classes/java/lang/String.java#l2984
//See https://hg.openjdk.java.net/jdk/jdk/file/fc16b5f193c7/src/java.base/share/classes/java/lang/String.java#l2984
public static String repeat(String text, int count) {
StringBuilder builder = new StringBuilder();
for (int i = 0; i < count; i++) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/testng/xml/XMLParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static SAXParserFactory loadSAXParserFactory() {
/** Tests if the current <code>SAXParserFactory</code> supports DTD validation. */
private static boolean supportsValidation(SAXParserFactory spf) {
try {
spf.getFeature("http://xml.org/sax/features/validation");
spf.getFeature("https://xml.org/sax/features/validation");
return true;
} catch (Exception ex) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/testng-1.0.dtd.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>
<head>
Expand Down
2 changes: 1 addition & 1 deletion src/test/groovy/test/groovy/EasyJUnitGroovySample.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.junit.Test

import static groovy.test.GroovyAssert.shouldFail

// Sample from http://groovy-lang.org/testing.html#_junit_4
// Sample from https://groovy-lang.org/testing.html#_junit_4
class EasyJUnitGroovySample {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.junit.Test

import static groovy.test.GroovyAssert.shouldFail

// Sample from http://groovy-lang.org/testing.html#_junit_4
// Sample from https://groovy-lang.org/testing.html#_junit_4
class SpecialNameJUnitGroovySample {

@Test
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/testng/xml/ParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public Object[][] getData() {
return new Object[][] {
{XML_FILE_NAME},
{new File(XML_FILE_NAME).toURI().toString()},
{"http://localhost:4444/testng.xml"},
{"https://localhost:4444/testng.xml"},

This comment has been minimized.

Copy link
@darklynx

darklynx Mar 17, 2020

Contributor

@cbeust this looks like a mistake, the URL with https:// is below

{"https://localhost:4444/testng.xml"}
};
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/test/ReflectionHelperTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ReflectionHelperTest {

@Test
public void testMethodCount() {
//Testing exclusion of synthetic methods Refer http://stackoverflow.com/a/5007394 to learn more
//Testing exclusion of synthetic methods Refer https://stackoverflow.com/a/5007394 to learn more
Method[] methods = prune(ReflectionHelper.getLocalMethods(DuplicateCallsSample.class));
Assert.assertEquals(methods.length, 2);

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/test/github1336/TestNG1.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public void test1TestNG1() {

@Test(priority = 2)
public void test2TestNG1() {
runTest("http://www3.lenovo.com/in/en/");
runTest("https://www3.lenovo.com/in/en/");
}

@Test(priority = 3)
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/test/github1336/TestNG1NoPriority.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public void test1TestNG1() {

@Test
public void test2TestNG1() {
runTest("http://www3.lenovo.com/in/en/");
runTest("https://www3.lenovo.com/in/en/");
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/test/github1336/TestNG2.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public void test1TestNG2() {

@Test(priority = 2)
public void test2TestNG2() {
runTest("http://www3.lenovo.com/in/en/");
runTest("https://www3.lenovo.com/in/en/");
}

@Test(priority = 3)
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/test/github1336/TestNG2NoPriority.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public void test1TestNG2() {

@Test
public void test2TestNG2() {
runTest("http://www3.lenovo.com/in/en/");
runTest("https://www3.lenovo.com/in/en/");
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/test/github1336/TestNG3.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public void test1TestNG3() {

@Test(priority = 2)
public void test2TestNG3() {
runTest("http://www3.lenovo.com/in/en/");
runTest("https://www3.lenovo.com/in/en/");
}

@Test(priority = 3)
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/test/github1336/TestNG3NoPriority.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public void test1TestNG3() {

@Test
public void test2TestNG3() {
runTest("http://www3.lenovo.com/in/en/");
runTest("https://www3.lenovo.com/in/en/");
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/test/name/ITestSample.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

// From http://stackoverflow.com/q/33404335/4234729
// From https://stackoverflow.com/q/33404335/4234729
public class ITestSample implements ITest {

public ThreadLocal<String> testName = new ThreadLocal<>();
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/test/testng387/FailedDPTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.testng.annotations.Test;

/**
* test for http://jira.opensymphony.com/browse/TESTNG-387
* test for https://jira.opensymphony.com/browse/TESTNG-387
* The invocation-numbers logic in failed.xml is wrong for dataprovider and parallel=true
*
* The test will throw exception when numbers are prime, so getFailedInvocationNumbers() should be a list of prime numbers.
Expand Down

0 comments on commit 8bafc19

Please sign in to comment.