2using Microsoft.VisualStudio.TestTools.UnitTesting;
13 Assert.IsFalse(qualification.ByAttribute, nameof(qualification.ByAttribute));
14 Assert.IsFalse(qualification.ByNamingConvention, nameof(qualification.ByNamingConvention));
21 Assert.IsTrue(qualification.ByAttribute, nameof(qualification.ByAttribute));
22 Assert.IsFalse(qualification.ByNamingConvention, nameof(qualification.ByNamingConvention));
29 Assert.IsFalse(qualification.ByAttribute, nameof(qualification.ByAttribute));
30 Assert.IsTrue(qualification.ByNamingConvention, nameof(qualification.ByNamingConvention));
50 Assert.IsFalse(qualification.ByNamingConvention, nameof(qualification.ByNamingConvention));
51 Assert.IsFalse(qualification.ByAttribute, nameof(qualification.ByAttribute));
58 Assert.IsFalse(byNamingConvention, nameof(byNamingConvention));
59 Assert.IsFalse(byAttribute, nameof(byAttribute));
66 Assert.IsFalse(byNamingConvention, nameof(byNamingConvention));
67 Assert.IsTrue(byAttribute, nameof(byAttribute));
74 Assert.IsTrue(byNamingConvention, nameof(byNamingConvention));
75 Assert.IsFalse(byAttribute, nameof(byAttribute));
82 Assert.IsTrue(byNamingConvention, nameof(byNamingConvention));
83 Assert.IsTrue(byAttribute, nameof(byAttribute));
86 [DataRow(
false,
false,
false,
false,
false,
false)]
87 [DataRow(
false,
false,
false,
true,
false,
true)]
88 [DataRow(
false,
false,
true,
false,
true,
false)]
89 [DataRow(
false,
false,
true,
true,
true,
true)]
90 [DataRow(
false,
true,
false,
false,
false,
true)]
91 [DataRow(
false,
true,
false,
true,
false,
true)]
92 [DataRow(
false,
true,
true,
false,
true,
true)]
93 [DataRow(
false,
true,
true,
true,
true,
true)]
94 [DataRow(
true,
false,
false,
false,
true,
false)]
95 [DataRow(
true,
false,
false,
true,
true,
true)]
96 [DataRow(
true,
false,
true,
false,
true,
false)]
97 [DataRow(
true,
false,
true,
true,
true,
true)]
98 [DataRow(
true,
true,
false,
false,
true,
true)]
99 [DataRow(
true,
true,
false,
true,
true,
true)]
100 [DataRow(
true,
true,
true,
false,
true,
true)]
101 [DataRow(
true,
true,
true,
true,
true,
true)]
103 public void Combine(
bool firstByNamingConvention,
bool firstByAttribute,
bool secondByNamingConvention,
bool secondByAttribute,
104 bool expectedByNamingConvention,
bool expectedByAttribute)
108 Assert.AreEqual(expectedByNamingConvention, qualification.ByNamingConvention, nameof(qualification.ByNamingConvention));
109 Assert.AreEqual(expectedByAttribute, qualification.ByAttribute, nameof(qualification.ByAttribute));
void Combine(bool firstByNamingConvention, bool firstByAttribute, bool secondByNamingConvention, bool secondByAttribute, bool expectedByNamingConvention, bool expectedByAttribute)
void CreateWithByAttributeArgumentAsTrue()
void CompareWhenByNamingConventionFlagIsTrue()
void DeconstructWhenFlagsAreTrueAndTrue()
void DeconstructWhenFlagsAreTrueAndFalse()
void CompareWhenBothFlagsAreFalse()
void CompareWhenByAttributeFlagIsTrue()
void DeconstructWhenFlagsAreFalseAndFalse()
void DeconstructWhenFlagsAreFalseAndTrue()
void CombineFalseAndFalseWithFalseAndFalse()
void CreateWithByNamingConventionArgumentAsTrue()
DataPortalOperationQualification Combine(DataPortalOperationQualification qualification)