public void Init()
        {
            _testExercise = new QueryExercise()
            {
                DataSource = new DataSource()
                {
                    DataSourceTables = new List<DataSourceTable>() 
                    {
                        new DataSourceTable() 
                        {
                            TableAlias = "test", TableName="test_test" 
                        } 
                    }
                }
            };

            _testQuestion = new MultipleChoiceQuestion();
            _testClass = new TSQLQueryBuilder();
        }
Ejemplo n.º 2
0
        public void Init()
        {
            _testExercise = new ExerciseModel()
            {
                DataSource = new DataSourceModel()
                {
                    Tables = new List <TableModel>()
                    {
                        new TableModel()
                        {
                            Alias = "test", TableName = "test_test"
                        }
                    }
                }
            };

            _testQuestion = new QuestionModel();
            _testClass    = new TSQLQueryBuilder();
        }