Search in sources :

Example 26 with EntityGroup

use of com.axibase.tsd.api.model.entitygroup.EntityGroup in project atsd-api-test by axibase.

the class EntityGroupCreateOrReplaceTest method testNameContainsWhitespace.

@Issue("1278")
@Test
public void testNameContainsWhitespace() throws Exception {
    EntityGroup entityGroup = new EntityGroup("urlencodecreateReplace entitygroup1");
    assertUrlEncodePathHandledCorrectly(entityGroup);
}
Also used : EntityGroup(com.axibase.tsd.api.model.entitygroup.EntityGroup) Issue(io.qameta.allure.Issue) Test(org.testng.annotations.Test)

Example 27 with EntityGroup

use of com.axibase.tsd.api.model.entitygroup.EntityGroup in project atsd-api-test by axibase.

the class EntityGroupCreateOrReplaceTest method testNameContainsSlash.

@Issue("1278")
@Test
public void testNameContainsSlash() throws Exception {
    EntityGroup entityGroup = new EntityGroup("urlencodecreateReplace/entitygroup2");
    assertUrlEncodePathHandledCorrectly(entityGroup);
}
Also used : EntityGroup(com.axibase.tsd.api.model.entitygroup.EntityGroup) Issue(io.qameta.allure.Issue) Test(org.testng.annotations.Test)

Example 28 with EntityGroup

use of com.axibase.tsd.api.model.entitygroup.EntityGroup in project atsd-api-test by axibase.

the class EntityGroupEntitiesAddTest method testNameContainsCyrillic.

@Issue("1278")
@Test
public void testNameContainsCyrillic() throws Exception {
    EntityGroup entityGroup = new EntityGroup("urlencodeaddentitiesйёentitygroup3");
    assertUrlEncodePathHandledCorrectly(entityGroup);
}
Also used : EntityGroup(com.axibase.tsd.api.model.entitygroup.EntityGroup) Issue(io.qameta.allure.Issue) Test(org.testng.annotations.Test)

Example 29 with EntityGroup

use of com.axibase.tsd.api.model.entitygroup.EntityGroup in project atsd-api-test by axibase.

the class EntityGroupEntitiesAddTest method testNameContainsWhitespace.

@Issue("1278")
@Test
public void testNameContainsWhitespace() throws Exception {
    EntityGroup entityGroup = new EntityGroup("urlencodeaddentities entitygroup1");
    assertUrlEncodePathHandledCorrectly(entityGroup);
}
Also used : EntityGroup(com.axibase.tsd.api.model.entitygroup.EntityGroup) Issue(io.qameta.allure.Issue) Test(org.testng.annotations.Test)

Example 30 with EntityGroup

use of com.axibase.tsd.api.model.entitygroup.EntityGroup in project atsd-api-test by axibase.

the class EntityGroupEntitiesGetTest method testNameContainsSlash.

@Issue("1278")
@Test
public void testNameContainsSlash() throws Exception {
    EntityGroup entityGroup = new EntityGroup("urlencodegetentities/entitygroup2");
    assertUrlEncodePathHandledCorrectly(entityGroup);
}
Also used : EntityGroup(com.axibase.tsd.api.model.entitygroup.EntityGroup) Issue(io.qameta.allure.Issue) Test(org.testng.annotations.Test)

Aggregations

EntityGroup (com.axibase.tsd.api.model.entitygroup.EntityGroup)33 Issue (io.qameta.allure.Issue)29 Test (org.testng.annotations.Test)29 Response (javax.ws.rs.core.Response)4 Series (com.axibase.tsd.api.model.series.Series)3 BeforeClass (org.testng.annotations.BeforeClass)3 Entity (com.axibase.tsd.api.model.entity.Entity)1 Metric (com.axibase.tsd.api.model.metric.Metric)1 Property (com.axibase.tsd.api.model.property.Property)1