use of com.axibase.tsd.api.model.entitygroup.EntityGroup in project atsd-api-test by axibase.
the class EntityGroupEntitiesGetTest method testNameContainsCyrillic.
@Issue("1278")
@Test
public void testNameContainsCyrillic() throws Exception {
EntityGroup entityGroup = new EntityGroup("urlencodegetentitiesйёentitygroup3");
assertUrlEncodePathHandledCorrectly(entityGroup);
}
use of com.axibase.tsd.api.model.entitygroup.EntityGroup in project atsd-api-test by axibase.
the class EntityGroupGetTest method testNameContainsWhitespace.
@Issue("1278")
@Test
public void testNameContainsWhitespace() throws Exception {
EntityGroup entityGroup = new EntityGroup("urlencodeget entitygroup1");
assertUrlEncodePathHandledCorrectly(entityGroup);
}
use of com.axibase.tsd.api.model.entitygroup.EntityGroup in project atsd-api-test by axibase.
the class SeriesQueryEntityExpressionTest method createTestData.
@BeforeClass
public static void createTestData() throws Exception {
// Create metric
MetricMethod.createOrReplaceMetricCheck(METRIC);
// Create series
for (Series series : SERIES_LIST) {
SeriesMethod.insertSeriesCheck(Collections.singletonList(series));
}
// Create properties
for (Property property : PROPERTIES) {
PropertyMethod.insertPropertyCheck(property);
}
// Create entity group
EntityGroup group = new EntityGroup(ENTITY_GROUP_NAME);
EntityGroupMethod.createOrReplaceEntityGroupCheck(group);
EntityGroupMethod.addEntities(ENTITY_GROUP_NAME, false, new ArrayList<>(ENTITIES_IN_GROUP));
}
Aggregations