Exemple #1
0
    internal void DeleteTest(EditTestEntry entry)
    {
        var name = entry.m_name.text;

        TestReader.DeleteTest(name);
        m_entries.Remove(entry);
        Destroy(entry.gameObject);
    }
Exemple #2
0
    public void AddTest(TestInfo testInfo)
    {
        EditTestEntry testEntry = Instantiate(m_editTestEntry, m_testArea);

        testEntry.SetTest(testInfo);
        testEntry.SetTestCreatorPanel(this);
        m_entries.Add(testEntry);
    }
Exemple #3
0
    internal void EditTest(EditTestEntry entry)
    {
        var name = entry.m_name.text;

        if (m_editTestPanel)
        {
            m_editTestPanel.SetTestName(name);
            m_editTestPanel.gameObject.SetActive(true);
            gameObject.SetActive(false);
        }
    }