public TestResult(TestBlueprint blueprint, string name, string subject, string gradeBand, int itemBank,
                   int handscoringProjectID, string testId, string contract, string mode, long tisRequestID, IProjectMetaDataLoader projectMetaDataLoader)
 {
     this.Blueprint    = blueprint;
     this.test         = new Test(gradeBand, mode, contract, itemBank, testId, subject, name, handscoringProjectID);
     this.tisRequestID = tisRequestID;
     this.SetProject(projectMetaDataLoader);
 }
 public TestResult(TestBlueprint blueprint, string name, int itemBank, string contract, string mode)
 {
     this.Blueprint = blueprint;
     this.test      = new Test(null, mode, contract, itemBank, null, null, name, 0); //Zach 10/31/2014: hardcoding  HS ProjectID to 0 when not specified
     this.projectID = -1;
     if (blueprint != null)
     {
         this.Subject   = blueprint.Subject;
         this.GradeBand = blueprint.GradeCode;
         this.TestID    = blueprint.TestID;
     }
 }
Example #3
0
        public void Setup() => Schedule(() =>
        {
            Clear();

            hitCircle = new HitCircle {
                Position = new Vector2(256, 192)
            };
            hitCircle.ApplyDefaults(new ControlPointInfo(), new BeatmapDifficulty {
                CircleSize = 2
            });

            Add(drawableObject     = new DrawableHitCircle(hitCircle));
            AddBlueprint(blueprint = new TestBlueprint(hitCircle), drawableObject);
        });