Ejemplo n.º 1
0
        // Run and return BigList tests
        public HttpResponseMessage GetBigListFillTestResults(int iterations)
        {
            TestModel   resultBL    = new TestModel();
            TestService testService = new Services.TestService();

            testService.ReadFiles();
            resultBL = testService.FillTest(iterations, "BigList");
            return(Request.CreateResponse(HttpStatusCode.OK, resultBL));
        }
Ejemplo n.º 2
0
        public HttpResponseMessage GetRopeFillTestResults(int iterations)
        {
            TestModel   resultRope  = new TestModel();
            TestService testService = new Services.TestService();

            //testService.ReadFiles();
            resultRope = testService.FillTest(iterations, "Rope");
            return(Request.CreateResponse(HttpStatusCode.OK, resultRope));
        }
Ejemplo n.º 3
0
        // Run and return stringbuilder tests
        public HttpResponseMessage GetStringBuilderFillTestResults(int iterations)
        {
            TestModel   resultSB    = new TestModel();
            TestService testService = new Services.TestService();

            testService.ReadFiles();
            resultSB = testService.FillTest(iterations, "StringBuilder");
            return(Request.CreateResponse(HttpStatusCode.OK, resultSB));
        }