コード例 #1
0
        public void SetUpTest()
        {
            // Create the whitelist test object.
            _whitelist = new Whitelist(new MockFileResources());

            // Add the words used by the tests.
            _whitelist.AddWord("Test1");
            _whitelist.AddWord("Test2");
            _whitelist.AddWord("Test3");
            _whitelist.AddWord("Testn't");
            _whitelist.AddWord("non-Test");
            _whitelist.AddWord("Space Test");
            _whitelist.AddWord("Test1 Test3");
            _whitelist.AddWord("Test1 Test4");
            _whitelist.AddWord("Test1 Test4 Test5");
            _whitelist.AddWord("some.test");
        }