testCookieSetting("CUSTOMER=WILE_E_COYOTE; path=/"); testCookieSetting("PART_NUMBER=ROCKET_LAUNCHER_0001; path=/"); testCookieSetting("SHIPPING=FEDEX; path=/foo"); testCookieSetting("NUMBER=RIDING_ROCKET_0023; path=/ammo");
testCookieSetting("CUSTOMER=WILE_E_COYOTE; path=/", true); testCookieSetting("PART_NUMBER=ROCKET_LAUNCHER_0001; path=/", true); testCookieSetting("SHIPPING=FEDEX; path=/foo", true); testCookieSetting("NUMBER=RIDING_ROCKET_0023; path=/ammo", true);
   public void testParsing() throws IOException   {      // Netscape speficiation      testCookie("CUSTOMER=WILE_E_COYOTE");      testCookie("CUSTOMER=WILE_E_COYOTE; PART_NUMBER=ROCKET_LAUNCHER_0001");      testCookie("CUSTOMER=WILE_E_COYOTE; PART_NUMBER=ROCKET_LAUNCHER_0001; SHIPPING=FEDEX");      testCookie("NUMBER=RIDING_ROCKET_0023; PART_NUMBER=ROCKET_LAUNCHER_0001");            testCookieSetting("CUSTOMER=WILE_E_COYOTE; path=/");      testCookieSetting("PART_NUMBER=ROCKET_LAUNCHER_0001; path=/");      testCookieSetting("SHIPPING=FEDEX; path=/foo");      testCookieSetting("NUMBER=RIDING_ROCKET_0023; path=/ammo");            testCookieDate("Tuesday, 09-Nov-99 23:12:40 GMT");            // RFC 2109      testCookie("$Version=\"1\"; Customer=\"WILE_E_COYOTE\"; $Path=\"/acme\"");      testCookie("$Version=\"1\"; Customer=\"WILE_E_COYOTE\"; $Path=\"/acme\"; Part_Number=\"Rocket_Launcher_0001\"; $Path=\"/acme\"");      testCookie("$Version=\"1\"; Customer=\"WILE_E_COYOTE\"; $Path=\"/acme\"; Part_Number=\"Rocket_Launcher_0001\"; $Path=\"/acme\"; Shipping=\"FedEx\"; $Path=\"/acme\"");      testCookie("$Version=\"1\"; Part_Number=\"Riding_Rocket_0023\"; $Path=\"/acme/ammo\"; Part_Number=\"Rocket_Launcher_0001\"; $Path=\"/acme\"");            testCookieSetting("Customer=\"WILE_E_COYOTE\"; Version=\"1\"; Path=\"/acme\"");      testCookieSetting("Part_Number=\"Rocket_Launcher_0001\"; Version=\"1\"; Path=\"/acme\"");      testCookieSetting("Shipping=\"FedEx\"; Version=\"1\"; Path=\"/acme\"");      testCookieSetting("Part_Number=\"Rocket_Launcher_0001\"; Version=\"1\"; Path=\"/acme\"");      testCookieSetting("Part_Number=\"Riding_Rocket_0023\"; Version=\"1\"; Path=\"/acme/ammo\"");   }