diff options
author | donald.g.dunne | 2015-12-23 19:54:49 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2015-12-23 19:54:49 +0000 |
commit | 82b1c027fa407dcdeaae4676c91681e3cdd9fa6c (patch) | |
tree | 2c235ec876df29269b683ed69ecf2ef432375ec9 /plugins/org.eclipse.osee.framework.jdk.core.test | |
parent | ad0d071519a7e37e8d6f81906c4c9690a3de3a31 (diff) | |
download | org.eclipse.osee-82b1c027fa407dcdeaae4676c91681e3cdd9fa6c.tar.gz org.eclipse.osee-82b1c027fa407dcdeaae4676c91681e3cdd9fa6c.tar.xz org.eclipse.osee-82b1c027fa407dcdeaae4676c91681e3cdd9fa6c.zip |
refinement: Re-Organize, Format and Cleanup source
Change-Id: I71e686df3d68f22622f492a8dc0c168b4adc5c4d
Diffstat (limited to 'plugins/org.eclipse.osee.framework.jdk.core.test')
20 files changed, 71 insertions, 96 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/rules/WordMLNewLineMakerRuleTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/rules/WordMLNewLineMakerRuleTest.java index 297f3ee583f..28f89624708 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/rules/WordMLNewLineMakerRuleTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/rules/WordMLNewLineMakerRuleTest.java @@ -48,7 +48,8 @@ public final class WordMLNewLineMakerRuleTest { Assert.fail("Unable to process the file, " + "WordMLNewLineMaker threw an IOException..."); } catch (IllegalCharsetNameException illegalName) { System.err.println("Error: " + illegalName.getMessage()); - Assert.fail("Illegal charset name specified, " + "WordMLNewLineMaker threw an " + "IllegalCharsetNameException..."); + Assert.fail( + "Illegal charset name specified, " + "WordMLNewLineMaker threw an " + "IllegalCharsetNameException..."); } catch (UnsupportedCharsetException unsupportedEx) { System.err.println("Error: " + unsupportedEx.getMessage()); Assert.fail("Unsupported charset, " + "WordMLNewLineMaker threw an " + "UnsupportedCharsetException..."); diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/CompositeKeyHashMapTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/CompositeKeyHashMapTest.java index 15e0adfc88d..a47cdbb0063 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/CompositeKeyHashMapTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/CompositeKeyHashMapTest.java @@ -11,8 +11,6 @@ package org.eclipse.osee.framework.jdk.core.type; import java.util.List; -import org.eclipse.osee.framework.jdk.core.type.CompositeKeyHashMap; -import org.eclipse.osee.framework.jdk.core.type.Pair; import org.junit.Assert; import org.junit.Test; diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/MatchLocationTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/MatchLocationTest.java index 281fe69b758..638ec4d8080 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/MatchLocationTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/MatchLocationTest.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.jdk.core.type; import java.util.HashMap; -import org.eclipse.osee.framework.jdk.core.type.MatchLocation; import org.junit.Assert; /** diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PairTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PairTest.java index 1c6fb46d0cf..40e113b0320 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PairTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PairTest.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.jdk.core.type; import java.util.HashMap; -import org.eclipse.osee.framework.jdk.core.type.Pair; import org.junit.Assert; /** diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreTest.java index 7364e13d719..3c05be3db8c 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreTest.java @@ -154,8 +154,8 @@ public class PropertyStoreTest { store1.put("key6.5", ""); store1.put("key7", new String[] {"entry1", "entry2", "entry3"}); store1.put("key8", new String[] {"entry4", "entry5", "entry6"}); - PropertyStore nested = - PropertyStoreTestUtil.createPropertyStore(PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties())); + PropertyStore nested = PropertyStoreTestUtil.createPropertyStore( + PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties())); store1.put("key9", nested); Set<String> set1 = new TreeSet<>(store1.keySet()); @@ -211,9 +211,8 @@ public class PropertyStoreTest { store1.put("key6", 543L); store1.put("key7", new String[] {"entry1", "entry2", "entry3"}); store1.put("key8", new String[] {"entry4", "entry5", "entry6"}); - store1.put( - "key9", - PropertyStoreTestUtil.createPropertyStore(PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties()))); + store1.put("key9", PropertyStoreTestUtil.createPropertyStore( + PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties()))); store1.save(outputStream); @@ -236,9 +235,8 @@ public class PropertyStoreTest { store1.put("key6", 543L); store1.put("key7", new String[] {"entry1", "entry2", "entry3"}); store1.put("key8", new String[] {"entry4", "entry5", "entry6"}); - store1.put( - "key9", - PropertyStoreTestUtil.createPropertyStore(PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties()))); + store1.put("key9", PropertyStoreTestUtil.createPropertyStore( + PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties()))); store1.save(writer); diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreTestUtil.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreTestUtil.java index 3c051937e8a..47fa2b401ca 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreTestUtil.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreTestUtil.java @@ -14,7 +14,6 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import java.util.TreeMap; -import org.eclipse.osee.framework.jdk.core.type.PropertyStore; import org.junit.Assert; /** diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreWriterTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreWriterTest.java index 765a1d38958..529037f0d68 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreWriterTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/PropertyStoreWriterTest.java @@ -41,12 +41,11 @@ public class PropertyStoreWriterTest { store.put("key6.5", ""); store.put("key7", new String[] {"entry1", "entry2", "entry3"}); store.put("key8", new String[] {"entry4", "entry5", "entry6"}); - nested = - PropertyStoreTestUtil.createPropertyStore(PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties())); + nested = PropertyStoreTestUtil.createPropertyStore( + PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties())); nested.put("inner array 1", new String[] {"value1", "value2"}); - nested.put( - "inner store 1", - PropertyStoreTestUtil.createPropertyStore(PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties()))); + nested.put("inner store 1", PropertyStoreTestUtil.createPropertyStore( + PropertyStoreTestUtil.convertPropertiesToMap(System.getProperties()))); store.put("key9", nested); } diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/QuadTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/QuadTest.java index ab1786385bd..018361e0c1a 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/QuadTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/QuadTest.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.jdk.core.type; import java.util.HashMap; -import org.eclipse.osee.framework.jdk.core.type.Quad; import org.junit.Assert; /** @@ -22,15 +21,11 @@ public class QuadTest { private final Integer b = 233; private final Integer c = 433; private final Integer d = 555; - private final Quad<Integer, Integer, Integer, Integer> mapToPi = new Quad<>(a, b, - c, d); - private final Quad<Integer, Integer, Integer, Integer> mapToE = new Quad<>(b, c, - d, a); + private final Quad<Integer, Integer, Integer, Integer> mapToPi = new Quad<>(a, b, c, d); + private final Quad<Integer, Integer, Integer, Integer> mapToE = new Quad<>(b, c, d, a); - private final Quad<Integer, Integer, Integer, Integer> alsoMapToPi = new Quad<>(a, - b, c, d); - private final Quad<Integer, Integer, Integer, Integer> alsoMapToE = new Quad<>(b, - c, d, a); + private final Quad<Integer, Integer, Integer, Integer> alsoMapToPi = new Quad<>(a, b, c, d); + private final Quad<Integer, Integer, Integer, Integer> alsoMapToE = new Quad<>(b, c, d, a); private final Quad<Integer, Integer, Integer, Integer> firstEntryNull = new Quad<Integer, Integer, Integer, Integer>(null, 222, 333, 444); @@ -40,8 +35,7 @@ public class QuadTest { new Quad<Integer, Integer, Integer, Integer>(111, 222, null, 444); private final Quad<Integer, Integer, Integer, Integer> fourthEntryNull = new Quad<Integer, Integer, Integer, Integer>(111, 222, 333, null); - private final Quad<Integer, Integer, Integer, Integer> nonNull = new Quad<>(111, - 222, 333, 444); + private final Quad<Integer, Integer, Integer, Integer> nonNull = new Quad<>(111, 222, 333, 444); @org.junit.Test public void testConstructor() { diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/TripletTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/TripletTest.java index 2fa52259323..a5b74940c34 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/TripletTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/type/TripletTest.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.jdk.core.type; import java.util.HashMap; -import org.eclipse.osee.framework.jdk.core.type.Triplet; import org.junit.Assert; /** @@ -27,12 +26,9 @@ public class TripletTest { private final Triplet<Integer, Integer, Integer> alsoMapToPi = new Triplet<>(a, b, c); private final Triplet<Integer, Integer, Integer> alsoMapToE = new Triplet<>(b, c, a); - private final Triplet<Integer, Integer, Integer> firstEntryNull = new Triplet<>(null, 222, - 333); - private final Triplet<Integer, Integer, Integer> secondEntryNull = new Triplet<>(111, null, - 333); - private final Triplet<Integer, Integer, Integer> thirdEntryNull = new Triplet<>(111, 222, - null); + private final Triplet<Integer, Integer, Integer> firstEntryNull = new Triplet<>(null, 222, 333); + private final Triplet<Integer, Integer, Integer> secondEntryNull = new Triplet<>(111, null, 333); + private final Triplet<Integer, Integer, Integer> thirdEntryNull = new Triplet<>(111, 222, null); private final Triplet<Integer, Integer, Integer> nonNull = new Triplet<>(111, 222, 333); @org.junit.Test diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/CompareTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/CompareTest.java index 9987a440d3b..1dfacec1520 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/CompareTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/CompareTest.java @@ -15,7 +15,6 @@ import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.Map; -import org.eclipse.osee.framework.jdk.core.util.Compare; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/DateIteratorTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/DateIteratorTest.java index b885fc0d775..424c3d9931c 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/DateIteratorTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/DateIteratorTest.java @@ -69,9 +69,8 @@ public class DateIteratorTest { calsExpected.add((Calendar) iCal.clone()); //Perform the iteration - DateIterator dateIter = - new DateIterator(startCal, endCal, calendarFieldIter, iterRate, normalize, calendarFieldNormalize, - calendarValueNormalize); + DateIterator dateIter = new DateIterator(startCal, endCal, calendarFieldIter, iterRate, normalize, + calendarFieldNormalize, calendarValueNormalize); while (dateIter.hasNext()) { Calendar cal = dateIter.next(); calsFromIter.add(cal); @@ -96,7 +95,8 @@ public class DateIteratorTest { } for (Calendar cal : calsFromIter) { - assertTrue("calsFromIter has extra date: " + DateUtil.getMMDDYYHHMM(cal.getTime()), calsExpected.contains(cal)); + assertTrue("calsFromIter has extra date: " + DateUtil.getMMDDYYHHMM(cal.getTime()), + calsExpected.contains(cal)); } } diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/GUIDTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/GUIDTest.java index 4c467c31eb3..50867f16088 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/GUIDTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/GUIDTest.java @@ -29,14 +29,13 @@ public class GUIDTest { @org.junit.Test public void testInvalidGuids() { - final String[] invalidGuids = - { - "short", - "AAABDBYPet4AGJyrc_LONG_", - "AAABGumk_InvalidChar!", - "AAABGumk_InvalidChar#", - "AAABGumk_InvalidChar@", - "AAABGumk_InvalidChar^"}; + final String[] invalidGuids = { + "short", + "AAABDBYPet4AGJyrc_LONG_", + "AAABGumk_InvalidChar!", + "AAABGumk_InvalidChar#", + "AAABGumk_InvalidChar@", + "AAABGumk_InvalidChar^"}; for (String invalid : invalidGuids) { Assert.assertFalse("Invalid GUID " + invalid + " passes validity test", GUID.isValid(invalid)); } @@ -52,30 +51,29 @@ public class GUIDTest { @org.junit.Test public void testValidGuids() { - final String[] validGuids = - { - "AAABDBYPet4AGJyrc9dY1w", - "AAABGumk_y8AFBnQMxZ58g", - "AAABGyedHw8AphA8L4XexQ", - "AAABDBYtCDsAVk2xBsTGzQ", - "AAABF_Ss2Q0AR8+yEx51WQ", - "AAABHUWIY34B7y_TEmEslg", - "AAABHZzkLCgBebkFSon4wA", - "AAABGuAX6cAB0Si2OIQ+YQ", - "AAABGassf08BOe_BF6k6vA", - "AAABHGv_u1gBGrilXclyUA", - "AAABDBYsngcAVk2xSlMcyw", - "AAABGm+v1uEA389GY8zirw", - "AAABDBYrxw4AVk2xHBRmhQ", - "AAABHbBGWuQA_ArKWeHLrg", - "AAABDBYs7Z8AVk2xTZPPSg", - "AAABGixOs5kA2KG7aom9Pw", - "AAABFjQ_MYIBEQV7BF3j7Q", - "AAABDBYs9AcAVk2xTOjhPQ", - "AAABDBYr7KcAVk2xDNCqew", - "AAABHHEPXpYBzfAhPukxiQ", - "AAABDBYsYBMAVk2xN5jSVA", - "AAABDBYsS3IAVk2xSRpaS="}; + final String[] validGuids = { + "AAABDBYPet4AGJyrc9dY1w", + "AAABGumk_y8AFBnQMxZ58g", + "AAABGyedHw8AphA8L4XexQ", + "AAABDBYtCDsAVk2xBsTGzQ", + "AAABF_Ss2Q0AR8+yEx51WQ", + "AAABHUWIY34B7y_TEmEslg", + "AAABHZzkLCgBebkFSon4wA", + "AAABGuAX6cAB0Si2OIQ+YQ", + "AAABGassf08BOe_BF6k6vA", + "AAABHGv_u1gBGrilXclyUA", + "AAABDBYsngcAVk2xSlMcyw", + "AAABGm+v1uEA389GY8zirw", + "AAABDBYrxw4AVk2xHBRmhQ", + "AAABHbBGWuQA_ArKWeHLrg", + "AAABDBYs7Z8AVk2xTZPPSg", + "AAABGixOs5kA2KG7aom9Pw", + "AAABFjQ_MYIBEQV7BF3j7Q", + "AAABDBYs9AcAVk2xTOjhPQ", + "AAABDBYr7KcAVk2xDNCqew", + "AAABHHEPXpYBzfAhPukxiQ", + "AAABDBYsYBMAVk2xN5jSVA", + "AAABDBYsS3IAVk2xSRpaS="}; for (String guid : validGuids) { Assert.assertTrue(GUID.isValid(guid)); } diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/HashCollectionTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/HashCollectionTest.java index efa2c96a561..6f53cc9fd03 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/HashCollectionTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/HashCollectionTest.java @@ -13,8 +13,8 @@ package org.eclipse.osee.framework.jdk.core.util; import java.util.ArrayList; import java.util.Collection; import java.util.List; -import org.junit.Assert; import org.eclipse.osee.framework.jdk.core.type.HashCollection; +import org.junit.Assert; import org.junit.Test; /** diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/HexUtilTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/HexUtilTest.java index 05085fa74b5..80c5a12454b 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/HexUtilTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/HexUtilTest.java @@ -13,7 +13,6 @@ package org.eclipse.osee.framework.jdk.core.util; import java.util.Arrays; import java.util.List; import org.eclipse.osee.framework.jdk.core.type.OseeCoreException; -import org.eclipse.osee.framework.jdk.core.util.HexUtil; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/ProcessesTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/ProcessesTest.java index 9dedec1d3c9..d381a8b8e11 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/ProcessesTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/ProcessesTest.java @@ -34,9 +34,8 @@ public class ProcessesTest { @Test public void testProcessCancel() throws IOException, InterruptedException, ExecutionException { - ProcessBuilder builder = - new ProcessBuilder("java", "-cp", ".\\bin", "org.eclipse.osee.framework.jdk.core.util.ProcessesTest", - argument, "bye"); + ProcessBuilder builder = new ProcessBuilder("java", "-cp", ".\\bin", + "org.eclipse.osee.framework.jdk.core.util.ProcessesTest", argument, "bye"); builder.redirectErrorStream(true); Process process = builder.start(); diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/ReservedCharactersTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/ReservedCharactersTest.java index b2e299c02b2..ba9d1f40d19 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/ReservedCharactersTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/ReservedCharactersTest.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.jdk.core.util; import java.util.Collection; -import org.eclipse.osee.framework.jdk.core.util.ReservedCharacters; import org.junit.Assert; import org.junit.Test; diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/io/FileWatcherTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/io/FileWatcherTest.java index 58f04d128b3..76f7959a63c 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/io/FileWatcherTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/io/FileWatcherTest.java @@ -13,11 +13,8 @@ package org.eclipse.osee.framework.jdk.core.util.io; import java.io.File; import java.util.Collection; import java.util.concurrent.TimeUnit; -import org.junit.Assert; import org.eclipse.osee.framework.jdk.core.mock.MockFileWatcherListener; -import org.eclipse.osee.framework.jdk.core.util.io.FileChangeEvent; -import org.eclipse.osee.framework.jdk.core.util.io.FileChangeType; -import org.eclipse.osee.framework.jdk.core.util.io.FileWatcher; +import org.junit.Assert; import org.junit.Test; /** diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/io/xml/IoXmlTestSuite.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/io/xml/IoXmlTestSuite.java index 8f7593a2008..275c28c483e 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/io/xml/IoXmlTestSuite.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/io/xml/IoXmlTestSuite.java @@ -18,7 +18,8 @@ import org.junit.runners.Suite; */ @RunWith(Suite.class) @Suite.SuiteClasses({ // -ExcelXmlWriterTest.class, ExcelColumnTest.class}) + ExcelXmlWriterTest.class, + ExcelColumnTest.class}) public class IoXmlTestSuite { // Test Suite } diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/xml/JAXPTest.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/xml/JAXPTest.java index fac646d98b8..7d52e46a6ff 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/xml/JAXPTest.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/xml/JAXPTest.java @@ -78,15 +78,15 @@ public class JAXPTest { // @formatter:off private static final String LEGACY_DOC = - "<A name='george' type='level1'>\n" + - " <B type='level2'>I'm at level 2</B>\n" + - " <B type='level2'>I'm also at level 2</B>\n" + - " <C type='level2'>\n" + - " <D>likes to be C's child</D>\n" + - "C has some more text here\n" + + "<A name='george' type='level1'>\n" + + " <B type='level2'>I'm at level 2</B>\n" + + " <B type='level2'>I'm also at level 2</B>\n" + + " <C type='level2'>\n" + + " <D>likes to be C's child</D>\n" + + "C has some more text here\n" + " <D>2nd round</D>\n" + - "END of C\n" + - " </C>\n" + + "END of C\n" + + " </C>\n" + "</A>"; // @formatter:on @@ -185,8 +185,8 @@ public class JAXPTest { @Test public void testReadWriteNamespaceAware() throws ParserConfigurationException, SAXException, IOException, XMLStreamException { - Document document = - Jaxp.readXmlDocumentNamespaceAware(NAMESPACE_DEFINITIONS_PREFIX + SIMPLE_TRAILING_SPACES_DOC + NAMESPACE_DEFINITIONS_POSTFIX); + Document document = Jaxp.readXmlDocumentNamespaceAware( + NAMESPACE_DEFINITIONS_PREFIX + SIMPLE_TRAILING_SPACES_DOC + NAMESPACE_DEFINITIONS_POSTFIX); Element startElement = document.getDocumentElement(); diff --git a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTestSuite.java b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTestSuite.java index 2621bfbda40..8fb1ac11ea4 100644 --- a/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTestSuite.java +++ b/plugins/org.eclipse.osee.framework.jdk.core.test/src/org/eclipse/osee/framework/jdk/core/util/xml/XmlTestSuite.java @@ -19,7 +19,7 @@ import org.junit.runners.Suite; @RunWith(Suite.class) @Suite.SuiteClasses({ //@formatter:off - JAXPTest.class, + JAXPTest.class, //@formatter:on }) public class XmlTestSuite { |