001    /*
002     * Created on Aug 2, 2005
003     *
004     */
005    package aima.test.learningtest;
006    
007    import java.util.List;
008    
009    import aima.learning.framework.DataSet;
010    import aima.learning.inductive.DLTest;
011    import aima.learning.inductive.DLTestFactory;
012    
013    /**
014     * @author Ravi Mohan
015     * 
016     */
017    
018    public class MockDLTestFactory extends DLTestFactory {
019    
020            private List<DLTest> tests;
021    
022            public MockDLTestFactory(List<DLTest> tests) {
023                    this.tests = tests;
024            }
025    
026            @Override
027            public List<DLTest> createDLTestsWithAttributeCount(DataSet ds, int i) {
028                    return tests;
029            }
030    
031    }