<!--
  ~ Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
  ~
  ~ Entgra (Pvt) Ltd. licenses this file to you 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.
  -->

<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >

<suite name="MySQLDeviceManagementCore">
    <parameter name="useDefaultListeners" value="false"/>
    <parameter name="datasource" value="src/test/resources/config/datasource/mysql/data-source-config"/>
    <parameter name="isMock" value="true"/>

    <test name="DAO Unit Tests" preserve-order="true">
        <parameter name="dbType" value="MySql"/>
        <classes>
            <class name="io.entgra.device.mgt.core.device.mgt.core.common.BaseDeviceManagementTest"/>
            <class name="io.entgra.device.mgt.core.device.mgt.core.dao.DevicePersistTests"/>
            <class name="io.entgra.device.mgt.core.device.mgt.core.DeviceManagementRepositoryTests"/>
            <class name="io.entgra.device.mgt.core.device.mgt.core.DeviceManagementConfigTests"/>
            <class name="io.entgra.device.mgt.core.device.mgt.core.app.mgt.AppManagementConfigurationManagerTest"/>
            <class name="io.entgra.device.mgt.core.device.mgt.core.search.DeviceDetails"/>
            <class name="io.entgra.device.mgt.core.device.mgt.core.dao.GroupPersistTests"/>
        </classes>
    </test>

    <!--TODO: Uncomment below once the tests are passing-->
    <test name="Service Unit Tests" preserve-order="true">
        <classes>
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.service.DeviceManagementProviderServiceTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.app.mgt.ApplicationManagementProviderServiceTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.service.GroupManagementProviderServiceTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.operation.OperationManagementTests"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.operation.OperationManagementNoDBSchemaTests"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.operation.OperationManagementNegativeDBOperationTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.geo.service.GeoLocationProviderServiceTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.operation.ScheduledTaskOperationTests"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.permission.mgt.PermissionManagerServiceTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.notification.mgt.NotificationManagementServiceImplTests"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.push.notification.mgt.task.PushNotificationSchedulerTaskTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.task.DeviceTaskManagerServiceTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.task.DeviceTaskManagerTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.authorization.DeviceAccessAuthorizationServiceTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.search.SearchManagementServiceTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.search.ProcessorImplTest"/>-->
            <!--<class name="io.entgra.device.mgt.core.device.mgt.core.search.SearchMgtUtilTest"/>-->
        </classes>
    </test>
</suite>
