Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
package org.multibit.mbm.auth.hmac; import com.google.common.base.Charsets; import com.google.common.base.Objects; import org.multibit.mbm.db.dto.Authority; import java.security.MessageDigest; import static com.google.common.base.Preconditions.checkNotNull; /** * <p>Value object to provide the following to {@link...
688
github-java-corpus
2,012
package org.multibit.mbm.auth.hmac; import com.google.common.collect.Sets; import com.sun.jersey.api.client.ClientRequest; import com.sun.jersey.api.container.ContainerException; import com.sun.jersey.core.util.ReaderWriter; import com.sun.jersey.spi.container.ContainerRequest; import javax.crypto.Mac; import javax.c...
2,551
github-java-corpus
2,012
package org.multibit.mbm.auth.annotation; import org.multibit.mbm.db.dto.Authority; import java.lang.annotation.*; /** * <p>Annotation to provide the following to application:</p> * <ul> * <li>Concise type-safe reference to {@link org.multibit.mbm.db.dto.Authority}</li> * <li>Binds to parameter to assist injecti...
185
github-java-corpus
2,012
package org.multibit.mbm.auth; /** * <p>This top-level package provides the following to the application through its sub-packages</p> * <ul> * <li>Support for various authentication schemes such as OAuth2 and HMAC</li> * <li>Integration with security system for Users/Roles/Authorities</li> * </ul> */
76
github-java-corpus
2,012
package org.multibit.mbm.auth.openid; /** * <p>[Pattern] to provide the following to {@link Object}:</p> * <ul> * <li></li> * </ul> * <p>Example:</p> * <pre> * </pre> * * @since 0.0.1 *   */ import com.google.common.base.Optional; import com.sun.jersey.api.core.HttpContext; import com.sun.jersey.ser...
703
github-java-corpus
2,012
package org.multibit.mbm.auth.openid; /** * <p>[Pattern] to provide the following to {@link Object}:</p> * <ul> * <li></li> * </ul> * <p>Example:</p> * <pre> * </pre> * * @since 0.0.1 *   */ import com.sun.jersey.api.model.Parameter; import com.sun.jersey.core.spi.component.ComponentContext; import ...
413
github-java-corpus
2,012
package org.multibit.mbm.auth.openid; /** * <p>[Pattern] to provide the following to {@link Object}:</p> * <ul> * <li></li> * </ul> * <p>Example:</p> * <pre> * </pre> * * @since 0.0.1 *   */ import com.google.common.base.Charsets; import com.google.common.base.Objects; import java.security.MessageDi...
478
github-java-corpus
2,012
package org.multibit.mbm.health; /** * <p>This top-level package provides the following to the application through its sub-packages</p> * <ul> * <li>Support for metrics and failure alerts at runtime</li> * </ul> */
55
github-java-corpus
2,012
package org.multibit.mbm.health; /** * <p>HealthCheck to provide the following to application:</p> * <ul> * <li>Provision of checks against a given Configuration property </li> * </ul> * * @since 0.0.1 *   */ import com.yammer.metrics.core.HealthCheck; public class TemplatePropertyHealthCheck extends ...
119
github-java-corpus
2,012
package org.multibit.mbm.resources; import org.junit.Test; import org.multibit.mbm.api.hal.HalMediaType; import org.multibit.mbm.db.dto.User; import org.multibit.mbm.services.CustomerService; import org.multibit.mbm.test.BaseJerseyResourceTest; import org.multibit.mbm.test.FixtureAsserts; import static org.mockito.Mo...
290
github-java-corpus
2,012
package org.multibit.mbm.resources; import com.google.common.collect.Lists; import org.junit.Test; import org.multibit.mbm.api.hal.HalMediaType; import org.multibit.mbm.db.DatabaseLoader; import org.multibit.mbm.db.dao.ItemDao; import org.multibit.mbm.db.dto.Item; import org.multibit.mbm.test.BaseJerseyResourceTest; i...
551
github-java-corpus
2,012
package org.multibit.mbm.resources; import org.junit.Test; import org.multibit.mbm.api.hal.HalMediaType; import org.multibit.mbm.db.dto.User; import org.multibit.mbm.test.BaseJerseyResourceTest; import org.multibit.mbm.test.FixtureAsserts; public class CustomerUserResourceTest extends BaseJerseyResourceTest { priv...
224
github-java-corpus
2,012
package org.multibit.mbm.resources; import org.junit.Test; import org.multibit.mbm.test.BaseJerseyResourceTest; import javax.ws.rs.core.MediaType; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.is; public class BitcoinPaymentReso...
230
github-java-corpus
2,012
package org.multibit.mbm.resources; import com.google.common.base.Optional; import com.google.common.collect.Lists; import org.junit.Test; import org.multibit.mbm.api.hal.HalMediaType; import org.multibit.mbm.api.request.cart.CustomerCartItem; import org.multibit.mbm.api.request.cart.CustomerUpdateCartRequest; import ...
899
github-java-corpus
2,012
package org.multibit.mbm.resources.admin; import com.google.common.base.Optional; import com.google.common.collect.Lists; import org.junit.Test; import org.multibit.mbm.api.hal.HalMediaType; import org.multibit.mbm.api.request.cart.AdminUpdateCartRequest; import org.multibit.mbm.api.request.cart.CustomerCartItem; impo...
1,347
github-java-corpus
2,012
package org.multibit.mbm.resources.admin; import com.google.common.base.Optional; import com.google.common.collect.Lists; import org.junit.Test; import org.multibit.mbm.api.hal.HalMediaType; import org.multibit.mbm.api.request.AdminDeleteEntityRequest; import org.multibit.mbm.api.request.item.AdminCreateItemRequest; i...
1,148
github-java-corpus
2,012
package org.multibit.mbm.resources.admin; import com.google.common.base.Optional; import com.google.common.collect.Lists; import org.junit.Test; import org.multibit.mbm.api.hal.HalMediaType; import org.multibit.mbm.api.request.AdminDeleteEntityRequest; import org.multibit.mbm.api.request.role.AdminCreateRoleRequest; i...
1,182
github-java-corpus
2,012
package org.multibit.mbm.resources.admin; import com.google.common.base.Optional; import com.google.common.collect.Lists; import org.junit.Test; import org.multibit.mbm.api.hal.HalMediaType; import org.multibit.mbm.api.request.AdminDeleteEntityRequest; import org.multibit.mbm.api.request.user.AdminCreateUserRequest; i...
1,111
github-java-corpus
2,012
package org.multibit.mbm.util; import org.joda.time.DateTime; import org.joda.time.DateTimeUtils; import org.junit.Test; import org.multibit.mbm.util.DateUtils; import java.util.Locale; import static org.junit.Assert.assertEquals; public class DateUtilsTest { @Test public void testFriendlyFormatDefaultLocale() ...
267
github-java-corpus
2,012
package org.multibit.mbm.db.dto; import org.junit.Test; import static org.junit.Assert.assertTrue; public class CustomerTest { @Test public void testPrimaryEmailAddress() { // TODO Add cart handling operations assertTrue(true); } }
54
github-java-corpus
2,012
package org.multibit.mbm.db.dto; import org.junit.Assert; import org.junit.Test; import static org.junit.Assert.assertEquals; public class ItemTest { /** * Verifies that the summary field correctly supports localised text */ @Test public void testItemFieldDetailSummary() { // Use the builder It...
395
github-java-corpus
2,012
package org.multibit.mbm.db.dao.hibernate; import com.google.common.base.Optional; import org.junit.Test; import org.multibit.mbm.db.dao.CartDao; import org.multibit.mbm.db.dao.CustomerDao; import org.multibit.mbm.db.dao.ItemDao; import org.multibit.mbm.db.dao.UserDao; import org.multibit.mbm.db.dto.Cart; import org.m...
1,414
github-java-corpus
2,012
package org.multibit.mbm.db.dao.hibernate; import org.junit.Test; import org.multibit.mbm.db.DatabaseLoader; import org.multibit.mbm.db.dto.*; import org.multibit.mbm.db.dao.CustomerDao; import org.multibit.mbm.test.BaseIntegrationTests; import org.springframework.test.context.ContextConfiguration; import javax.annot...
469
github-java-corpus
2,012
package org.multibit.mbm.db.dao.hibernate; import com.google.common.base.Optional; import org.junit.Test; import org.multibit.mbm.db.dao.UserDao; import org.multibit.mbm.db.dto.ContactMethod; import org.multibit.mbm.db.dto.ContactMethodDetail; import org.multibit.mbm.db.dto.User; import org.multibit.mbm.db.dto.UserBui...
1,343
github-java-corpus
2,012
package org.multibit.mbm.db.dao.hibernate; import com.google.common.base.Optional; import org.junit.Test; import org.multibit.mbm.db.dao.RoleDao; import org.multibit.mbm.db.dto.Authority; import org.multibit.mbm.db.dto.Role; import org.multibit.mbm.db.dto.RoleBuilder; import org.multibit.mbm.test.BaseIntegrationTests;...
689
github-java-corpus
2,012
package org.multibit.mbm.db.dao.hibernate; import com.google.common.base.Optional; import org.junit.Test; import org.multibit.mbm.api.response.ItemPagedQueryResponse; import org.multibit.mbm.db.dao.CustomerDao; import org.multibit.mbm.db.dao.ItemDao; import org.multibit.mbm.db.dto.*; import org.multibit.mbm.test.BaseI...
1,963
github-java-corpus
2,012
package org.multibit.mbm.test; import org.junit.Ignore; import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests; /** *  <p>Abstract base class to provide the following to database integration tests:</p> *  <ul> *  <li>Provides a one-off database load of standard objects shared ...
130
github-java-corpus
2,012
package org.multibit.mbm.test; import com.google.common.base.Optional; import com.google.common.collect.Lists; import org.joda.time.DateTime; import org.joda.time.DateTimeUtils; import org.joda.time.DateTimeZone; import org.multibit.mbm.api.hal.HalMediaType; import org.multibit.mbm.db.dto.User; import javax.ws.rs.cor...
507
github-java-corpus
2,012
package org.multibit.mbm.test; import com.google.common.base.Optional; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect.Sets; import com.sun.jersey.api.client.Client; import com.sun.jersey.test.framework.AppDescriptor; import com.sun.jersey.test.framework....
1,175
github-java-corpus
2,012
package org.multibit.mbm.services; import org.junit.Test; import static org.junit.Assert.assertTrue; public class CustomerServiceTest { /** * Verifies the transaction configuration by Spring */ @Test public void testHaveBeenAuthenticated_SpringTx() { // TODO Add tests for Cart operations asser...
73
github-java-corpus
2,012
package org.multibit.mbm.accounting.inventory; import org.joda.time.DateTime; import org.junit.Test; import org.multibit.mbm.accounting.Account; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; public class TransferTest { @Test(expected = IllegalArgumentException.class) ...
922
github-java-corpus
2,012
package org.multibit.mbm.accounting.inventory; import org.junit.Test; import org.multibit.mbm.accounting.EntryFactory; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; public class HoldingTest { @Test public void testInitialBalance() { Holding testObject = new Hold...
528
github-java-corpus
2,012
package org.multibit.mbm.accounting; import org.joda.time.DateTime; import org.multibit.mbm.accounting.inventory.InventoryEntry; import org.multibit.mbm.accounting.inventory.ItemType; /** * <p>Factory to provide the following to tests:</p> * <ul> * <li>Creation of test Entry instances</li> * </ul> * * @since 0....
379
github-java-corpus
2,012
package org.multibit.mbm.accounting; import org.joda.time.DateTime; import org.junit.Test; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; public class TransactionTest { @Test(expected = IllegalArgumentException.class) public void testValidationFailureLHSNull() { ...
705
github-java-corpus
2,012
package org.multibit.mbm.accounting; import org.junit.Test; import java.util.HashSet; import java.util.Set; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; public class AccountTest { @Test public void testInitialBalance() { Account testObject = new Account(); ...
405
github-java-corpus
2,012
package org.multibit.mbm.accounting.rules; import org.junit.Test; import org.multibit.mbm.accounting.Account; import org.multibit.mbm.accounting.DefaultEntry; import org.multibit.mbm.accounting.EntryFactory; import org.multibit.mbm.accounting.Transaction; import static org.hamcrest.CoreMatchers.equalTo; import static...
552
github-java-corpus
2,012
package org.multibit.mbm.accounting.rules; import org.junit.Test; import org.multibit.mbm.accounting.*; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; public class MemoPostingRuleTest { private MemoPostingRule<DefaultEntry> testObject = null; @Test public void tes...
508
github-java-corpus
2,012
package org.multibit.mbm.bitcoin.service; import com.google.bitcoin.core.*; import com.google.common.collect.Lists; import org.junit.Assert; import org.junit.Ignore; import org.junit.Test; import java.awt.image.BufferedImage; import java.math.BigInteger; import java.util.List; import static org.junit.Assert.assertNo...
1,140
github-java-corpus
2,012
package org.multibit.mbm.auth.hmac; import com.google.common.collect.Lists; import com.sun.jersey.api.client.ClientRequest; import com.sun.jersey.client.impl.ClientRequestImpl; import com.sun.jersey.core.header.InBoundHeaders; import com.sun.jersey.core.header.OutBoundHeaders; import com.sun.jersey.core.impl.provider....
1,467
github-java-corpus
2,012
/** * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
679
github-java-corpus
2,012
import javax.net.ssl.*; import java.io.*; import java.security.KeyStore; import java.security.MessageDigest; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; /** * * <p>Utility to provide the following to developers:<br> * * <ul> * * <li>Quick tool to import the self-signed...
1,351
github-java-corpus
2,012
package org.multibit.merchant.client.store; import com.google.common.cache.CacheBuilderSpec; import com.yammer.dropwizard.Service; import com.yammer.dropwizard.bundles.AssetsBundle; import com.yammer.dropwizard.config.Environment; import com.yammer.dropwizard.views.ViewBundle; import com.yammer.dropwizard.views.ViewMe...
468
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
239
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
234
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
233
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
234
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.views.View; /** * <p>View to provide the following to application:</p> * <ul> * <li>Representation of the home page</li> * </ul> * * @since 0.0.1 * * TODO Add support for backing bean with i18n etc *   */ public class ...
120
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
239
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
234
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
231
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
241
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
236
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
233
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
233
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
233
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
233
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
234
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
235
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
233
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
238
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
237
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
235
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
239
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
236
github-java-corpus
2,012
package org.multibit.merchant.client.store.resources; import com.yammer.dropwizard.jersey.caching.CacheControl; import com.yammer.metrics.annotation.Timed; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; ...
234
github-java-corpus
2,012
package org.multibit.merchant.client.store; import com.yammer.dropwizard.config.Configuration; import org.codehaus.jackson.annotate.JsonProperty; import org.hibernate.validator.constraints.NotEmpty; /** * <p>DropWizard Configuration to provide the following to application:</p> * <ul> * <li>Initialisation code</li>...
182
github-java-corpus
2,012
package org.multibit.merchant.client.store.health; /** * <p>HealthCheck to provide the following to application:</p> * <ul> * <li>Provision of checks against a given Configuration property </li> * </ul> * * @since 0.0.1 *   */ import com.yammer.metrics.core.HealthCheck; public class TemplatePropertyHe...
172
github-java-corpus
2,012
package org.multibit.merchant.client.store.health; /** * <p>HealthCheck to provide the following to application:</p> * <ul> * <li>Provision of checks against a given Configuration property </li> * </ul> * * @since 0.0.1 *   */ import com.yammer.metrics.core.HealthCheck; public class StoreHealthCheck e...
121
github-java-corpus
2,012
package org.multibit.mbm.api.hal; import javax.ws.rs.core.MediaType; /** * <p>Additional media types to provide the following to resource endpoints:</p> * <ul> * <li>Provision of HAL identifier</li> * </ul> * * @since 0.0.1 */ public class HalMediaType extends MediaType { /** * "application/hal+xml" *...
196
github-java-corpus
2,012
package org.multibit.mbm.test; import com.theoryinpractise.halbuilder.spi.Resource; import com.yammer.dropwizard.testing.FixtureHelpers; import junit.framework.Assert; import org.multibit.mbm.api.hal.HalMediaType; import java.io.IOException; import java.util.Arrays; import static com.yammer.dropwizard.testing.JsonHe...
815
github-java-corpus
2,012
package org.multibit.mbm.test; import com.google.common.io.Resources; import java.io.IOException; /** * <p>Helpers to provide the following to tests:</p> * <ul> * <li>Easy access to binary test fixtures</li> * </ul> * * @since 0.0.1 *   */ public class BinaryFixtureHelpers { private BinaryFixtureHe...
196
github-java-corpus
2,012
package $packageName$.diagram; import org.eclipse.graphiti.dt.IDiagramTypeProvider; import org.eclipse.graphiti.features.IAddFeature; import org.eclipse.graphiti.features.ICreateConnectionFeature; import org.eclipse.graphiti.features.context.IAddConnectionContext; import org.eclipse.graphiti.features.context.IAd...
295
github-java-corpus
2,012
package $packageName$.diagram; import org.eclipse.graphiti.dt.AbstractDiagramTypeProvider; public class $diagramTypeProviderClassName$ extends AbstractDiagramTypeProvider { public $diagramTypeProviderClassName$() { super(); setFeatureProvider(new $featureProviderClassName$(this)); } }
61
github-java-corpus
2,012
package $packageName$.patterns; import org.eclipse.emf.common.util.EList; import org.eclipse.graphiti.features.context.IAddContext; import org.eclipse.graphiti.features.context.ICreateContext; import org.eclipse.graphiti.features.context.ILayoutContext; import org.eclipse.graphiti.mm.algorithms.GraphicsAlgorithm...
1,121
github-java-corpus
2,012
package $packageName$.features; import org.eclipse.graphiti.features.IAddFeature; import org.eclipse.graphiti.features.IFeatureProvider; import org.eclipse.graphiti.features.context.IAddConnectionContext; import org.eclipse.graphiti.features.context.IAddContext; import org.eclipse.graphiti.features.impl.Abstract...
422
github-java-corpus
2,012
package $packageName$.features; import org.eclipse.graphiti.features.ICreateConnectionFeature; import org.eclipse.graphiti.features.IFeatureProvider; import org.eclipse.graphiti.features.context.ICreateConnectionContext; import org.eclipse.graphiti.features.context.impl.AddConnectionContext; import org.eclipse.g...
464
github-java-corpus
2,012
package $packageName$.diagram; import org.eclipse.graphiti.dt.IDiagramTypeProvider; import org.eclipse.graphiti.features.IAddFeature; import org.eclipse.graphiti.features.ICreateConnectionFeature; import org.eclipse.graphiti.features.ICreateFeature; import org.eclipse.graphiti.features.ILayoutFeature; import or...
558
github-java-corpus
2,012
package $packageName$.diagram; import org.eclipse.graphiti.dt.AbstractDiagramTypeProvider; public class $diagramTypeProviderClassName$ extends AbstractDiagramTypeProvider { public $diagramTypeProviderClassName$() { super(); setFeatureProvider(new $featureProviderClassName$(this)); } }
61
github-java-corpus
2,012
package $packageName$.features; import org.eclipse.emf.common.util.EList; import org.eclipse.graphiti.features.IFeatureProvider; import org.eclipse.graphiti.features.ILayoutFeature; import org.eclipse.graphiti.features.context.ILayoutContext; import org.eclipse.graphiti.features.impl.AbstractLayoutFeature; impo...
464
github-java-corpus
2,012
package $packageName$.features; import org.eclipse.graphiti.features.IAddFeature; import org.eclipse.graphiti.features.IFeatureProvider; import org.eclipse.graphiti.features.context.IAddContext; import org.eclipse.graphiti.features.impl.AbstractAddFeature; import org.eclipse.graphiti.mm.algorithms.RoundedRectang...
539
github-java-corpus
2,012
package $packageName$.features; import org.eclipse.graphiti.features.IAddFeature; import org.eclipse.graphiti.features.IFeatureProvider; import org.eclipse.graphiti.features.context.IAddConnectionContext; import org.eclipse.graphiti.features.context.IAddContext; import org.eclipse.graphiti.features.impl.Abstract...
424
github-java-corpus
2,012
package $packageName$.features; import org.eclipse.graphiti.features.ICreateFeature; import org.eclipse.graphiti.features.IFeatureProvider; import org.eclipse.graphiti.features.context.ICreateContext; import org.eclipse.graphiti.features.impl.AbstractCreateFeature; import org.eclipse.graphiti.mm.pictograms.Diagr...
263
github-java-corpus
2,012
package $packageName$.features; import org.eclipse.graphiti.features.ICreateConnectionFeature; import org.eclipse.graphiti.features.IFeatureProvider; import org.eclipse.graphiti.features.context.ICreateConnectionContext; import org.eclipse.graphiti.features.context.impl.AddConnectionContext; import org.eclipse.g...
464
github-java-corpus
2,012
/** * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *...
350
github-java-corpus
2,012
/** * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *...
4,288
github-java-corpus
2,012
/** * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *...
1,923
github-java-corpus
2,012
/** * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *...
357
github-java-corpus
2,012
/** * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *...
231
github-java-corpus
2,012
/** * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *...
422
github-java-corpus
2,012
/** * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *...
239
github-java-corpus
2,012
package org.eclipse.graphiti.tools.newprojectwizard.internal; import org.eclipse.osgi.util.NLS; public class Messages extends NLS { private static final String BUNDLE_NAME = "org.eclipse.graphiti.tools.newprojectwizard.internal.messages"; //$NON-NLS-1$ public static String GraphitiEditorTemplateSection_fieldN...
386
github-java-corpus
2,012
/******************************************************************************* * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
494
github-java-corpus
2,012
/******************************************************************************* * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
8,573
github-java-corpus
2,012
/******************************************************************************* * <copyright> * * Copyright (c) 2012, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
374
github-java-corpus
2,012
/******************************************************************************* * <copyright> * * Copyright (c) 2005, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and ...
1,459
github-java-corpus
2,012
/******************************************************************************* * <copyright> * * Copyright (c) 2005, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and ...
2,184
github-java-corpus
2,012
/******************************************************************************* * <copyright> * * Copyright (c) 2005, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and ...
9,257
github-java-corpus
2,012
/******************************************************************************* * <copyright> * * Copyright (c) 2005, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and ...
274
github-java-corpus
2,012
/******************************************************************************* * <copyright> * * Copyright (c) 2005, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and ...
450
github-java-corpus
2,012
/******************************************************************************* * <copyright> * * Copyright (c) 2005, 2012 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and ...
309