public void RuntimeExceptionCallbacksTest()
        {
            ProfilerHelpers.LaunchAppUnderProfiler(testApp: "RuntimeExceptionCallbacks_Debug_x64.exe", testScript: "RuntimeExceptionCallbacks.xml",
                                                   output: "RuntimeExceptionCallbacks.xml", isRejit: false, args: null);

            ProfilerHelpers.DiffResultToBaseline(output: "RuntimeExceptionCallbacks.xml", baseline: "RuntimeExceptionCallbacks.xml");
        }
Exemple #2
0
        public void Rejit_ExceptionMultiTryCatchTest()
        {
            ProfilerHelpers.LaunchAppUnderProfiler(testApp: "ExceptionTests_Release_x64.exe", testScript: "ExceptionMultiTryCatchTest.xml",
                                                   output: "Rejit_ExceptionMultiTryCatchTest.xml", isRejit: true, args: null);

            ProfilerHelpers.DiffResultToBaseline(output: "Rejit_ExceptionMultiTryCatchTest.xml", baseline: "ExceptionMultiTryCatchTest.xml");
        }
Exemple #3
0
        public void Rejit_Instru_RemoveAllTest()
        {
            ProfilerHelpers.LaunchAppUnderProfiler(testApp: "InstruOperationsTests_Release_x64.exe", testScript: "Instru_RemoveAllTest.xml",
                                                   output: "Rejit_Instru_RemoveAllTest.xml", isRejit: true, args: "Instru_CreateErrorTest");

            ProfilerHelpers.DiffResultToBaseline(output: "Rejit_Instru_RemoveAllTest.xml", baseline: "Instru_RemoveAllTest.xml");
        }
Exemple #4
0
        public void Rejit_AddNop_SwitchTest2()
        {
            ProfilerHelpers.LaunchAppUnderProfiler(testApp: "BasicManagedTests_Release_x64.exe", testScript: "AddNop_SwitchTest2.xml",
                                                   output: "Rejit_AddNop_SwitchTest2.xml", isRejit: true, args: null);

            ProfilerHelpers.DiffResultToBaseline(output: "Rejit_AddNop_SwitchTest2.xml", baseline: "AddNop_SwitchTest2.xml");
        }
Exemple #5
0
 public static void LaunchAppAndCompareResult(string testApp, string fileName, string args = null, bool regexCompare = false)
 {
     // Usually we use the same file name for test script, baseline and test result
     ProfilerHelpers.LaunchAppUnderProfiler(testApp, fileName, fileName, false, args);
     ProfilerHelpers.DiffResultToBaseline(fileName, fileName, regexCompare);
 }