use of jakarta.ws.rs.core.NewCookie in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method constructorTest23.
/*
* @testName: constructorTest23
*
* @assertion_ids: JAXRS:JAVADOC:108; JAXRS:JAVADOC:100; JAXRS:JAVADOC:101;
* JAXRS:JAVADOC:103; JAXRS:JAVADOC:49; JAXRS:JAVADOC:53; JAXRS:JAVADOC:54;
* JAXRS:JAVADOC:55; JAXRS:JAVADOC:56;
*
* @test_Strategy: Create a version 1 NewCookie instance using constructor
* Cookie(String, String, String, String, int) NewCookie(Cookie, String
* comment, int maxAge, boolean secure)
*/
@Test
public void constructorTest23() throws Fault {
String name = "name_1";
String value = "value_1";
String path = "/acme";
String domain = "y.x.foo.com";
int version = 0;
String comment = "cts test comment";
int maxage = jakarta.ws.rs.core.NewCookie.DEFAULT_MAX_AGE;
boolean secure = false;
Cookie ck22 = new Cookie(name, value, path, domain, version);
NewCookie nck22 = new NewCookie(ck22, comment, maxage, secure);
verifyNewCookie(nck22, 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 constructorTest9.
/*
* @testName: constructorTest9
*
* @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 version 1 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 constructorTest9() 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 nck9 = new NewCookie(name, value, path, domain, comment, maxage, secure);
verifyNewCookie(nck9, 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 constructorTest12.
/*
* @testName: constructorTest12
*
* @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 constructorTest12() 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 nck12 = new NewCookie(name, value, path, domain, version, comment, maxage, secure);
verifyNewCookie(nck12, 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 constructorTest19.
/*
* @testName: constructorTest19
*
* @assertion_ids: JAXRS:JAVADOC:108; JAXRS:JAVADOC:100; JAXRS:JAVADOC:101;
* JAXRS:JAVADOC:103; JAXRS:JAVADOC:50; JAXRS:JAVADOC:53; JAXRS:JAVADOC:54;
* JAXRS:JAVADOC:55; JAXRS:JAVADOC:56;
*
* @test_Strategy: Create a NewCookie instance using constructor
* Cookie(String, String, String, String) NewCookie(Cookie, String comment,
* int maxAge, boolean secure)
*/
@Test
public void constructorTest19() 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;
Cookie ck2 = new Cookie(name, value, path, domain);
NewCookie nck2 = new NewCookie(ck2, comment, maxage, secure);
verifyNewCookie(nck2, 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 constructorTest3.
/*
* @testName: constructorTest3
*
* @assertion_ids: JAXRS:JAVADOC:107; JAXRS:JAVADOC:100; JAXRS:JAVADOC:101;
* JAXRS:JAVADOC:103; JAXRS:JAVADOC:50; JAXRS:JAVADOC:53; JAXRS:JAVADOC:54;
* JAXRS:JAVADOC:55; JAXRS:JAVADOC:56;
*
* @test_Strategy: Create a NewCookie instance using constructor
* Cookie(String, String, String, String) NewCookie(Cookie)
*/
@Test
public void constructorTest3() 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;
Cookie ck3 = new Cookie(name, value, path, domain);
NewCookie nck3 = new NewCookie(ck3);
verifyNewCookie(nck3, name, value, path, domain, version, comment, maxage, secure);
}
Aggregations