Exemplo n.º 1
0
 public ValidCdxProcessingFixture(OsdrWebTestHarness harness)
 {
     FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "125_11Mos.cdx", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }
     }).Result;
 }
Exemplo n.º 2
0
 public InvalidJdxProcessingFixture(OsdrWebTestHarness harness)
 {
     FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "13Csample.jdx", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }
     }).Result;
 }
Exemplo n.º 3
0
 public InvalidMolProcessingFixture(OsdrWebTestHarness harness)
 {
     FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "ringcount_0.mol", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }
     }).Result;
 }
Exemplo n.º 4
0
 public InvalidCifProcessingFixture(OsdrWebTestHarness harness)
 {
     FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "1100110_modified.cif", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }
     }).Result;
 }
Exemplo n.º 5
0
 public ValidJdxProcessingFixture(OsdrWebTestHarness harness)
 {
     FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "2-Methyl-1-Propanol.jdx", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }
     }).Result;
 }
Exemplo n.º 6
0
 public InvalidCifProcessingImageGenerationFixture(OsdrWebTestHarness harness)
 {
     FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "InvalidImageGeneration.cif", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }
     }).Result;
 }
Exemplo n.º 7
0
 public ValidSdfProcessingFixture(OsdrWebTestHarness harness)
 {
     FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "drugbank_10_records.sdf", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }
     }).Result;
 }
Exemplo n.º 8
0
 public InvalidSdfProcessingFixture(OsdrWebTestHarness harness)
 {
     FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "test_solubility.sdf", new Dictionary <string, object>()
     {
         { "parentId", harness.JohnId }
     }).Result;
 }
Exemplo n.º 9
0
        public FileCreatePublicSharingFixture(OsdrWebTestHarness harness)
        {
            FileId = harness.ProcessRecordsFile(harness.JohnId.ToString(), "Aspirin.mol", new Dictionary <string, object>()
            {
                { "parentId", harness.JohnId }
            }).Result;

            var file     = harness.Session.Get <RecordsFile.Domain.RecordsFile>(FileId).Result;
            var response = harness.JohnApi.SetPublicFileEntity(FileId, file.Version, true).Result;

            harness.WaitWhileFileShared(FileId);
        }