<commit_before>/*
 * DummyCrossReferenceResolverTest.java
 * JUnit based test
 *
 * Created on November 11, 2005, 3:54 PM
 */

package org.biojavax;

import junit.framework.*;
import org.biojava.bio.seq.DNATools;
import org.biojavax.bio.seq.InifinitelyAmbiguousSymbolList;

/**
 *
 * @author <NAME>
 */
public class DummyCrossReferenceResolverTest extends TestCase {
    DummyCrossReferenceResolver res;
    CrossRef xref;
    
    public DummyCrossReferenceResolverTest(String testName) {
        super(testName);
        xref = new SimpleCrossRef("db", "AC123456", 2);
    }

    protected void setUp() throws Exception {
        res = new DummyCrossReferenceResolver();
    }

    protected void tearDown() throws Exception {
        res = null;
    }

    public static Test suite() {
        TestSuite suite = new TestSuite(DummyCrossReferenceResolverTest.class);
        
        return suite;
    }

    /**
     * Test of getRemoteSymbolList method, of class org.biojavax.DummyCrossReferenceResolver.
     */
    public void testGetRemoteSymbolList() {
        System.out.println("testGetRemoteSymbolList");
        assertTrue(res.getRemoteSymbolList(xref, DNATools.getDNA()) 
            instanceof InifinitelyAmbiguousSymbolList);
    }

    /**
     * Test of getRemoteBioEntry method, of class org.biojavax.DummyCrossReferenceResolver.
     */
    public void testGetRemoteBioEntry() {
        System.out.println("testGetRemoteBioEntry");
        
        assertNull(res.getRemoteBioEntry(xref));
    }<commit_msg>refactored for InfinitelyAmbiguousSymbolList name change<commit_after>/*
 * DummyCrossReferenceResolverTest.java
 * JUnit based test
 *
 * Created on November 11, 2005, 3:54 PM
 */

package org.biojavax;

import junit.framework.*;
import org.biojava.bio.seq.DNATools;
import org.biojavax.bio.seq.InfinitelyAmbiguousSymbolList;

/**
 *
 * @author <NAME>
 */
public class DummyCrossReferenceResolverTest extends TestCase {
    DummyCrossReferenceResolver res;
    CrossRef xref;
    
    public DummyCrossReferenceResolverTest(String testName) {
        super(testName);
        xref = new SimpleCrossRef("db", "AC123456", 2);
    }

    protected void setUp() throws Exception {
        res = new DummyCrossReferenceResolver();
    }

    protected void tearDown() throws Exception {
        res = null;
    }

    public static Test suite() {
        TestSuite suite = new TestSuite(DummyCrossReferenceResolverTest.class);
        
        return suite;
    }

    /**
     * Test of getRemoteSymbolList method, of class org.biojavax.DummyCrossReferenceResolver.
     */
    public void testGetRemoteSymbolList() {
        System.out.println("testGetRemoteSymbolList");
        assertTrue(res.getRemoteSymbolList(xref, DNATools.getDNA()) 
            instanceof InfinitelyAmbiguousSymbolList);
    }

    /**
     * Test of getRemoteBioEntry method, of class org.biojavax.DummyCrossReferenceResolver.
     */
    public void testGetRemoteBioEntry() {
        System.out.println("testGetRemoteBioEntry");
        
        assertNull(res.getRemoteBioEntry(xref));
    }
{'fraction_non_alphanumeric': 0.09246686065308762, 'fraction_numerical': 0.010345942450695119, 'mean_word_length': 3.1198402130492675, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3135833', 'n_tokens_mistral': 922, 'n_tokens_neox': 877, 'n_words': 188}