Omaha #3365 Realign AWIPS2_baseline tests
Change-Id: I648d8bb6a62bb48c368e975aa65f45f1bcc7641f Former-commit-id:c1468c97fb
[formerly9397356128
] [formerly98b767f573
] [formerly1f9c825de5
[formerly98b767f573
[formerly 947bc37728f62ff4375f23b9eb8bc7142e220a90]]] Former-commit-id:1f9c825de5
Former-commit-id: 62a7ea8c47bc0ed51d1ffff50aaf9436e4370625 [formerly0d677d1aca
] Former-commit-id:c6b1ff4e90
This commit is contained in:
parent
01a2917fa4
commit
31fbd06912
5 changed files with 2 additions and 60 deletions
|
@ -14,7 +14,6 @@
|
|||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/com.raytheon.uf.common.comm"/>
|
||||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.apache.http"/>
|
||||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/com.raytheon.uf.common.serialization"/>
|
||||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/com.raytheon.uf.edex.datadelivery.harvester"/>
|
||||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/com.raytheon.uf.common.localization"/>
|
||||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/com.raytheon.edex.common"/>
|
||||
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.apache.log4j"/>
|
||||
|
|
|
@ -118,7 +118,6 @@ public class TestWCLWatchSrv {
|
|||
return rtnSet;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected File getWclDir(String siteID) {
|
||||
String home = System.getenv("HOME");
|
||||
File fakeDir = new File(home);
|
||||
|
@ -148,7 +147,6 @@ public class TestWCLWatchSrv {
|
|||
// the permanent file. Use an anonymous subclass to bypass CAVE
|
||||
// localization.
|
||||
wclWatchSrv = new WCLWatchSrv() {
|
||||
@Override
|
||||
protected File getWclDir(String siteID) {
|
||||
String home = System.getenv("HOME");
|
||||
return new File(home);
|
||||
|
|
|
@ -1,55 +0,0 @@
|
|||
/**
|
||||
* 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.core.props;
|
||||
|
||||
import org.apache.commons.configuration.Configuration;
|
||||
|
||||
/**
|
||||
* Inject attribute names, attribute values, and property values into the
|
||||
* PropertiesFactory environment configuration.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Sep 06, 2013 2344 bgonzale Initial creation
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author bgonzale
|
||||
* @version 1.0
|
||||
*/
|
||||
public class EnvAttributePropertyInjector {
|
||||
|
||||
public static void injectAttributeProperty(String attributeName,
|
||||
String attributeValue, String propertyValue) {
|
||||
/* TODO HERE FIX PropertiesFactory reference
|
||||
Configuration attrNamesConfig = PropertiesFactory.getInstance()
|
||||
.getEnvProperties().theAttrNamesConfiguration;
|
||||
Configuration envConfig = PropertiesFactory.getInstance()
|
||||
.getEnvProperties().theEnvConfiguration;
|
||||
|
||||
attrNamesConfig.setProperty(attributeName, attributeValue);
|
||||
envConfig.setProperty(attributeValue, propertyValue);
|
||||
*/
|
||||
}
|
||||
}
|
|
@ -77,7 +77,7 @@ public class TimeToolsAllowArchiveTest {
|
|||
@Override
|
||||
public Calendar getCalendar() {
|
||||
final Calendar c = Calendar.getInstance();
|
||||
c.setTimeZone(TimeZone.getTimeZone(TimeTools.ZULU_TIMEZONE));
|
||||
c.setTimeZone(TimeZone.getTimeZone("GMT"));
|
||||
c.set(Calendar.YEAR, 2011);
|
||||
c.set(Calendar.MONTH, Calendar.JULY);
|
||||
c.set(Calendar.DAY_OF_MONTH, 15);
|
||||
|
|
|
@ -117,7 +117,7 @@ public class TimeToolsNoArchiveTest {
|
|||
@Override
|
||||
public Calendar getCalendar() {
|
||||
final Calendar c = Calendar.getInstance();
|
||||
c.setTimeZone(TimeZone.getTimeZone(TimeTools.ZULU_TIMEZONE));
|
||||
c.setTimeZone(TimeZone.getTimeZone("GMT"));
|
||||
c.set(Calendar.YEAR, 2011);
|
||||
c.set(Calendar.MONTH, Calendar.JULY);
|
||||
c.set(Calendar.DAY_OF_MONTH, 31);
|
||||
|
|
Loading…
Add table
Reference in a new issue