LogModulePath() public static method

public static LogModulePath ( string moduleName ) : void
moduleName string
return void
Esempio n. 1
0
        public static bool RunTest(string apiToTest, string[] args)
        {
            switch (apiToTest)
            {
            case nameof(hostfxr.hostfxr_get_native_search_directories):
                Test_hostfxr_get_native_search_directories(args);
                break;

            case nameof(hostfxr.hostfxr_resolve_sdk2):
                Test_hostfxr_resolve_sdk2(args);
                break;

            case nameof(hostfxr.hostfxr_get_available_sdks):
                Test_hostfxr_get_available_sdks(args);
                break;

            case nameof(Test_hostfxr_set_error_writer):
                Test_hostfxr_set_error_writer(args);
                break;

            case nameof(Test_hostfxr_get_native_search_directories_invalid_buffer):
                Test_hostfxr_get_native_search_directories_invalid_buffer(args);
                break;

            default:
                return(false);
            }

            Utils.LogModulePath("hostfxr");

            return(true);
        }
Esempio n. 2
0
        public static bool RunTest(string apiToTest, string[] args)
        {
            switch (apiToTest)
            {
            case nameof(hostfxr.hostfxr_resolve_sdk2):
                Test_hostfxr_resolve_sdk2(args);
                break;

            case nameof(hostfxr.hostfxr_get_available_sdks):
                Test_hostfxr_get_available_sdks(args);
                break;

            case nameof(Test_hostfxr_set_error_writer):
                Test_hostfxr_set_error_writer(args);
                break;

            case nameof(hostfxr.hostfxr_get_dotnet_environment_info):
                Test_hostfxr_get_dotnet_environment_info(args);
                break;

            default:
                return(false);
            }

            Utils.LogModulePath("hostfxr");

            return(true);
        }
Esempio n. 3
0
        public static bool RunTest(string apiToTest, string[] args)
        {
            switch (apiToTest)
            {
            case nameof(Test_corehost_set_error_writer):
                Test_corehost_set_error_writer(args);
                break;

            default:
                return(false);
            }

            Utils.LogModulePath("hostpolicy");

            return(true);
        }
Esempio n. 4
0
        public static bool RunTest(string apiToTest, string[] args)
        {
            switch (apiToTest)
            {
            case nameof(hostpolicy.corehost_resolve_component_dependencies):
                Test_corehost_resolve_component_dependencies(args);
                break;

            case nameof(hostpolicy.corehost_resolve_component_dependencies) + "_multithreaded":
                Test_corehost_resolve_component_dependencies_multithreaded(args);
                break;

            case nameof(Test_corehost_set_error_writer):
                Test_corehost_set_error_writer(args);
                break;

            default:
                return(false);
            }

            Utils.LogModulePath("hostpolicy");

            return(true);
        }