Omaha #3365 Realign AWIPS2_baseline tests

Change-Id: I648d8bb6a62bb48c368e975aa65f45f1bcc7641f

Former-commit-id: 98b767f573 [formerly 98b767f573 [formerly 947bc37728f62ff4375f23b9eb8bc7142e220a90]]
Former-commit-id: 1f9c825de5
Former-commit-id: 0d677d1aca
This commit is contained in:
Chris Cody 2014-09-04 09:15:07 -05:00
parent 0eb6bd03d0
commit 503a27310c
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="/com.raytheon.uf.common.comm"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.apache.http"/> <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.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.uf.common.localization"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/com.raytheon.edex.common"/> <classpathentry combineaccessrules="false" exported="true" kind="src" path="/com.raytheon.edex.common"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.apache.log4j"/> <classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.apache.log4j"/>

View file

@ -118,7 +118,6 @@ public class TestWCLWatchSrv {
return rtnSet; return rtnSet;
} }
@Override
protected File getWclDir(String siteID) { protected File getWclDir(String siteID) {
String home = System.getenv("HOME"); String home = System.getenv("HOME");
File fakeDir = new File(home); File fakeDir = new File(home);
@ -148,7 +147,6 @@ public class TestWCLWatchSrv {
// the permanent file. Use an anonymous subclass to bypass CAVE // the permanent file. Use an anonymous subclass to bypass CAVE
// localization. // localization.
wclWatchSrv = new WCLWatchSrv() { wclWatchSrv = new WCLWatchSrv() {
@Override
protected File getWclDir(String siteID) { protected File getWclDir(String siteID) {
String home = System.getenv("HOME"); String home = System.getenv("HOME");
return new File(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 @Override
public Calendar getCalendar() { public Calendar getCalendar() {
final Calendar c = Calendar.getInstance(); 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.YEAR, 2011);
c.set(Calendar.MONTH, Calendar.JULY); c.set(Calendar.MONTH, Calendar.JULY);
c.set(Calendar.DAY_OF_MONTH, 15); c.set(Calendar.DAY_OF_MONTH, 15);

View file

@ -117,7 +117,7 @@ public class TimeToolsNoArchiveTest {
@Override @Override
public Calendar getCalendar() { public Calendar getCalendar() {
final Calendar c = Calendar.getInstance(); 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.YEAR, 2011);
c.set(Calendar.MONTH, Calendar.JULY); c.set(Calendar.MONTH, Calendar.JULY);
c.set(Calendar.DAY_OF_MONTH, 31); c.set(Calendar.DAY_OF_MONTH, 31);