use of org.testng.annotations.Ignore in project swagger-core by swagger-api.
the class ModelConverterTest method directPropertiesRecognized.
@Test
@Ignore
public void directPropertiesRecognized() {
final Map<String, Schema> models = ModelConverters.getInstance().read(AnnotatedBaseClass.class);
final Schema model = models.get("AnnotatedBaseClass");
assertNotNull(model);
assertEquals(model.getName(), "AnnotatedBaseClass");
assertNotNull(model.getProperties());
assertEquals(model.getProperties().size(), 1);
}
use of org.testng.annotations.Ignore in project jsr354-ri-bp by JavaMoney.
the class MonetaryFormatsTest method testFormat_EUR_fr_FR.
@Test
@Ignore
public void testFormat_EUR_fr_FR() {
AmountFormatQuery formatQuery = AmountFormatQueryBuilder.of(FRANCE).set(CODE).build();
MonetaryAmountFormat format = MonetaryFormats.getAmountFormat(formatQuery);
assertMoneyFormat(format, Money.of(123.01, "EUR"), "123,01 EUR");
assertMoneyFormat(format, Money.of(14000.12, "EUR"), "14 000,12 EUR");
}
use of org.testng.annotations.Ignore in project SourceCodePortal by Cantara.
the class GitHubRateLimitTest method testGitHubApiLimit.
@Ignore
@Test
public void testGitHubApiLimit() {
DynamicConfiguration configuration = configuration();
HttpResponse<String> response = new GetGitHubCommand<>("githubRateLimit", configuration, Optional.empty(), "https://api.github.com/rate_limit", HttpResponse.BodyHandlers.ofString()).execute();
LOG.trace("GitHub API Limit: {}", JsonbFactory.prettyPrint(response.body()));
}
use of org.testng.annotations.Ignore in project SourceCodePortal by Cantara.
the class GitHubPageServiceTest method testName.
@Ignore
// (enabled = false)
@Test
public void testName() {
ExecutorService executorService = ExecutorService.create();
executorService.start();
DynamicConfiguration configuration = configuration();
CacheStore cacheStore = cacheStore(configuration);
RepositoryConfigLoader loader = new RepositoryConfigLoader(configuration, cacheStore);
loader.load();
cacheStore.getRepositories().forEach(rg -> {
// TODO lookup CacheGroupKey for CacheKey and pass that to worker task
// TODO use CacheGroupKey for pages
// executorService.queue(new FetchPageTask(configuration, executorService, cacheStore, rg.getKey(), rg.getValue().readmeURL));
LOG.trace("{} - {}", rg.getKey(), rg.getValue().apiReadmeURL.getExternalURL());
// cacheStore.getReadmeContents().get(cacheStore.getCacheKeys().get(rg.getKey().asCacheKey()));
});
executorService.shutdown();
}
use of org.testng.annotations.Ignore in project SourceCodePortal by Cantara.
the class ScmRepositoryServiceTest method testRepositoryService.
@Ignore
@Test
public void testRepositoryService() {
DynamicConfiguration configuration = configuration();
CacheStore cacheStore = cacheStore(configuration);
RepositoryConfigLoader loader = new RepositoryConfigLoader(configuration, cacheStore);
cacheStore.getRepositoryConfig().getConfig().repos.forEach((k, v) -> {
LOG.trace("configRepo: {}", v);
});
loader.load();
ScmRepositoryService service = new ScmRepositoryService(cacheStore);
service.keySet().forEach(k -> {
// LOG.trace("key: {}", k);
});
// service.sortedEntrySet().entrySet().forEach(entry -> {
// LOG.trace("group: {} -- count: {}", entry.getKey().groupId, entry.getValue().size());
// entry.getValue().forEach(scmRepository -> {
// LOG.trace(" {}", scmRepository.cacheRepositoryKey.repoName );
// });
// });
service.groupedRepositories().forEach((k, v) -> {
if (k.isGroup()) {
LOG.trace("isGroup: {}", k.groupId);
v.forEach(r -> {
LOG.trace(" {}", r);
// LOG.trace(" {}", r.cacheRepositoryKey.repoName);
});
}
});
}
Aggregations