From d555013164511ee539687c03a749e3dca395e430 Mon Sep 17 00:00:00 2001 From: Roger Ferrel Date: Wed, 5 Dec 2012 16:06:19 -0600 Subject: [PATCH] Issue #1353 Delete old test classes that no longer work or are referenced anywhere. Change-Id: Idcd6f01985b73f6a29af1e69699798d23ffc2d22 Former-commit-id: bc1ca38eefa3aa702f974bab37f93cd1a5fd6c89 [formerly a74be95da78443f99e306a8a6441ffd4b3ca2254] [formerly eef69ff910bde52863e4002d64936bc11a1d3a8c] [formerly bc1ca38eefa3aa702f974bab37f93cd1a5fd6c89 [formerly a74be95da78443f99e306a8a6441ffd4b3ca2254] [formerly eef69ff910bde52863e4002d64936bc11a1d3a8c] [formerly e985aca148e6821fe82d64dc758387d8429ba403 [formerly eef69ff910bde52863e4002d64936bc11a1d3a8c [formerly 881bff62599a078b6266483f79b8f2b2583fa6e0]]]] Former-commit-id: e985aca148e6821fe82d64dc758387d8429ba403 Former-commit-id: aece2ae77b014556dd953829ebdc8b53611e705d [formerly f8fb1d2748261d05cfbe5ba4fa688ec9f1d53f96] [formerly 9beb34452e8ea6a26424b15d580ca83b7843de7b [formerly 104e7e54ee49b1fd837d86ac705536cf5495dd84]] Former-commit-id: 59fcd7624285873982c2fce7175d62367bc9cd26 [formerly 1c1c17a7a6f69aaa9aedbf91b17bedf2d5af5f1d] Former-commit-id: 237669c533116ebb7907fe2dbf8b31887af180ab --- .../ffmp/fffgtest/FFFGLauncherDlg.java | 84 ------------ .../monitor/ffmp/fffgtest/FFFGXmlTest.java | 33 ----- .../viz/monitor/ffmp/fffgtest/QuickTest.java | 38 ------ .../monitor/ffmp/fftitest/MainWindowDlg.java | 129 ------------------ .../ffmp/test/TimeDurationTestDlg.java | 117 ---------------- 5 files changed, 401 deletions(-) delete mode 100644 cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/FFFGLauncherDlg.java delete mode 100644 cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/FFFGXmlTest.java delete mode 100644 cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/QuickTest.java delete mode 100644 cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fftitest/MainWindowDlg.java delete mode 100644 cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/test/TimeDurationTestDlg.java diff --git a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/FFFGLauncherDlg.java b/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/FFFGLauncherDlg.java deleted file mode 100644 index f3bdb5bfd9..0000000000 --- a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/FFFGLauncherDlg.java +++ /dev/null @@ -1,84 +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.viz.monitor.ffmp.fffgtest; - -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.SelectionAdapter; -import org.eclipse.swt.events.SelectionEvent; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; - -import com.raytheon.uf.viz.monitor.ffmp.fffg.FFFGDlg; - -public class FFFGLauncherDlg -{ - private Display display; - private Shell shell; - - public FFFGLauncherDlg() - { - display = new Display(); - shell = new Shell(display); - } - - private void run() - { - GridLayout gl = new GridLayout(1, false); - gl.horizontalSpacing = 0; - shell.setLayout(gl); - - shell.setSize(600, 400); - - createButtons(); - -// shell.pack(); - shell.open(); - - while (!shell.isDisposed()) - { - if (!display.readAndDispatch()) display.sleep(); - } - - display.dispose(); - } - - private void createButtons() - { - Button launchFffgBtn = new Button(shell, SWT.PUSH); - launchFffgBtn.setText("Launch FFFG"); - launchFffgBtn.addSelectionListener(new SelectionAdapter() - { - @Override - public void widgetSelected(SelectionEvent e) - { - FFFGDlg fffgDlg = new FFFGDlg(shell); - fffgDlg.open(); - } - }); - } - - public static void main(String[] args) - { - FFFGLauncherDlg fld = new FFFGLauncherDlg(); - fld.run(); - } -} diff --git a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/FFFGXmlTest.java b/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/FFFGXmlTest.java deleted file mode 100644 index 44296a72ac..0000000000 --- a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/FFFGXmlTest.java +++ /dev/null @@ -1,33 +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.viz.monitor.ffmp.fffgtest; - -public class FFFGXmlTest -{ - - public FFFGXmlTest() - { - } - - public void run() - { - - } -} diff --git a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/QuickTest.java b/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/QuickTest.java deleted file mode 100644 index b6ebcf7c28..0000000000 --- a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fffgtest/QuickTest.java +++ /dev/null @@ -1,38 +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.viz.monitor.ffmp.fffgtest; - -import com.raytheon.uf.viz.monitor.data.RangesUtil; - -public class QuickTest { - - /** - * @param args - */ - public static void main(String[] args) - { - RangesUtil ru = RangesUtil.getInstance(); - - String s = ru.getVisStringFromMiles(3.1); - - System.out.println(s); - } - -} diff --git a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fftitest/MainWindowDlg.java b/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fftitest/MainWindowDlg.java deleted file mode 100644 index 58cefad337..0000000000 --- a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/fftitest/MainWindowDlg.java +++ /dev/null @@ -1,129 +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.viz.monitor.ffmp.fftitest; - -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.SelectionAdapter; -import org.eclipse.swt.events.SelectionEvent; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Shell; - -import com.raytheon.uf.viz.monitor.ffmp.ffti.FFTIControlDlg; - -public class MainWindowDlg -{ - private Display display; - private Shell shell; - - public MainWindowDlg() - { - display = new Display(); - shell = new Shell(display); - } - - public void run() - { - GridLayout gl = new GridLayout(1, false); - gl.horizontalSpacing = 0; - shell.setLayout(gl); - - shell.setSize(800, 600); - -// createChangeButton(); -// addSeparator(shell); - createFftiLaunchButton(); - -// shell.pack(); - shell.open(); - - while (!shell.isDisposed()) - { - if (!display.readAndDispatch()) display.sleep(); - } - - display.dispose(); - } - -// private void createChangeButton() -// { -// Button changeBtn48 = new Button(shell, SWT.PUSH); -// changeBtn48.setText("Change Slider Maximum to 48"); -// changeBtn48.addSelectionListener(new SelectionAdapter() -// { -// @Override -// public void widgetSelected(SelectionEvent e) -// { -// changeSliderMaximum(48.0, 0.25); -// } -// }); -// -// Button changeBtn30 = new Button(shell, SWT.PUSH); -// changeBtn30.setText("Change Slider Maximum to 30"); -// changeBtn30.addSelectionListener(new SelectionAdapter() -// { -// @Override -// public void widgetSelected(SelectionEvent e) -// { -// changeSliderMaximum(30.0, 0.10); -// } -// }); -// } - - private void createFftiLaunchButton() - { - Button launchFftiBtn = new Button(shell, SWT.PUSH); - launchFftiBtn.setText("Launch FFTI"); - launchFftiBtn.addSelectionListener(new SelectionAdapter() - { - @Override - public void widgetSelected(SelectionEvent e) - { - FFTIControlDlg fftiDlg = new FFTIControlDlg(shell); - fftiDlg.open(); - } - }); - } - - private void addSeparator(Composite parentComp) - { - GridLayout gl = (GridLayout)parentComp.getLayout(); - - GridData gd = new GridData(SWT.FILL, SWT.DEFAULT, true, false); - gd.horizontalSpan = gl.numColumns; - Label sepLbl = new Label(parentComp, SWT.SEPARATOR | SWT.HORIZONTAL); - sepLbl.setLayoutData(gd); - } - -// private void changeSliderMaximum(double val, double inc) -// { -// canvas2.setMaxAndIncValues(val, inc); -// } - - public static void main(String[] args) - { - MainWindowDlg mwd = new MainWindowDlg(); - mwd.run(); - } -} diff --git a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/test/TimeDurationTestDlg.java b/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/test/TimeDurationTestDlg.java deleted file mode 100644 index ff38b6e814..0000000000 --- a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/test/TimeDurationTestDlg.java +++ /dev/null @@ -1,117 +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.viz.monitor.ffmp.test; - -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.SelectionAdapter; -import org.eclipse.swt.events.SelectionEvent; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Shell; - -import com.raytheon.uf.viz.monitor.ffmp.ui.dialogs.ITimeDurationAction; -import com.raytheon.uf.viz.monitor.ffmp.ui.dialogs.TimeDurScaleComp; - -/** - * TODO Add Description - * - *
- *
- * SOFTWARE HISTORY
- *
- * Date         Ticket#    Engineer    Description
- * ------------ ---------- ----------- --------------------------
- * Mar 11, 2010            lvenable     Initial creation
- *
- * 
- * - * @author lvenable - * @version 1.0 - */ - -public class TimeDurationTestDlg implements ITimeDurationAction -{ - private Display display; - private Shell shell; - - private TimeDurScaleComp timeDurScale; - - public TimeDurationTestDlg() - { - display = new Display(); - shell = new Shell(display); - } - - public void run() - { - shell.setLayout(new GridLayout(1, true)); - - addControls(); - - shell.setSize(500, 600); - -// shell.pack(); - shell.open(); - - while (!shell.isDisposed()) - { - if (!display.readAndDispatch()) display.sleep(); - } - - display.dispose(); - } - - private void addControls() - { - timeDurScale = new TimeDurScaleComp(shell, this); - - Button resetTimeBtn = new Button(shell, SWT.PUSH); - resetTimeBtn.setText("Reset Time"); - resetTimeBtn.addSelectionListener(new SelectionAdapter() - { - @Override - public void widgetSelected(SelectionEvent e) - { - timeDurScale.setTimeDuration(2.26); - } - }); - } - - /** - * @param args - */ - public static void main(String[] args) - { - TimeDurationTestDlg dlg = new TimeDurationTestDlg(); - dlg.run(); - - } - - /* (non-Javadoc) - * @see com.raytheon.uf.viz.monitor.ffmp.ui.dialogs.ITimeDurationAction#timeDurationUpdated(double, boolean) - */ - @Override - public void timeDurationUpdated(double val, boolean split) - { - System.out.println("Call back"); - } - -}