示例#1
0
 public void addTestCase(List <TestCaseInfo> testCaseInfoList)
 {
     for (int i = 0; i < testCaseInfoList.Count; i++)
     {
         OneTestCase oneTestCase = Instantiate <OneTestCase>(oneTestCasePrefab);
         Vector3     position    = new Vector3();
         oneTestCase.transform.SetParent(transform, false);
         oneTestCase.transform.localPosition = position;
         oneTestCaseList.Add(oneTestCase);
         oneTestCase.LoadTestCaseInfo(testCaseInfoList[i], i);
     }
 }
示例#2
0
 public void SetUp()
 {
     oneTestFixture  = new OneTestCase();
     mockTestFixture = new MockTestFixture();
 }