1 4 package com.tc.config.schema; 5 6 import com.tc.test.EqualityChecker; 7 import com.tc.test.TCTestCase; 8 9 12 public class LicenseTypeTest extends TCTestCase { 13 14 public void testAll() throws Exception { 15 Object [] arr1 = new Object [] { LicenseType.TRIAL, LicenseType.PRODUCTION, LicenseType.NONE }; 16 Object [] arr2 = new Object [] { LicenseType.TRIAL, LicenseType.PRODUCTION, LicenseType.NONE }; 17 18 EqualityChecker.checkArraysForEquality(arr1, arr2); 19 20 assertFalse(LicenseType.TRIAL.equals(null)); 21 assertFalse(LicenseType.TRIAL.equals("trial")); 22 assertFalse(LicenseType.TRIAL.equals("foo")); 23 24 LicenseType.TRIAL.toString(); 25 LicenseType.PRODUCTION.toString(); 26 LicenseType.NONE.toString(); 27 } 28 29 } 30 | Popular Tags |