From 09b5562ad9b699db72d92400ec16e4f03f563012 Mon Sep 17 00:00:00 2001 From: stleary Date: Sat, 21 Mar 2015 13:18:56 -0500 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0e03195..1837be9 100644 --- a/README.md +++ b/README.md @@ -8,24 +8,24 @@ Eclipse is the recommended development environment. Run individual tests or JunitTestSuite using *EclEmma Coverage*, or execute the TestRunner application directly.
Test filenames should consist of the name of the module being tested, with the suffix "Test". -For example, *Cookie.java* is tested by *CookieTest.java*. -When adding a new unit test, don't forget to update *JunitTestSuite.java*. +For example, Cookie.java is tested by CookieTest.java. +When adding a new unit test, don't forget to update JunitTestSuite.java. The fundamental issues with JSON-Java testing are: -* *JSONObjects* are unordered, making simple string comparison ineffective. -* Comparisons via equals() is not currently supported. Neither JSONArray nor JSONObject overrride hashCode() or equals(), so comparison defaults to the Object equals(), which is not useful. -* Access to the JSONArray and JSONObject internal containers for comparison is not currently available. -* JSONObject sometimes wraps entries in quotes, other times does not, complicating comparisons. +* JSONObjects are unordered, making simple string comparison ineffective. +* Comparisons via equals() is not currently supported. Neither JSONArray nor JSONObject overrride hashCode() or equals(), so comparison defaults to the Object equals(), which is not useful. +* Access to the JSONArray and JSONObject internal containers for comparison is not currently available. +* JSONObject sometimes wraps entries in quotes, other times does not, complicating comparisons. When you start working on a test, add the empty file to the repository, so that others will know that test is taken. A unit test is considered complete when the coverage is >= 90% as measured by EclEmma. -| Test file name | Coverage | Comments | +| Test file name | Coverage | Comments | ------------- | ------------- | -| CookieTest.java | 97.5% | Completed | -| PropertyTest.java | 94.8% | Completed | -| CDLTest.java | 94.8% | Relies too much on string tests, needs to be reworked | +| CookieTest.java | 97.5% | Completed +| PropertyTest.java | 94.8% | Completed +| CDLTest.java | 94.8% | Relies too much on string tests, needs to be reworked Completed tests:
CDLTest.java