Exemplo n.º 1
0
        private void AssertFrameworkInit(int step)
        {
            const string LOG = "log";
            const string ASSERT_FRAMEWORK_START = "framework start";
            const string WELCOME           = "Welcom..";
            const string TICKS_READY       = "Ticks Ready";
            const string MANAGERS_READY    = "Managers Ready";
            const string FRAMEWORK_STARTED = "Framework started";

            switch (step)
            {
            default:
                Tester.AddAsserter(ASSERT_FRAMEWORK_START, false, WELCOME, TICKS_READY, MANAGERS_READY, FRAMEWORK_STARTED);
                break;

            case 0:
                LOG.AssertLog(ASSERT_FRAMEWORK_START, WELCOME);
                break;

            case 1:
                LOG.AssertLog(ASSERT_FRAMEWORK_START, TICKS_READY);
                break;

            case 2:
                LOG.AssertLog(ASSERT_FRAMEWORK_START, MANAGERS_READY);
                break;

            case 3:
                LOG.AssertLog(ASSERT_FRAMEWORK_START, FRAMEWORK_STARTED);
                break;
            }
        }