示例#1
0
        /// <summary>
        /// Unity calls this at initialization of the orchestrator game object
        /// </summary>
        void Start()
        {
            // Read availablemetrics from disk and store them in the model
            model.SetAvailableMetrics(AvailableMetricConfigReader.ReadConfigFile());
            enviromentExist = false;

            LoadLocalProject();
        }
    public void ConfigFileIsReadableAndHasMin4Metrics()
    {
        List <Metric> readedMetrics = AvailableMetricConfigReader.ReadConfigFile();

        Assert.GreaterOrEqual(readedMetrics.Count, 4);
    }
示例#3
0
    public void ReadAvailableMetrics()
    {
        model.SetAvailableMetrics(AvailableMetricConfigReader.ReadConfigFile());

        Assert.GreaterOrEqual(model.GetAvailableMetrics().Count, 4);
    }