Omaha #3365 Realign AWIPS2_baseline tests

Change-Id: I648d8bb6a62bb48c368e975aa65f45f1bcc7641f

Former-commit-id: c1468c97fb [formerly 9397356128] [formerly 98b767f573] [formerly c1468c97fb [formerly 9397356128] [formerly 98b767f573] [formerly 1f9c825de5 [formerly 98b767f573 [formerly 947bc37728f62ff4375f23b9eb8bc7142e220a90]]]]
Former-commit-id: 1f9c825de5
Former-commit-id: 31fbd06912 [formerly c6b1ff4e90] [formerly 62a7ea8c47bc0ed51d1ffff50aaf9436e4370625 [formerly 0d677d1aca]]
Former-commit-id: dca085578a33d714dae7b307df993171ea3bf283 [formerly 503a27310c]
Former-commit-id: d480271aeb
This commit is contained in:
Chris Cody 2014-09-04 09:15:07 -05:00
parent c542e399b8
commit 239db8b8c8
5 changed files with 2 additions and 60 deletions

View file

@ -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"/>

View file

@ -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);

View file

@ -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);
*/
}
}

View file

@ -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);

View file

@ -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);