You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cmda.apache.org by xi...@apache.org on 2015/09/05 02:20:11 UTC

[07/50] [abbrv] incubator-cmda git commit: remove test

remove test 

Project: http://git-wip-us.apache.org/repos/asf/incubator-cmda/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cmda/commit/73b592c1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cmda/tree/73b592c1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cmda/diff/73b592c1

Branch: refs/heads/master
Commit: 73b592c1a11505d3cd63e52c46797a568e2df4ae
Parents: a0c167b
Author: mingqi830 <mq...@andrew.cmu.edu>
Authored: Wed Sep 2 15:51:52 2015 -0700
Committer: mingqi830 <mq...@andrew.cmu.edu>
Committed: Wed Sep 2 15:51:52 2015 -0700

----------------------------------------------------------------------
 test/models/DeviceTypeTest.java | 45 ------------------------------------
 1 file changed, 45 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cmda/blob/73b592c1/test/models/DeviceTypeTest.java
----------------------------------------------------------------------
diff --git a/test/models/DeviceTypeTest.java b/test/models/DeviceTypeTest.java
deleted file mode 100644
index b4a07b6..0000000
--- a/test/models/DeviceTypeTest.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package models;
-
-import static org.junit.Assert.assertEquals;
-import models.metadata.DeviceType;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.JUnit4;
-
-/**
- * Contains unit tests for Device Type
- */
-@RunWith(JUnit4.class)
-public class DeviceTypeTest
-{
-   private static DeviceType deviceType;
-   private static String TEST_ID = "1";
-   private static String TEST_NAME = "testDeviceType";
-   private static String TEST_MANUFACTURER = "testSensorType";
-   private static Double TEST_VERSION = 1.00;
-
-//public DeviceType(String id, String deviceTypeName, String manufacturer, double version) {
-
-   /**
-    * Setup a sensor object to test on
-    */
-   @BeforeClass
-   public static void initSensor()
-   {
-      //deviceType = new DeviceType(TEST_ID, TEST_NAME, TEST_MANUFACTURER, TEST_VERSION);
-   }
-   
-   /**
-    */
-   @Test
-   public void getterTest()
-   {
-      String deviceName =  deviceType.getDeviceTypeName();
-      //String deviceManufacturer = sensor.getManufacturer();
-      //assertEquals(TEST_DEVICE, deviceName);
-      //assertEquals(TEST_SENSORTYPE, deviceManufacturer);
-   }
-}
-