use of org.olat.fileresource.types.FeedFileResource in project OpenOLAT by OpenOLAT.
the class FeedFileStorgeTest method getOrCreateFeedContainer_create.
@Test
public void getOrCreateFeedContainer_create() {
FeedFileResource ores = new BlogFileResource();
VFSContainer feedContainer = sut.getOrCreateFeedContainer(ores);
assertThat(feedContainer).isNotNull();
fileResourceManager.deleteFileResource(ores);
}
use of org.olat.fileresource.types.FeedFileResource in project OpenOLAT by OpenOLAT.
the class FeedFileStorgeTest method getOrCreateFeedContainer_get.
@Test
public void getOrCreateFeedContainer_get() {
FeedFileResource ores = new BlogFileResource();
sut.getOrCreateFeedContainer(ores);
VFSContainer feedContainer = sut.getOrCreateFeedContainer(ores);
assertThat(feedContainer).isNotNull();
fileResourceManager.deleteFileResource(ores);
}
use of org.olat.fileresource.types.FeedFileResource in project OpenOLAT by OpenOLAT.
the class FeedFileStorgeTest method getOrCreateFeedItemsContainer_get.
@Test
public void getOrCreateFeedItemsContainer_get() {
FeedFileResource ores = new BlogFileResource();
sut.getOrCreateFeedItemsContainer(ores);
VFSContainer feedItemsContainer = sut.getOrCreateFeedItemsContainer(ores);
assertThat(feedItemsContainer).isNotNull();
fileResourceManager.deleteFileResource(ores);
}
use of org.olat.fileresource.types.FeedFileResource in project OpenOLAT by OpenOLAT.
the class FeedFileStorgeTest method getOrCreateFeedMediaContainer_create.
@Test
public void getOrCreateFeedMediaContainer_create() {
FeedFileResource ores = new BlogFileResource();
VFSContainer feedMediaContainer = sut.getOrCreateFeedMediaContainer(ores);
assertThat(feedMediaContainer).isNotNull();
fileResourceManager.deleteFileResource(ores);
}
use of org.olat.fileresource.types.FeedFileResource in project openolat by klemens.
the class FeedFileStorgeTest method getOrCreateFeedMediaContainer_get.
@Test
public void getOrCreateFeedMediaContainer_get() {
FeedFileResource ores = new BlogFileResource();
sut.getOrCreateFeedMediaContainer(ores);
VFSContainer feedMediaContainer = sut.getOrCreateFeedMediaContainer(ores);
assertThat(feedMediaContainer).isNotNull();
fileResourceManager.deleteFileResource(ores);
}
Aggregations