示例#1
0
        public void Start()
        {
            DefaultDocumentTypes documentTypes = new DefaultDocumentTypes();

            documentTypes.CleanAdd();
            _searcher = new DocumentTypeConfigSearcher();
        }
示例#2
0
        public UtilitiesTest()
        {
            DefaultDocumentTypes documentTypes = new DefaultDocumentTypes();

            documentTypes.CleanAdd();
            _searcher = new DocumentTypeConfigSearcher();
        }
示例#3
0
        public SchematronStoreTest()
        {
            ConfigurationHandler.ConfigFilePath = "Resources/RaspConfiguration.Live.xml";
            ConfigurationHandler.Reset();
            DefaultDocumentTypes documentTypes = new DefaultDocumentTypes();

            documentTypes.CleanAdd();
            ConfigurationHandler.SaveToFile();
        }
示例#4
0
 public DocumentTypeConfigSearcherTest()
 {
     ConfigurationHandler.ConfigFilePath = "Resources/DocumentTypeSearcherRaspConfiguration.xml";
     ConfigurationHandler.Reset();
     _documentTypes = new DefaultDocumentTypes();
     _documentTypes.CleanAdd();
     AddNoNamespaceTestDocumentType();
     _searcher = new DocumentTypeConfigSearcher();
     ConfigurationHandler.SaveToFile();
 }
示例#5
0
        public static void SetupConfiguration(string configurationFilePath)
        {
            ConfigurationHandler.ConfigFilePath = configurationFilePath;
            ConfigurationHandler.Reset();

            DefaultDocumentTypes documentTypes = new DefaultDocumentTypes();

            documentTypes.CleanAdd();

            DefaultProfileMappingConfig profileMappings = new DefaultProfileMappingConfig();

            profileMappings.AddAll();
        }
示例#6
0
        public static void SetupConfiguration()
        {
            ConfigurationHandler.ConfigFilePath = "Resources/RaspConfiguration.Live.xml";
            ConfigurationHandler.Reset();

            DefaultDocumentTypes documentTypes = new DefaultDocumentTypes();

            documentTypes.CleanAdd();

            DefaultProfileMappingConfig profileMappings = new DefaultProfileMappingConfig();

            profileMappings.AddAll();
        }