Former-commit-id:6f374b35d0
[formerlybe96282207
] [formerly0be473728a
] [formerlyaaac0b51e5
[formerly0be473728a
[formerly 1f109861760e5fbc9d7a13cc4f518341cbc31276]]] Former-commit-id:aaac0b51e5
Former-commit-id: 4cfa5d11d7d7059b88534daa18142d24f3a6f481 [formerlybc439aee4f
] Former-commit-id:f80f98cee2
75 lines
2.5 KiB
Java
75 lines
2.5 KiB
Java
/**
|
|
* This software was developed and / or modified by Raytheon Company,
|
|
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
|
*
|
|
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
|
* This software product contains export-restricted data whose
|
|
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
|
* to non-U.S. persons whether in the United States or abroad requires
|
|
* an export license or other authorization.
|
|
*
|
|
* Contractor Name: Raytheon Company
|
|
* Contractor Address: 6825 Pine Street, Suite 340
|
|
* Mail Stop B8
|
|
* Omaha, NE 68106
|
|
* 402.291.0100
|
|
*
|
|
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
|
* further licensing information.
|
|
**/
|
|
package com.raytheon.uf.edex.datadelivery.bandwidth;
|
|
|
|
import com.raytheon.uf.common.util.SpringFiles;
|
|
import com.raytheon.uf.common.util.TestUtil;
|
|
import com.raytheon.uf.edex.datadelivery.bandwidth.dao.IBandwidthDao;
|
|
import com.raytheon.uf.edex.datadelivery.bandwidth.dao.IBandwidthDbInit;
|
|
import com.raytheon.uf.edex.datadelivery.bandwidth.retrieval.RetrievalManager;
|
|
import com.raytheon.uf.edex.datadelivery.bandwidth.util.BandwidthDaoUtil;
|
|
|
|
/**
|
|
* An NCF {@link IBandwidthManager} that runs as an integration test, outside of
|
|
* the EDEX container.
|
|
*
|
|
* <pre>
|
|
*
|
|
* SOFTWARE HISTORY
|
|
*
|
|
* Date Ticket# Engineer Description
|
|
* ------------ ---------- ----------- --------------------------
|
|
* Feb 18, 2013 1543 djohnson Initial creation
|
|
*
|
|
* </pre>
|
|
*
|
|
* @author djohnson
|
|
* @version 1.0
|
|
*/
|
|
|
|
public class IntegrationTestNcfBandwidthManager extends BandwidthManager {
|
|
|
|
static final String[] INTEGRATION_TEST_SPRING_FILES = new String[] {
|
|
"/bandwidth/bandwidth-datadelivery-integrationtest-impl.xml",
|
|
TestUtil.getResResourcePath(SpringFiles.BANDWIDTH_DATADELIVERY_XML),
|
|
TestUtil.getResResourcePath(SpringFiles.BANDWIDTH_DATADELIVERY_NCF_XML) };
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param dbInit
|
|
* @param bandwidthDao
|
|
* @param retrievalManager
|
|
* @param bandwidthDaoUtil
|
|
*/
|
|
public IntegrationTestNcfBandwidthManager(IBandwidthDbInit dbInit,
|
|
IBandwidthDao bandwidthDao, RetrievalManager retrievalManager,
|
|
BandwidthDaoUtil bandwidthDaoUtil) {
|
|
super(dbInit, bandwidthDao, retrievalManager, bandwidthDaoUtil);
|
|
}
|
|
|
|
/**
|
|
* {@inheritDoc}
|
|
*/
|
|
@Override
|
|
protected String[] getSpringFilesForNewInstance() {
|
|
return INTEGRATION_TEST_SPRING_FILES;
|
|
}
|
|
}
|