Package com.opengamma.bbg.referencedata

Examples of com.opengamma.bbg.referencedata.MockReferenceDataProvider


    _cacheManager.clearAll();
  }

  @BeforeMethod
  public void setUp() {
    _underlyingProvider = new MockReferenceDataProvider();
    _unitProvider = new UnitTestingReferenceDataProvider(_underlyingProvider);
    _provider = new DiskStoreEHValueCachingReferenceDataProvider(_underlyingProvider, _cacheManager);
    EHCacheUtils.clear(_cacheManager, EHValueCachingReferenceDataProvider.REFERENCE_DATA_CACHE);
  }
View Full Code Here


  private UnitTestingReferenceDataProvider _unitProvider;
  private ReferenceDataProvider _provider;

  @BeforeMethod
  public void setUp() {
    _underlyingProvider = new MockReferenceDataProvider();
    _unitProvider = new UnitTestingReferenceDataProvider(_underlyingProvider);
    boolean clearData = true; // This is why we make real queries
    _provider = MongoCachedReferenceData.makeMongoProvider(
        _unitProvider, MongoDBValueCachingReferenceDataProviderTest.class, clearData);
  }
View Full Code Here

    _cacheManager = EHCacheUtils.createTestCacheManager(getClass());
  }

  @BeforeMethod
  public void setUp() {
    _underlyingProvider = new MockReferenceDataProvider();
    _unitProvider = new UnitTestingReferenceDataProvider(_underlyingProvider);
    EHCacheUtils.clear(_cacheManager, EHValueCachingReferenceDataProvider.REFERENCE_DATA_CACHE);
    _provider = new EHValueCachingReferenceDataProvider(
        _underlyingProvider, _cacheManager, OpenGammaFudgeContext.getInstance());
  }
View Full Code Here

TOP

Related Classes of com.opengamma.bbg.referencedata.MockReferenceDataProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.