コード例 #1
0
ファイル: BigListApiController.cs プロジェクト: RopeLEAP/rope
        public HttpResponseMessage GetBigListMidInsertTestResults(int iterations)
        {
            TestModel   resultBL    = new TestModel();
            TestService testService = new Services.TestService();

            testService.ReadFiles();
            resultBL = testService.MidInsertTest(iterations, "BigList");
            return(Request.CreateResponse(HttpStatusCode.OK, resultBL));
        }
コード例 #2
0
ファイル: RopeApiController.cs プロジェクト: RopeLEAP/rope
        public HttpResponseMessage GetRopeMidInsertTestResults(int iterations)
        {
            TestModel   resultRope  = new TestModel();
            TestService testService = new Services.TestService();

            //testService.ReadFiles();
            resultRope = testService.MidInsertTest(iterations, "Rope");
            return(Request.CreateResponse(HttpStatusCode.OK, resultRope));
        }
コード例 #3
0
        public HttpResponseMessage GetStringBuilderMidInsertTestResults(int iterations)
        {
            TestModel   resultSB    = new TestModel();
            TestService testService = new Services.TestService();

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