// BridgeDb,
// An abstraction layer for identifier mapping services, both local and online.
//
// Copyright      2012  Christian Y. A. Brenninkmeijer
// Copyright      2012  OpenPhacts
//
// 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.bridgedb.virtuoso;

import org.apache.log4j.Logger;
import org.bridgedb.pairs.SyscodeBasedCodeMapper;
import org.bridgedb.sql.SQLAccess;
import org.bridgedb.sql.SQLIdMapper;
import org.bridgedb.sql.SQLListener;
import org.bridgedb.sql.SqlFactory;
import org.bridgedb.sql.TestSqlFactory;
import org.bridgedb.utils.BridgeDBException;
import org.bridgedb.utils.ConfigReader;
import org.junit.BeforeClass;

/**
 * Loads the test data in and then runs the IDmapper and IDCapabiliies tests
 *
 * @author Christian
 */
//@Ignore 
public class MappingListenerTest extends org.bridgedb.mapping.MappingListenerTest {
    
    static final Logger logger = Logger.getLogger(MappingListenerTest.class);

    @BeforeClass
    public static void setupIDMapper() throws BridgeDBException{
        connectionOk = false;
        SqlFactory.setUseMySQL(false);
        TestSqlFactory.checkSQLAccess();
        ConfigReader.useTest();
        listener = new SQLListener(true);
        loadData();
        idMapper = new SQLIdMapper(false, new SyscodeBasedCodeMapper());
        connectionOk = true;
        capabilities = idMapper.getCapabilities(); 
        logger.info("Virtuoso Setup successfull");
    }
            
}

@@ -1,10 +1,10 @@
 /
-/
+*
  BridgeD
@@ -6,18 +6,17 @@
 idgeDb,%0A
-//
+*
  An abst
@@ -85,21 +85,19 @@
 online.%0A
-//%0A//
+*%0A*
  Copyrig
@@ -141,18 +141,17 @@
 kmeijer%0A
-//
+*
  Copyrig
@@ -175,21 +175,19 @@
 nPhacts%0A
-//%0A//
+*%0A*
  License
@@ -243,18 +243,17 @@
 ense%22);%0A
-//
+*
  you may
@@ -310,18 +310,17 @@
 icense.%0A
-//
+*
  You may
@@ -352,21 +352,19 @@
 ense at%0A
-//%0A//
+*%0A*
  http://
@@ -403,13 +403,11 @@
 2.0%0A
-//%0A//
+*%0A*
  Unl
@@ -471,18 +471,17 @@
 oftware%0A
-//
+*
  distrib
@@ -539,18 +539,17 @@
  BASIS,%0A
-//
+*
  WITHOUT
@@ -614,18 +614,17 @@
 mplied.%0A
-//
+*
  See the
@@ -684,18 +684,17 @@
 ons and%0A
-//
+*
  limitat
@@ -717,17 +717,17 @@
 icense.%0A
-/
+*
 /%0Apackag
@@ -1100,24 +1100,25 @@
 nfigReader;%0A
+%0A
 import org.j
@@ -1122,27 +1122,37 @@
 g.junit.
+jupiter.api.
 Before
-Class
+All
 ;%0A%0A/**%0A 
@@ -1449,13 +1449,11 @@
 fore
-Class
+All
 %0A   

Update MappingListenerTest.java