コード例 #1
0
        /// <summary>
        /// Notifies the system that we expect the SUT to leave the cache with the specified value
        /// for the specified alternative.
        /// </summary>
        /// <param name="hvo"></param>
        /// <param name="tag"></param>
        /// <param name="value"></param>
        /// <param name="ws"></param>
        /// <param name="message"></param>
        public void ExpectStringAlt(int hvo, int tag, int ws, ITsString value, string message)
        {
            StringAltInfo info = new StringAltInfo(hvo, tag, ws, value, message);

            m_allowedProps.Add(info);
            m_expectedStringAlts.Add(info);
        }
コード例 #2
0
		/// <summary>
		/// Notifies the system that we expect the SUT to leave the cache with the specified value
		/// for the specified alternative.
		/// </summary>
		/// <param name="hvo"></param>
		/// <param name="tag"></param>
		/// <param name="value"></param>
		/// <param name="ws"></param>
		/// <param name="message"></param>
		public void ExpectStringAlt(int hvo, int tag, int ws, ITsString value, string message)
		{
			StringAltInfo info = new StringAltInfo(hvo, tag, ws, value, message);
			m_allowedProps.Add(info);
			m_expectedStringAlts.Add(info);
		}