[tor-commits] [metrics-lib/master] Update test method names.
karsten at torproject.org
karsten at torproject.org
Tue Apr 17 16:26:41 UTC 2012
commit 4f499abaecdc24f3774ea1f86f914f42cfad982d
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Tue Apr 17 16:29:04 2012 +0200
Update test method names.
---
.../descriptor/impl/ServerDescriptorImplTest.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/org/torproject/descriptor/impl/ServerDescriptorImplTest.java b/test/org/torproject/descriptor/impl/ServerDescriptorImplTest.java
index 72bec62..a96fa33 100644
--- a/test/org/torproject/descriptor/impl/ServerDescriptorImplTest.java
+++ b/test/org/torproject/descriptor/impl/ServerDescriptorImplTest.java
@@ -1034,21 +1034,21 @@ public class ServerDescriptorImplTest {
}
@Test()
- public void testEventdnsTrue() throws DescriptorParseException {
+ public void testEventdns1() throws DescriptorParseException {
ServerDescriptor descriptor = DescriptorBuilder.
createWithEventdnsLine("eventdns 1");
assertTrue(descriptor.getUsesEnhancedDnsLogic());
}
@Test()
- public void testEventdnsFalse() throws DescriptorParseException {
+ public void testEventdns0() throws DescriptorParseException {
ServerDescriptor descriptor = DescriptorBuilder.
createWithEventdnsLine("eventdns 0");
assertFalse(descriptor.getUsesEnhancedDnsLogic());
}
@Test(expected = DescriptorParseException.class)
- public void testEventdns1() throws DescriptorParseException {
+ public void testEventdnsTrue() throws DescriptorParseException {
DescriptorBuilder.createWithEventdnsLine("eventdns true");
}
More information about the tor-commits
mailing list