use of jakarta.ws.rs.core.NewCookie in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method constructorTest18.
/*
* @testName: constructorTest18
*
* @assertion_ids: JAXRS:JAVADOC:108; JAXRS:JAVADOC:100; JAXRS:JAVADOC:101;
* JAXRS:JAVADOC:103; JAXRS:JAVADOC:51; JAXRS:JAVADOC:53; JAXRS:JAVADOC:54;
* JAXRS:JAVADOC:55; JAXRS:JAVADOC:56;
*
* @test_Strategy: Create a NewCookie instance using constructor
* Cookie(String, String) NewCookie(Cookie, String comment, int maxAge,
* boolean secure)
*/
@Test
public void constructorTest18() throws Fault {
String name = "name_1";
String value = "value_1";
String comment = "";
String domain = "";
String path = "";
int maxage = jakarta.ws.rs.core.NewCookie.DEFAULT_MAX_AGE;
int version = 1;
boolean secure = false;
Cookie ck18 = new Cookie(name, value);
NewCookie nck18 = new NewCookie(ck18, comment, maxage, secure);
verifyNewCookie(nck18, name, value, path, domain, version, comment, maxage, secure);
}
use of jakarta.ws.rs.core.NewCookie in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method constructorTest7.
/*
* @testName: constructorTest7
*
* @assertion_ids: JAXRS:JAVADOC:105; JAXRS:JAVADOC:100; JAXRS:JAVADOC:101;
* JAXRS:JAVADOC:103; JAXRS:JAVADOC:53; JAXRS:JAVADOC:54; JAXRS:JAVADOC:55;
* JAXRS:JAVADOC:56;
*
* @test_Strategy: Create a NewCookie instance using constructor
* NewCookie(java.lang.String name, java.lang.String value, java.lang.String
* path, java.lang.String domain, java.lang.String comment, int maxAge,
* boolean secure)
*/
@Test
public void constructorTest7() throws Fault {
String name = "name_1";
String value = "value_1";
String path = "/acme";
String domain = "";
String comment = "";
int maxage = jakarta.ws.rs.core.NewCookie.DEFAULT_MAX_AGE;
int version = 1;
boolean secure = false;
NewCookie nck7 = new NewCookie(name, value, path, domain, comment, maxage, secure);
verifyNewCookie(nck7, name, value, path, domain, version, comment, maxage, secure);
}
use of jakarta.ws.rs.core.NewCookie in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method constructorTest11.
/*
* @testName: constructorTest11
*
* @assertion_ids: JAXRS:JAVADOC:106; JAXRS:JAVADOC:100; JAXRS:JAVADOC:101;
* JAXRS:JAVADOC:103; JAXRS:JAVADOC:53; JAXRS:JAVADOC:54; JAXRS:JAVADOC:55;
* JAXRS:JAVADOC:56;
*
* @test_Strategy: Create a NewCookie instance using constructor
* NewCookie(java.lang.String name, java.lang.String value, java.lang.String
* path, java.lang.String domain, java.lang.String comment, int maxAge,
* boolean secure)
*/
@Test
public void constructorTest11() throws Fault {
String name = "name_1";
String value = "value_1";
String path = "/acme";
String domain = "y.x.foo.com";
int version = 1;
String comment = "cts test comment";
int maxage = 12345;
boolean secure = false;
NewCookie nck11 = new NewCookie(name, value, path, domain, version, comment, maxage, secure);
verifyNewCookie(nck11, name, value, path, domain, version, comment, maxage, secure);
}
use of jakarta.ws.rs.core.NewCookie in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method constructorTest14.
/*
* @testName: constructorTest14
*
* @assertion_ids: JAXRS:JAVADOC:106; JAXRS:JAVADOC:100; JAXRS:JAVADOC:101;
* JAXRS:JAVADOC:103; JAXRS:JAVADOC:53; JAXRS:JAVADOC:54; JAXRS:JAVADOC:55;
* JAXRS:JAVADOC:56;
*
* @test_Strategy: Create a version 1 NewCookie instance using constructor
* NewCookie(java.lang.String name, java.lang.String value, java.lang.String
* path, java.lang.String domain, int version, java.lang.String comment, int
* maxAge, boolean secure)
*/
@Test
public void constructorTest14() throws Fault {
String name = "name_1";
String value = "value_1";
String path = "/acme";
String domain = "y.x.foo.com";
String comment = "cts test comment";
int maxage = jakarta.ws.rs.core.NewCookie.DEFAULT_MAX_AGE;
int version = 1;
boolean secure = false;
NewCookie nck14 = new NewCookie(name, value, path, domain, version, comment, maxage, secure);
verifyNewCookie(nck14, name, value, path, domain, version, comment, maxage, secure);
}
use of jakarta.ws.rs.core.NewCookie in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method constructorTest13.
/*
* @testName: constructorTest13
*
* @assertion_ids: JAXRS:JAVADOC:106; JAXRS:JAVADOC:100; JAXRS:JAVADOC:101;
* JAXRS:JAVADOC:103; JAXRS:JAVADOC:53; JAXRS:JAVADOC:54; JAXRS:JAVADOC:55;
* JAXRS:JAVADOC:56;
*
* @test_Strategy: Create a NewCookie instance using constructor
* NewCookie(java.lang.String name, java.lang.String value, java.lang.String
* path, java.lang.String domain, int version, java.lang.String comment, int
* maxAge, boolean secure)
*/
@Test
public void constructorTest13() throws Fault {
String name = "name_1";
String value = "value_1";
String path = "";
String domain = "y.x.foo.com";
String comment = "";
int maxage = jakarta.ws.rs.core.NewCookie.DEFAULT_MAX_AGE;
int version = 1;
boolean secure = false;
NewCookie nck13 = new NewCookie(name, value, path, domain, version, comment, maxage, secure);
verifyNewCookie(nck13, name, value, path, domain, version, comment, maxage, secure);
}
Aggregations