Esempio n. 1
0
        public void Equals_ToolNameDiffersByCase()
        {
            Guid       newGuid = Guid.NewGuid();
            FwLinkArgs args1   = new FwLinkArgs("MyTool", newGuid, "myTag");

            Assert.IsFalse(args1.Equals(new FwLinkArgs("mytool", newGuid, "myTag")));
        }
Esempio n. 2
0
        public void Equals_NullParameter()
        {
            Guid       newGuid = Guid.NewGuid();
            FwLinkArgs args1   = new FwLinkArgs("myTool", newGuid, "myTag");

            Assert.IsFalse(args1.Equals(null));
        }
Esempio n. 3
0
        public void Equals_DifferByToolName()
        {
            Guid       newGuid = Guid.NewGuid();
            FwLinkArgs args1   = new FwLinkArgs("myTool", newGuid, "myTag");

            Assert.IsFalse(args1.Equals(new FwLinkArgs("myOtherTool", newGuid, "myTag")));
        }
Esempio n. 4
0
        public void Equals_ExactlyTheSame()
        {
            Guid       newGuid = Guid.NewGuid();
            FwLinkArgs args1   = new FwLinkArgs("myTool", newGuid, "myTag");

            Assert.IsTrue(args1.Equals(new FwLinkArgs("myTool", newGuid, "myTag")));
        }
Esempio n. 5
0
        public void Equals_SameObject()
        {
            Guid       newGuid = Guid.NewGuid();
            FwLinkArgs args1   = new FwLinkArgs("myTool", newGuid, "myTag");

            Assert.IsTrue(args1.Equals(args1));
        }
Esempio n. 6
0
        public void Equals_ThisTagZeroLength()
        {
            Guid       newGuid = Guid.NewGuid();
            FwLinkArgs args1   = new FwLinkArgs("myTool", newGuid, string.Empty);

            Assert.IsFalse(args1.Equals(new FwLinkArgs("myTool", newGuid, "myTag")));
        }
Esempio n. 7
0
        public void Equals_DiffereByGuid()
        {
            FwLinkArgs args1 = new FwLinkArgs("myTool", Guid.NewGuid(), "myTag");

            Assert.IsFalse(args1.Equals(new FwLinkArgs("myTool", Guid.NewGuid(), "myTag")));
        }
Esempio n. 8
0
		public void Equals_DifferByToolName()
		{
			Guid newGuid = Guid.NewGuid();
			FwLinkArgs args1 = new FwLinkArgs("myTool", newGuid, "myTag");
			Assert.IsFalse(args1.Equals(new FwLinkArgs("myOtherTool", newGuid, "myTag")));
		}
Esempio n. 9
0
		public void Equals_ToolNameDiffersByCase()
		{
			Guid newGuid = Guid.NewGuid();
			FwLinkArgs args1 = new FwLinkArgs("MyTool", newGuid, "myTag");
			Assert.IsFalse(args1.Equals(new FwLinkArgs("mytool", newGuid, "myTag")));
		}
Esempio n. 10
0
		public void Equals_NullParameter()
		{
			Guid newGuid = Guid.NewGuid();
			FwLinkArgs args1 = new FwLinkArgs("myTool", newGuid, "myTag");
			Assert.IsFalse(args1.Equals(null));
		}
Esempio n. 11
0
		public void Equals_SameObject()
		{
			Guid newGuid = Guid.NewGuid();
			FwLinkArgs args1 = new FwLinkArgs("myTool", newGuid, "myTag");
			Assert.IsTrue(args1.Equals(args1));
		}
Esempio n. 12
0
		public void Equals_ExactlyTheSame()
		{
			Guid newGuid = Guid.NewGuid();
			FwLinkArgs args1 = new FwLinkArgs("myTool", newGuid, "myTag");
			Assert.IsTrue(args1.Equals(new FwLinkArgs("myTool", newGuid, "myTag")));
		}
Esempio n. 13
0
		public void Equals_ThisTagZeroLength()
		{
			Guid newGuid = Guid.NewGuid();
			FwLinkArgs args1 = new FwLinkArgs("myTool", newGuid, string.Empty);
			Assert.IsFalse(args1.Equals(new FwLinkArgs("myTool", newGuid, "myTag")));
		}
Esempio n. 14
0
		public void Equals_DiffereByGuid()
		{
			FwLinkArgs args1 = new FwLinkArgs("myTool", Guid.NewGuid(), "myTag");
			Assert.IsFalse(args1.Equals(new FwLinkArgs("myTool", Guid.NewGuid(), "myTag")));
		}