RefControlTest: Add missing @Test annotations

Two of the tests were missing the @Test annotation, which resulted
in them never being run.

Change-Id: I681e11a7baf1d49a4ddeb7a08044e6266852760c
This commit is contained in:
David Pursehouse 2015-06-03 16:54:17 +09:00
parent 2362cf6a40
commit 5f0eba667b

View File

@ -534,6 +534,7 @@ public class RefControlTest {
assertFalse("u can't vote 2", range.contains(2));
}
@Test
public void testUnblockRangeForChangeOwner() {
allow(local, LABEL + "Code-Review", -2, +2, CHANGE_OWNER, "refs/heads/*");
@ -544,6 +545,7 @@ public class RefControlTest {
assertTrue("u can vote +2", range.contains(2));
}
@Test
public void testUnblockRangeForNotChangeOwner() {
allow(local, LABEL + "Code-Review", -2, +2, CHANGE_OWNER, "refs/heads/*");