--- a/test-suite/README Tue Apr 10 12:06:12 2012 +0800
+++ b/test-suite/README Tue Apr 10 21:56:33 2012 +0800
@@ -1,9 +1,9 @@
Introduction
------------
-The JSON-LD Test Suite is a set of tests that can
+The JSON-LD Test Suite is a set of tests that can
be used to verify JSON-LD Processor conformance to the set of specifications
-that constitute JSON-LD. The goal of the suite is to provide an easy and
+that constitute JSON-LD. The goal of the suite is to provide an easy and
comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.
Design
@@ -14,8 +14,6 @@
can be compared using JSON object comparison with the processor output.
* _expand_ tests have _input_ and _expected_ documents. The _expected_ results
can be compared using JSON object comparison with the processor output.
-* _expand_ tests have _input_ and _expected_ documents. The _expected_ results
- can be compared using JSON object comparison with the processor output.
* _frame_ tests have _input_, _frame_ and _expected_ documents. The _expected_ results
can be compared using JSON object comparison with the processor output.
* _normalize_ tests have _input_ and _expected_ documents. The _expected_ results
@@ -32,7 +30,7 @@
If you would like to contribute a new test or a fix to an existing test,
please follow these steps:
-1. Notify the JSON-LD mailing list, public-linked-json@w3.org,
+1. Notify the JSON-LD mailing list, public-linked-json@w3.org,
that you will be creating a new test or fix and the purpose of the
change.
2. Clone the git repository: git://github.com/json-ld/json-ld.org.git
@@ -40,18 +38,18 @@
to the [JSON-LD mailing list](mailto:public-linked-json@w3.org).
Optionally, you can ask for direct access to the repository and may make
-changes directly to the JSON-LD Test Suite source code. All updates to the test
-suite go live on Digital Bazaar's JSON-LD Test Suite site within seconds of
+changes directly to the JSON-LD Test Suite source code. All updates to the test
+suite go live on Digital Bazaar's JSON-LD Test Suite site within seconds of
committing changes to github via a WebHook call.
How to Add a Unit Test
----------------------
In order to add a unit test, you must follow these steps:
-
+
1. Pick a new unit test number. For example - 250. To be consistent, please use
the next available unit test number.
-2. Create a markup file in the tests/ directory with a .jsonld extension.
+2. Create a markup file in the tests/ directory with a .jsonld extension.
For example: tests/rdf-250.jsonld
3. Create a SPARQL query file in the tests/ directory with a .jsonld or .sparql extension.
For example: tests/rdf-250.sparql
@@ -59,7 +57,6 @@
The test suite is designed to empower JSON-LD processor maintainers to create
and add tests as they see fit. This may mean that the test suite may become
-unstable from time to time, but this approach has been taken so that the
+unstable from time to time, but this approach has been taken so that the
long-term goal of having a comprehensive test suite for JSON-LD can be achieved
by the JSON-LD community.
-
--- a/test-suite/index.html Tue Apr 10 12:06:12 2012 +0800
+++ b/test-suite/index.html Tue Apr 10 21:56:33 2012 +0800
@@ -1,29 +1,29 @@
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>JSON-LD - Test Suite</title>
- <link href="../site.css" rel="stylesheet" type="text/css" />
- <link rel="shortcut icon" href="../favicon.ico" />
+ <link href="../site.css" rel="stylesheet" type="text/css" />
+ <link rel="shortcut icon" href="../favicon.ico" />
</head>
<body>
- <div id="container">
- <div id="header">
- <span class="col">
+ <div id="container">
+ <div id="header">
+ <span class="col">
<img class="banner" src="../images/json-ld-logo-1.png" />
<img class="banner" src="../images/json-ld-logo-2.png" />
<img class="banner" src="../images/json-ld-logo-3.png" />
<h1>Test Suite</h1>
- </span>
- </div>
+ </span>
+ </div>
- <div id="content">
+ <div id="content">
<div class="breadcrumbs"><a href="../">JSON-LD</a> > Test Suite</div>
<h2 id="introduction">Introduction</h2>
- <p>The JSON-LD Test Suite is a set of tests that can
+ <p>The JSON-LD Test Suite is a set of tests that can
be used to verify JSON-LD Processor conformance to the set of specifications
- that constitute JSON-LD. The goal of the suite is to provide an easy and
+ that constitute JSON-LD. The goal of the suite is to provide an easy and
comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.</p>
<h2 id="design">Design</h2>
@@ -33,8 +33,6 @@
can be compared using JSON object comparison with the processor output.
* <em>expand</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
can be compared using JSON object comparison with the processor output.
- * <em>expand</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
- can be compared using JSON object comparison with the processor output.
* <em>frame</em> tests have <em>input</em>, <em>frame</em> and <em>expected</em> documents. The <em>expected</em> results
can be compared using JSON object comparison with the processor output.
* <em>normalize</em> tests have <em>input</em> and <em>expected</em> documents. The <em>expected</em> results
@@ -50,7 +48,7 @@
please follow these steps:</p>
<ol>
- <li>Notify the JSON-LD mailing list, public-linked-json@w3.org,
+ <li>Notify the JSON-LD mailing list, public-linked-json@w3.org,
that you will be creating a new test or fix and the purpose of the
change.</li>
<li>Clone the git repository: git://github.com/json-ld/json-ld.org.git</li>
@@ -59,8 +57,8 @@
</ol>
<p>Optionally, you can ask for direct access to the repository and may make
- changes directly to the JSON-LD Test Suite source code. All updates to the test
- suite go live on Digital Bazaar’s JSON-LD Test Suite site within seconds of
+ changes directly to the JSON-LD Test Suite source code. All updates to the test
+ suite go live on Digital Bazaar’s JSON-LD Test Suite site within seconds of
committing changes to github via a WebHook call.</p>
<h2 id="how_to_add_a_unit_test">How to Add a Unit Test</h2>
@@ -70,7 +68,7 @@
<ol>
<li>Pick a new unit test number. For example - 250. To be consistent, please use
the next available unit test number.</li>
- <li>Create a markup file in the tests/ directory with a .jsonld extension.
+ <li>Create a markup file in the tests/ directory with a .jsonld extension.
For example: tests/rdf-250.jsonld</li>
<li>Create a SPARQL query file in the tests/ directory with a .jsonld or .sparql extension.
For example: tests/rdf-250.sparql</li>
@@ -79,9 +77,9 @@
<p>The test suite is designed to empower JSON-LD processor maintainers to create
and add tests as they see fit. This may mean that the test suite may become
- unstable from time to time, but this approach has been taken so that the
+ unstable from time to time, but this approach has been taken so that the
long-term goal of having a comprehensive test suite for JSON-LD can be achieved
by the JSON-LD community.</p>
</div></div></div>
</body>
-</html>
\ No newline at end of file
+</html>