Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 24F16200BEF for ; Wed, 4 Jan 2017 18:28:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 24382160B3A; Wed, 4 Jan 2017 17:28:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6D867160B21 for ; Wed, 4 Jan 2017 18:28:42 +0100 (CET) Received: (qmail 28480 invoked by uid 500); 4 Jan 2017 17:28:41 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 28471 invoked by uid 99); 4 Jan 2017 17:28:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2017 17:28:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 67516DF9E6; Wed, 4 Jan 2017 17:28:41 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dhalperi@apache.org To: commits@beam.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: beam-site git commit: test-your-pipeline: use site.baseurl, site.release_latest, canonical javadoc link with frames Date: Wed, 4 Jan 2017 17:28:41 +0000 (UTC) archived-at: Wed, 04 Jan 2017 17:28:43 -0000 Repository: beam-site Updated Branches: refs/heads/asf-site ef940d29b -> 8355257c1 test-your-pipeline: use site.baseurl, site.release_latest, canonical javadoc link with frames Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/8355257c Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/8355257c Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/8355257c Branch: refs/heads/asf-site Commit: 8355257c1c90a548167329ff325cc94fe9692b9a Parents: ef940d2 Author: Dan Halperin Authored: Wed Jan 4 09:16:50 2017 -0800 Committer: Dan Halperin Committed: Wed Jan 4 09:16:50 2017 -0800 ---------------------------------------------------------------------- src/documentation/pipelines/test-your-pipeline.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam-site/blob/8355257c/src/documentation/pipelines/test-your-pipeline.md ---------------------------------------------------------------------- diff --git a/src/documentation/pipelines/test-your-pipeline.md b/src/documentation/pipelines/test-your-pipeline.md index 0145d4d..408c810 100644 --- a/src/documentation/pipelines/test-your-pipeline.md +++ b/src/documentation/pipelines/test-your-pipeline.md @@ -151,8 +151,7 @@ Pipeline p = TestPipeline.create(); You can use the `Create` transform to create a `PCollection` out of a standard in-memory collection class, such as Java `List`. See [Creating a PCollection]({{ site.baseurl }}/documentation/programming-guide/#pcollection) for more information. ### PAssert - -[PAssert]({{ site.baseurl }}/documentation/sdks/javadoc/0.3.0-incubating/org/apache/beam/sdk/testing/PAssert.html) is a class included in the Beam Java SDK that is an assertion on the contents of a `PCollection`. You can use `PAssert`to verify that a `PCollection` contains a specific set of expected elements. +[PAssert]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/sdk/testing/PAssert.html) is a class included in the Beam Java SDK that is an assertion on the contents of a `PCollection`. You can use `PAssert`to verify that a `PCollection` contains a specific set of expected elements. For a given `PCollection`, you can use `PAssert` to verify the contents as follows: @@ -178,7 +177,7 @@ Any code that uses `PAssert` must link in `JUnit` and `Hamcrest`. If you're usin ``` -For more information on how these classes work, see the [org.apache.beam.sdk.testing](http://beam.apache.org/documentation/sdks/javadoc/0.3.0-incubating/org/apache/beam/sdk/testing/package-summary.html) package documentation. +For more information on how these classes work, see the [org.apache.beam.sdk.testing]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/sdk/testing/package-summary.html) package documentation. ### An Example Test for a Composite Transform @@ -269,4 +268,4 @@ public class WordCountTest { p.run(); } } -``` \ No newline at end of file +```