/*
 * Copyright 2018 iserge.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.cesiumjs.cs;

import com.google.gwt.junit.tools.GWTTestSuite;
import junit.framework.TestSuite;

/**
 * @author Serge Silaev aka iSergio <s.serge.b@gmail.com>
 */
public class CesiumTestSuite extends GWTTestSuite {
    public static TestSuite suite() {
        TestSuite suite = new TestSuite("GWTTestSuite for Cesium Wrapper");

        // Cesium
//        suite.addTestSuite(CesiumTest.class);
//
//        // Core
//        suite.addTestSuite(ColorTest.class);
//        suite.addTestSuite(Cartesian2Test.class);
//        suite.addTestSuite(LabelCollectionTest.class);
//        suite.addTestSuite(IonResourceTest.class);
//
//        // Scene
//        suite.addTestSuite(LabelTest.class);
//        suite.addTestSuite(ClippingPlaneCollectionTest.class);
////        suite.addTestSuite(DataSourceCollectionTest.class);
//        suite.addTestSuite(Cesium3DTilesetTest.class);

        // Widgets
        // Not understand how test widgets, in this moment strange error
        // com.google.gwt.core.shared.SerializableThrowable: (InternalError) : TypeError: Cannot convert a Symbol value to a string
//        suite.addTestSuite(ViewerPanelTest.class);

        return suite;
    }
}

@@ -692,16 +692,354 @@
 stSuite;
+%0Aimport org.cesiumjs.cs.collections.ClippingPlaneCollectionTest;%0Aimport org.cesiumjs.cs.collections.LabelCollectionTest;%0Aimport org.cesiumjs.cs.core.Cartesian2Test;%0Aimport org.cesiumjs.cs.core.ColorTest;%0Aimport org.cesiumjs.cs.core.IonResourceTest;%0Aimport org.cesiumjs.cs.scene.Cesium3DTilesetTest;%0Aimport org.cesiumjs.cs.scene.LabelTest;
 %0A%0A/**%0A *
@@ -1283,18 +1283,16 @@
  Cesium%0A
-//
         
@@ -1321,37 +1321,33 @@
 iumTest.class);%0A
-//%0A//
+%0A
         // Core%0A
@@ -1346,18 +1346,16 @@
 // Core%0A
-//
         
@@ -1383,34 +1383,32 @@
 lorTest.class);%0A
-//
         suite.ad
@@ -1433,34 +1433,32 @@
 an2Test.class);%0A
-//
         suite.ad
@@ -1488,34 +1488,32 @@
 ionTest.class);%0A
-//
         suite.ad
@@ -1551,13 +1551,9 @@
 s);%0A
-//%0A//
+%0A
     
@@ -1565,18 +1565,16 @@
 / Scene%0A
-//
         
@@ -1602,34 +1602,32 @@
 belTest.class);%0A
-//
         suite.ad
@@ -1673,18 +1673,16 @@
 class);%0A
-//
 //      
@@ -1727,34 +1727,32 @@
 ionTest.class);%0A
-//
         suite.ad

Enable JUnit tests