コード例 #1
0
ファイル: Program.cs プロジェクト: rajdotnet/aws-sdk-net
        static int Main(string[] args)
        {
            args = new string[]
            {
                //"CommonTests.IntegrationTests.DynamoDB.DynamoDBTests.TestUnsupportedTypesSync"
                //"TestITypeInfo"
                //"TestUnsupportedTypesSync"
            };

            bool allPassed;
            try
            {
                var runner = new ConsoleRunner();

                runner.TestsToRun = new string[]
                {
                };
                runner.CategoriesToRun = new string[]
                {
                };

                allPassed = runner.ExecuteAllTests();
            }
            catch(Exception ex)
            {
                Console.WriteLine(ex.Message);
                allPassed = false;
            }

            Console.WriteLine("Test run complete!");
            return (allPassed ? 0 : 1);
        }
コード例 #2
0
        static int Main(string[] args)
        {
            args = new string[]
            {
                //"CommonTests.IntegrationTests.DynamoDB.DynamoDBTests.TestUnsupportedTypesSync"
                //"TestITypeInfo"
                //"TestUnsupportedTypesSync"
            };

            bool allPassed;

            try
            {
                var runner = new ConsoleRunner();

                runner.TestsToRun = new string[]
                {
                };
                runner.CategoriesToRun = new string[]
                {
                };

                allPassed = runner.ExecuteAllTests();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                allPassed = false;
            }

            Console.WriteLine("Test run complete!");
            return(allPassed ? 0 : 1);
        }