예제 #1
0
		public void Verbatim_string_literal(string data)
		{
			// prepare
			var extractor = new CsAnalyzer();

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

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

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

			// verify
			Assert.Equal(2, results.Count());
		}
예제 #3
0
        public void From_attribute(string data)
        {
            // prepare
            var extractor = new CsAnalyzer();

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

            // verify
            Assert.Equal(1, results.Count());
        }
예제 #4
0
        public void Verbatim_string_literal(string data)
        {
            // prepare
            var extractor = new CsAnalyzer();

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

            // verify
            Assert.Equal(1, results.Count());
        }
예제 #5
0
        public void Unsupported_parameters(string data)
        {
            // prepare
            var extractor = new CsAnalyzer();

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

            // verify
            Assert.Equal(2, results.Count());
        }
예제 #6
0
		public void From_interpolated_string(string data)
		{
			// prepare
			var extractor = new CsAnalyzer();

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

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