Exemple #1
0
        public void Verbatim_string_literal(string data)
        {
            // prepare
            var extractor = new CshtmlAnalyzer();

            // execute
            var results = extractor.GetInvocations(data);

            // verify
            Assert.Equal(1, results.Count());
        }
Exemple #2
0
        public void Recursion(string data)
        {
            // prepare
            var extractor = new CshtmlAnalyzer();

            // execute
            var results = extractor.GetInvocations(data);

            // verify
            Assert.Equal(2, results.Count());
        }
Exemple #3
0
        public void Inline_in_attribute(string data)
        {
            // prepare
            var extractor = new CshtmlAnalyzer();

            // execute
            var results = extractor.GetInvocations(data);

            // verify
            Assert.Equal(1, results.Count());
        }
Exemple #4
0
		public void Recursion(string data)
		{
			// prepare
			var extractor = new CshtmlAnalyzer();

			// execute
			var results = extractor.GetInvocations(data);

			// verify
			Assert.Equal(2, results.Count());
		}
Exemple #5
0
		public void Inline_in_attribute(string data)
		{
			// prepare
			var extractor = new CshtmlAnalyzer();

			// execute
			var results = extractor.GetInvocations(data);

			// verify
			Assert.Equal(1, results.Count());
		}
Exemple #6
0
		public void Verbatim_string_literal(string data)
		{
			// prepare
			var extractor = new CshtmlAnalyzer();

			// execute
			var results = extractor.GetInvocations(data);

			// verify
			Assert.Equal(1, results.Count());
		}