コード例 #1
0
 public void TestErrorProviderMessage()
 {
     CategoryPresentationModelProperty categoryPModelProperty = new CategoryPresentationModelProperty(); // TODO: 初始化為適當值
     categoryPModelProperty.ErrorProviderMessage = COMPARE_STRING;
     Assert.AreEqual(COMPARE_STRING, categoryPModelProperty.ErrorProviderMessage);
 }
コード例 #2
0
 public void TestIsSelectionMode()
 {
     CategoryPresentationModelProperty categoryPModelProperty = new CategoryPresentationModelProperty(); // TODO: 初始化為適當值
     categoryPModelProperty.IsSelectionMode = true;
     Assert.AreEqual(true, categoryPModelProperty.IsSelectionMode);
 }
コード例 #3
0
 public void TestCategoryNameText()
 {
     CategoryPresentationModelProperty categoryPModelProperty = new CategoryPresentationModelProperty(); // TODO: 初始化為適當值
     categoryPModelProperty.CategoryNameText = COMPARE_STRING;
     Assert.AreEqual(COMPARE_STRING, categoryPModelProperty.CategoryNameText);
 }