// Copyright (C) 2004-2006 Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #define Show using System; using System.Collections.Generic; using System.Text; //FdoWrapper using OSGeo.Common; //framework using unit_test.Framework; //Shp Provider Test using unit_test.ProviderTests; namespace unit_test { class Program { static void Main(string[] args) { TestSuite suite = new TestSuite(); //shp file provider test suite.AddTest(new OverridesTest(new ShpTestProvider(@"..\..\..\..\TestData\Ontario\"))); suite.AddTest(new ConnectTests(new ShpTestProvider(@"..\..\..\..\TestData\Ontario\"))); suite.AddTest(new BigPerformanceTests(new ShpTestProvider())); suite.AddTest(new DeleteTests(new ShpTestProvider())); suite.AddTest(new SelectTests(new ShpTestProvider(@"..\..\..\..\TestData\Ontario\"))); suite.AddTest(new FilterTests(new ShpTestProvider(@"..\..\..\..\TestData\Ontario\"))); suite.AddTest(new SpatialFilterTests(new ShpTestProvider(@"..\..\..\..\TestData\Ontario\"))); suite.AddTest(new PerformanceTests(new ShpTestProvider(@"..\..\..\..\TestData\Florida\"))); suite.AddTest(new SelectAggregatesTests(new ShpTestProvider(@"..\..\..\..\TestData\Testing\"))); //**********************TODO********************* //suite.AddTest(new UpdateTests(new ShpTestProvider())); //suite.AddTest(new SchemaTests(new ShpTestProvider(@"..\..\..\..\TestData\Testing\"))); //suite.AddTest(new InsertTests(new ShpTestProvider(@"..\..\..\..\TestData\Testing\"))); suite.Run(); Console.WriteLine("\n\nAll testes complete!"); Console.Read(); } } }