Skip to content

Commit 1cee499

Browse files
authored
Update tap4j and JTap links (TestAnything#159)
1 parent 46c0990 commit 1cee499

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

consumers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ input TAP into structs that can be used for further information processing.
6262
>
6363
> *From [Wikipedia](https://en.wikipedia.org/wiki/Java_%28programming_language%29)*
6464
65-
**[tap4j](http://www.tap4j.org/)** is a full featured TAP library which
65+
**[tap4j](https://tupilabs.com/tap4j/tap4j/)** is a full featured TAP library which
6666
is integrated at the core of other Java projects like the
6767
[Jenkins TAP Plugin](https://wiki.jenkins-ci.org/display/JENKINS/TAP+Plugin).
6868

producers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,11 @@ a test harness and can output its results in TAP format.
300300
>
301301
> *From [Wikipedia](https://en.wikipedia.org/wiki/Java_%28programming_language%29)*
302302
303-
**[JTap](http://svn.solucorp.qc.ca/repos/solucorp/JTap/trunk/)**
303+
**[JTap](https://solucorp.solutions/repos/solucorp/JTap/trunk/)**
304304
is a TAP library that implements most of the
305305
[Test::More](http://perldoc.perl.org/Test/More.html) API.
306306

307-
**[tap4j](http://www.tap4j.org/)** is a full featured TAP library which
307+
**[tap4j](https://tupilabs.com/tap4j/tap4j/)** is a full featured TAP library which
308308
is integrated at the core of other Java projects like the
309309
[Jenkins TAP Plugin](https://wiki.jenkins-ci.org/display/JENKINS/TAP+Plugin).
310310

tap-specification.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,9 @@ http://search.cpan.org/dist/Apache-Test/
385385
## Java
386386
tap4j provides objects to create TestSets, TestResults, BailOuts and, using a TapProducer, dump it into a java.io.File or String. It also provides TapConsumer's to load TapStreams from Strings or java.io.File's. YAMLish is interpreted and made available as diagnostics of each TestResult object of a TestSet.
387387

388-
- [tap4j](http://www.tap4j.org)
389-
- [Example of a TapConsumer in Java with tap4j + YAMLish](http://tap4j.org/tap4j/tapconsumer.html)
390-
- [Example of a TapProducer in Java with tap4j + YAMLish](http://tap4j.org/tap4j/tapproducer.html)
388+
- [tap4j](https://tupilabs.com/tap4j/tap4j/)
389+
- [Example of a TapConsumer in Java with tap4j + YAMLish](https://tupilabs.com/tap4j/tap4j/tapconsumer.html)
390+
- [Example of a TapProducer in Java with tap4j + YAMLish](https://tupilabs.com/tap4j/tap4j/tapproducer.html)
391391

392392
tap4j is licensed under MIT License.
393393

testing-with-tap/java.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ title: Testing with Java
99

1010
### Installation
1111

12-
In order to install tap4j you have to download a jar from [http://tupilabs.github.io/tap4j](http://tupilabs.github.io/tap4j) or if you are a Maven user you can add a dependency in your pom.xml, as shown below.
12+
In order to install tap4j you have to download a jar from [https://tupilabs.com/tap4j/tap4j](https://tupilabs.com/tap4j/tap4j) or if you are a Maven user you can add a dependency in your pom.xml, as shown below.
1313

1414
```xml
1515
<dependency>
@@ -19,11 +19,11 @@ In order to install tap4j you have to download a jar from [http://tupilabs.githu
1919
</dependency>
2020
```
2121

22-
Differently than in others implementations, tap4j uses an Object Oriented approach. Instead of calling methods like ok(), not_ok(), is() and isnt(), you construct objects such as a TAP Producer to dump TAP and a TAP Consumer to load TAP. A [TestSet](http://tupilabs.github.io/tap4j/tap4j/apidocs/org/tap4j/model/TestSet.html) object is used to encapsulate all the TAP Elements.
22+
Differently than in others implementations, tap4j uses an Object Oriented approach. Instead of calling methods like ok(), not_ok(), is() and isnt(), you construct objects such as a TAP Producer to dump TAP and a TAP Consumer to load TAP. A [TestSet](https://tupilabs.com/tap4j/tap4j/apidocs/org/tap4j/model/TestSet.html) object is used to encapsulate all the TAP Elements.
2323

2424
## Generating TAP using a TAP Producer
2525

26-
The TAP Producers in tap4j are created using a [TapProducerFactory](http://tupilabs.github.io/tap4j/tap4j/apidocs/org/tap4j/producer/TapProducerFactory.html). After a TAP Producer is created we can call the dump method passing a [TestSet](http://tupilabs.github.io/tap4j/tap4j/apidocs/org/tap4j/model/TestSet.html) to have the result TAP.
26+
The TAP Producers in tap4j are created using a [TapProducerFactory](https://tupilabs.com/tap4j/tap4j/apidocs/org/tap4j/producer/TapProducerFactory.html). After a TAP Producer is created we can call the dump method passing a [TestSet](https://tupilabs.com/tap4j/tap4j/apidocs/org/tap4j/model/TestSet.html) to have the result TAP.
2727

2828
```java
2929
TapProducer tapProducer = TapProducerFactory.makeTap13Producer();
@@ -56,7 +56,7 @@ not ok 2
5656

5757
## Reading TAP using a TAP Consumer
5858

59-
If you understood about how tap4j works, reading a TAP Stream will be quite easy for you. You just have to create a TAP Consumer using guess what? Yeah, a [TapConsumerFactory](http://tupilabs.github.io/tap4j/tap4j/apidocs/org/tap4j/consumer/TapConsumerFactory.html). The method of the TAP Consumer to load TAP is load(). This method will return a [TestSet](http://tupilabs.github.io/tap4j/tap4j/apidocs/org/tap4j/model/TestSet.html). Let's read the output from the previous section.
59+
If you understood about how tap4j works, reading a TAP Stream will be quite easy for you. You just have to create a TAP Consumer using guess what? Yeah, a [TapConsumerFactory](https://tupilabs.com/tap4j/tap4j/apidocs/org/tap4j/consumer/TapConsumerFactory.html). The method of the TAP Consumer to load TAP is load(). This method will return a [TestSet](https://tupilabs.com/tap4j/tap4j/apidocs/org/tap4j/model/TestSet.html). Let's read the output from the previous section.
6060

6161
```java
6262
TapConsumer tapConsumer = TapConsumerFactory.makeTap13Consumer();

0 commit comments

Comments
 (0)