Search in sources :

Example 11 with FileUidRule

use of com.axway.ats.rbv.filesystem.rules.FileUidRule in project ats-framework by Axway.

the class Test_FileUIDRule method getRuleDescFile.

@Test
public void getRuleDescFile() {
    rule = new FileUidRule(1, "ruleName", true);
    assertEquals(rule.getRuleDescription(), "which expects file with UID '1'");
}
Also used : FileUidRule(com.axway.ats.rbv.filesystem.rules.FileUidRule) BaseTest(com.axway.ats.rbv.BaseTest) Test(org.junit.Test) PrepareForTest(org.powermock.core.classloader.annotations.PrepareForTest)

Aggregations

FileUidRule (com.axway.ats.rbv.filesystem.rules.FileUidRule)11 BaseTest (com.axway.ats.rbv.BaseTest)7 Test (org.junit.Test)7 PrepareForTest (org.powermock.core.classloader.annotations.PrepareForTest)7 PublicAtsApi (com.axway.ats.common.PublicAtsApi)4 FilePackage (com.axway.ats.action.objects.FilePackage)2 PackageException (com.axway.ats.action.objects.model.PackageException)2 ArrayList (java.util.ArrayList)1