コード例 #1
0
        public UtilitiesTest()
        {
            DefaultDocumentTypes documentTypes = new DefaultDocumentTypes();

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

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

            DefaultDocumentTypes documentTypes = new DefaultDocumentTypes();

            documentTypes.CleanAdd();

            DefaultProfileMappingConfig profileMappings = new DefaultProfileMappingConfig();

            profileMappings.AddAll();
        }
コード例 #5
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();
        }
コード例 #6
0
        private void SetupDefaultDocumentTypes()
        {
            DefaultDocumentTypes documentTypes = new DefaultDocumentTypes();

            documentTypes.Add();
        }
コード例 #7
0
 public void InitDocumentTypes()
 {
     _defaultDocumentTypes = new DefaultDocumentTypes();
 }