Change Test Names

Closes gh-746
This commit is contained in:
Josh Cummings
2023-03-30 20:01:55 -06:00
parent 5020af0837
commit ec23b3ebf2
189 changed files with 324 additions and 322 deletions

View File

@@ -28,7 +28,7 @@ import java.util.Arrays;
import static org.assertj.core.api.Assertions.assertThat;
class IncludeCheckRemotePluginTest {
class IncludeCheckRemotePluginTests {
Project rootProject;

View File

@@ -30,7 +30,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Rob Winch
*/
public class IntegrationPluginTest {
public class IntegrationPluginTests {
Project rootProject;
@AfterEach

View File

@@ -12,7 +12,7 @@ import java.nio.file.Path;
import static org.assertj.core.api.Assertions.assertThat;
public class IntegrationTestPluginITest {
public class IntegrationTestPluginITests {
private io.spring.gradle.TestKit testKit;
@BeforeEach

View File

@@ -11,7 +11,7 @@ import java.nio.file.Path;
import static org.assertj.core.api.Assertions.assertThat;
public class JacocoPluginITest{
public class JacocoPluginITests{
private io.spring.gradle.TestKit testKit;
@BeforeEach

View File

@@ -14,7 +14,7 @@ import java.nio.file.Path;
import static org.assertj.core.api.Assertions.assertThat;
public class JavadocApiPluginITest {
public class JavadocApiPluginITests {
private TestKit testKit;
@BeforeEach

View File

@@ -29,7 +29,7 @@ import org.junit.jupiter.api.Test;
/**
* @author Rob Winch
*/
public class JavadocApiPluginTest {
public class JavadocApiPluginTests {
Project rootProject;
@AfterEach

View File

@@ -14,7 +14,7 @@ import java.nio.file.Path;
import static org.assertj.core.api.Assertions.assertThat;
public class ShowcaseITest {
public class ShowcaseITests {
private TestKit testKit;
@BeforeEach

View File

@@ -15,7 +15,7 @@ import java.util.LinkedHashMap;
import static org.assertj.core.api.Assertions.assertThat;
public class SpringMavenPluginITest {
public class SpringMavenPluginITests {
private TestKit testKit;

View File

@@ -11,7 +11,7 @@ import java.nio.file.Path;
import static org.assertj.core.api.Assertions.assertThat;
public class TestsConfigurationPluginITest {
public class TestsConfigurationPluginITests {
private TestKit testKit;

View File

@@ -11,7 +11,7 @@ import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;
@ExtendWith(MockitoExtension.class)
public class UtilsTest {
public class UtilsTests {
@Mock
Project project;
@Mock

View File

@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class TransitiveDependencyLookupUtilsTest {
public class TransitiveDependencyLookupUtilsTests {
@Test
public void lookupJwtVersionWhen93Then961() {

View File

@@ -3,7 +3,7 @@ package sample;
import org.junit.Test;
import org.springframework.core.Ordered;
public class TheTest {
public class TheTests {
@Test
public void compilesAndRuns() {
Ordered ordered = new Ordered() {
@@ -13,4 +13,4 @@ public class TheTest {
}
};
}
}
}

View File

@@ -3,9 +3,9 @@ package sample;
import org.junit.Test;
import jakarta.servlet.http.HttpServletRequest;
public class TheTest {
public class TheTests {
@Test
public void compilesAndRuns() {
HttpServletRequest request = null;
}
}
}

View File

@@ -4,7 +4,7 @@ import static org.junit.Assert.*;
import org.junit.Test;
public class TheClassTest {
public class TheClassTests {
TheClass theClass = new TheClass();
@Test
@@ -16,4 +16,4 @@ public class TheClassTest {
public void doStuffWhenTrueThenFalse() {
assertFalse(theClass.doStuff(false));
}
}
}

View File

@@ -2,7 +2,7 @@ package api;
import org.junit.jupiter.api.Test;
public class ApiTest {
public class ApiTests {
@Test
public void api() {}

View File

@@ -2,7 +2,7 @@ package core;
import org.junit.jupiter.api.Test;
public class CoreClassTest {
public class CoreClassTests {
@Test
public void test() {

View File

@@ -2,7 +2,7 @@ package core;
import org.junit.jupiter.api.Test;
public class HasOptionalTest {
public class HasOptionalTests {
@Test
public void test() {

View File

@@ -2,9 +2,9 @@ package sample;
import org.junit.*;
public class DependencyTest {
public class DependencyTests {
@Test
public void findsDependencyOnClasspath() {
new Dependency();
}
}
}

View File

@@ -32,7 +32,7 @@ import org.springframework.test.AbstractDependencyInjectionSpringContextTests;
* @author Mattias Hellborg Arthursson
* @author Ulrik Sandberg
*/
public class LdapTemplateLookupOpenLdapITest extends
public class LdapTemplateLookupOpenLdapITests extends
AbstractDependencyInjectionSpringContextTests {
private LdapTemplate tested;

View File

@@ -42,7 +42,7 @@ import org.springframework.test.AbstractDependencyInjectionSpringContextTests;
*
* @author Ulrik Sandberg
*/
public class LdapTemplatePagedSearchITest extends
public class LdapTemplatePagedSearchITests extends
AbstractDependencyInjectionSpringContextTests {
private static final Name BASE = DistinguishedName.EMPTY_PATH;

View File

@@ -38,7 +38,7 @@ import org.springframework.test.AbstractDependencyInjectionSpringContextTests;
*
* @author Ulrik Sandberg
*/
public class LdapTemplateSortedSearchITest extends
public class LdapTemplateSortedSearchITests extends
AbstractDependencyInjectionSpringContextTests {
private static final Name BASE = DistinguishedName.EMPTY_PATH;

View File

@@ -32,7 +32,7 @@ import static org.junit.Assert.assertNull;
*
* @author Ulrik Sandberg
*/
public class NamingExceptionTest {
public class NamingExceptionTests {
private ByteArrayOutputStream byteArrayOutputStream;

View File

@@ -24,7 +24,7 @@ import static org.assertj.core.api.Assertions.fail;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class DefaultValuesAuthenticationSourceDecoratorTest {
public class DefaultValuesAuthenticationSourceDecoratorTests {
private static final String DEFAULT_PASSWORD = "defaultPassword";

View File

@@ -54,7 +54,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Mattias Hellborg Arthursson
*/
public class LdapTemplateNamespaceHandlerTest {
public class LdapTemplateNamespaceHandlerTests {
@Test
public void verifyParseWithDefaultValues() {

View File

@@ -28,7 +28,7 @@ import java.util.List;
* @author Mattias Hellborg Arthursson
* @author Ulrik Sandberg
*/
public class PagedResultTest {
public class PagedResultTests {
@Test
public void testEquals() throws Exception {

View File

@@ -19,7 +19,7 @@ package org.springframework.ldap.control;
import com.gargoylesoftware.base.testing.EqualsTester;
import org.junit.Test;
public class PagedResultsCookieTest {
public class PagedResultsCookieTests {
@Test
public void testEquals() {

View File

@@ -33,7 +33,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class PagedResultsDirContextProcessorTest {
public class PagedResultsDirContextProcessorTests {
private LdapContext ldapContextMock;

View File

@@ -29,7 +29,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
public class RequestControlDirContextProcessorTest {
public class RequestControlDirContextProcessorTests {
private AbstractRequestControlDirContextProcessor tested;
@@ -58,7 +58,7 @@ public class RequestControlDirContextProcessorTest {
this.tested = new AbstractRequestControlDirContextProcessor() {
public Control createRequestControl() {
return RequestControlDirContextProcessorTest.this.requestControlMock;
return RequestControlDirContextProcessorTests.this.requestControlMock;
}
public void postProcess(DirContext ctx) throws NamingException {

View File

@@ -37,7 +37,7 @@ import static org.mockito.Mockito.when;
*
* @author Ulrik Sandberg
*/
public class SortControlDirContextProcessorTest {
public class SortControlDirContextProcessorTests {
private LdapContext ldapContextMock;

View File

@@ -26,7 +26,7 @@ import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertSame;
public class CollectingNameClassPairCallbackHandlerTest {
public class CollectingNameClassPairCallbackHandlerTests {
private CollectingNameClassPairCallbackHandler tested;
@@ -41,8 +41,8 @@ public class CollectingNameClassPairCallbackHandlerTest {
this.tested = new CollectingNameClassPairCallbackHandler() {
public Object getObjectFromNameClassPair(NameClassPair nameClassPair) {
assertThat(nameClassPair)
.isSameAs(CollectingNameClassPairCallbackHandlerTest.this.expectedNameClassPair);
return CollectingNameClassPairCallbackHandlerTest.this.expectedResult;
.isSameAs(CollectingNameClassPairCallbackHandlerTests.this.expectedNameClassPair);
return CollectingNameClassPairCallbackHandlerTests.this.expectedResult;
}
};
}

View File

@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class ContextMapperCallbackHandlerTest {
public class ContextMapperCallbackHandlerTests {
private ContextMapper mapperMock;

View File

@@ -46,7 +46,7 @@ import static org.mockito.Mockito.when;
*
* @author Ulrik Sandberg
*/
public class DefaultLdapClientListTest {
public class DefaultLdapClientListTests {
private static final String NAME = "o=example.com";

View File

@@ -44,7 +44,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
public class DefaultLdapClientLookupTest {
public class DefaultLdapClientLookupTests {
private static final Name DEFAULT_BASE = LdapUtils.newLdapName("o=example.com");

View File

@@ -39,7 +39,7 @@ import static org.mockito.Mockito.when;
*
* @author Josh Cummings
*/
public class DefaultLdapClientRenameTest {
public class DefaultLdapClientRenameTests {
private ContextSource contextSourceMock;

View File

@@ -64,7 +64,7 @@ import static org.mockito.Mockito.when;
*
* @author Josh Cummings
*/
public class DefaultLdapClientTest {
public class DefaultLdapClientTests {
private static final Name DEFAULT_BASE = LdapUtils.newLdapName("o=example.com");

View File

@@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Luke Taylor
*/
public class DirContextAdapterBugTest {
public class DirContextAdapterBugTests {
@Test
public void testResetAttributeValuesNotReportedAsModifications() {

View File

@@ -43,7 +43,7 @@ import static org.assertj.core.api.Assertions.fail;
* @author Mattias Hellborg Arthursson
* @author Ulrik Sandberg
*/
public class DirContextAdapterTest {
public class DirContextAdapterTests {
private static final LdapName BASE_NAME = LdapUtils.newLdapName("dc=jayway,dc=se");

View File

@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.fail;
*
* @author Mattias Hellborg Arthursson
*/
public class DistinguishedNameEditorTest {
public class DistinguishedNameEditorTests {
private DistinguishedNameEditor tested;

View File

@@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.fail;
* @author Adam Skogman
* @author Mattias Hellborg Arthursson
*/
public class DistinguishedNameTest {
public class DistinguishedNameTests {
@Test
public void testDistinguishedName_CompositeWithSlash() throws Exception {

View File

@@ -24,7 +24,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Mattias Hellborg Arthursson
*/
public class LdapRdnComponentTest {
public class LdapRdnComponentTests {
@Test
public void testCompareTo_Less() {

View File

@@ -27,7 +27,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Adam Skogman
*/
public class LdapRdnTest {
public class LdapRdnTests {
@Test
public void testLdapRdn_parse_simple() {

View File

@@ -41,7 +41,7 @@ import static org.mockito.Mockito.when;
*
* @author Ulrik Sandberg
*/
public class LdapTemplateListTest {
public class LdapTemplateListTests {
private static final String NAME = "o=example.com";

View File

@@ -37,7 +37,7 @@ import org.springframework.ldap.NameNotFoundException;
import org.springframework.ldap.odm.core.ObjectDirectoryMapper;
import org.springframework.ldap.support.LdapUtils;
public class LdapTemplateLookupTest {
public class LdapTemplateLookupTests {
private static final String DEFAULT_BASE_STRING = "o=example.com";

View File

@@ -11,7 +11,7 @@ import static org.mockito.Mockito.mock;
/**
* @author Mattias Hellborg Arthursson
*/
public class LdapTemplateOdmTest {
public class LdapTemplateOdmTests {
private LdapTemplate tested;

View File

@@ -37,7 +37,7 @@ import static org.mockito.Mockito.when;
*
* @author Ulrik Sandberg
*/
public class LdapTemplateRenameTest {
public class LdapTemplateRenameTests {
private ContextSource contextSourceMock;

View File

@@ -70,7 +70,7 @@ import static org.springframework.ldap.query.LdapQueryBuilder.query;
* @author Mattias Hellborg Arthursson
* @author Ulrik Sandberg
*/
public class LdapTemplateTest {
public class LdapTemplateTests {
private static final String DEFAULT_BASE_STRING = "o=example.com";

View File

@@ -30,7 +30,7 @@ import static org.junit.Assert.assertTrue;
/**
* @author Mattias Hellborg Arthursson
*/
public class NameAwareAttributeTest {
public class NameAwareAttributeTests {
@Test
public void testEqualsWithIdNotSame() {

View File

@@ -4,7 +4,7 @@ import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class NameAwareAttributesTest {
public class NameAwareAttributesTests {
// gh-548
@Test

View File

@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Mattias Hellborg Arthursson
*/
public class AbstractContextSourceTest {
public class AbstractContextSourceTests {
@Test
public void testFormatForUrlNormal() throws InvalidNameException {

View File

@@ -24,7 +24,7 @@ import javax.naming.NamingException;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
public class AggregateDirContextProcessorTest {
public class AggregateDirContextProcessorTests {
private DirContextProcessor processor1Mock;

View File

@@ -34,7 +34,7 @@ import static org.mockito.Mockito.when;
*
* @author Mattias Hellborg Arthursson
*/
public class BaseLdapPathBeanPostProcessorTest {
public class BaseLdapPathBeanPostProcessorTests {
private BaseLdapPathBeanPostProcessor tested;

View File

@@ -33,7 +33,7 @@ import static org.mockito.Mockito.when;
* @Ulrik Sandberg
* @author Mattias Hellborg Arthursson
*/
public class ContextMapperCallbackHandlerWithControlsTest {
public class ContextMapperCallbackHandlerWithControlsTests {
private ContextMapperWithControls mapperMock;

View File

@@ -22,7 +22,7 @@ import javax.naming.directory.SearchResult;
import static org.assertj.core.api.Assertions.assertThat;
public class CountNameClassPairResultCallbackHandlerTest {
public class CountNameClassPairResultCallbackHandlerTests {
private CountNameClassPairCallbackHandler tested;

View File

@@ -34,7 +34,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
public class DefaultDirObjectFactoryTest {
public class DefaultDirObjectFactoryTests {
private Context contextMock;

View File

@@ -32,7 +32,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* @author Marius Scurtescu
* @author Mattias Hellborg Arthursson
*/
public class DefaultIncrementalAttributesMapperTest {
public class DefaultIncrementalAttributesMapperTests {
private DefaultIncrementalAttributesMapper tested;

View File

@@ -32,7 +32,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* @author Mattias Hellborg Arthursson
* @author Ulrik Sandberg
*/
public class LdapContextSourceTest {
public class LdapContextSourceTests {
private LdapContextSource tested;

View File

@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.fail;
*
* @author Marius Scurtescu
*/
public class RangeOptionTest {
public class RangeOptionTests {
@Test
public void testConstructorInvalid() {

View File

@@ -23,7 +23,7 @@ import java.util.Hashtable;
import static org.assertj.core.api.Assertions.assertThat;
public class SimpleDirContextAuthenticationStrategyTest {
public class SimpleDirContextAuthenticationStrategyTests {
private SimpleDirContextAuthenticationStrategy tested;

View File

@@ -37,7 +37,7 @@ import static org.mockito.Mockito.when;
/**
* @author Mattias Hellborg Arthursson
*/
public class SingleContextSourceTest {
public class SingleContextSourceTests {
private ContextSource contextSourceMock;
@@ -61,7 +61,7 @@ public class SingleContextSourceTest {
@Override
public Object executeWithContext(DirContext ctx) throws NamingException {
Object targetContex = getInternalState(Proxy.getInvocationHandler(ctx), "target");
assertThat(targetContex).isSameAs(SingleContextSourceTest.this.dirContextMock);
assertThat(targetContex).isSameAs(SingleContextSourceTests.this.dirContextMock);
return false;
}
});
@@ -73,7 +73,7 @@ public class SingleContextSourceTest {
@Override
public Object executeWithContext(DirContext ctx) throws NamingException {
Object targetContex = getInternalState(Proxy.getInvocationHandler(ctx), "target");
assertThat(targetContex).isSameAs(SingleContextSourceTest.this.dirContextMock);
assertThat(targetContex).isSameAs(SingleContextSourceTests.this.dirContextMock);
return false;
}
});

View File

@@ -23,7 +23,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Adam Skogman
*/
public class AbstractFilterTest {
public class AbstractFilterTests {
/*
* Test for String encode()

View File

@@ -24,7 +24,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Adam Skogman
*/
public class AndFilterTest {
public class AndFilterTests {
@Test
public void testZero() {

View File

@@ -24,7 +24,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Adam Skogman
*/
public class EqualsFilterTest {
public class EqualsFilterTests {
@Test
public void testEncode() {

View File

@@ -24,7 +24,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Mattias Hellborg Arthursson
*/
public class GreaterThanOrEqualsFilterTest {
public class GreaterThanOrEqualsFilterTests {
@Test
public void testEncode() {

View File

@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Ulrik Sandberg
*/
public class HardcodedFilterTest {
public class HardcodedFilterTests {
@Test
public void testHardcodedFilter() {

View File

@@ -24,7 +24,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Mattias Hellborg Arthursson
*/
public class LessThanOrEqualsFilterTest {
public class LessThanOrEqualsFilterTests {
@Test
public void testEncode() {

View File

@@ -24,7 +24,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Anders Henja
*/
public class LikeFilterTest {
public class LikeFilterTests {
@Test
public void testEncodeValue_blank() {

View File

@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Mattias Hellborg Arthursson
*/
public class NotFilterTest {
public class NotFilterTests {
@Test
public void testConstructor() {

View File

@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Ulrik Sandberg
*/
public class NotPresentFilterTest {
public class NotPresentFilterTests {
@Test
public void testNotPresentFilter() {

View File

@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Adam Skogman
*/
public class OrFilterTest {
public class OrFilterTests {
@Test
public void testZero() {

View File

@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Ulrik Sandberg
*/
public class PresentFilterTest {
public class PresentFilterTests {
@Test
public void testPresentFilter() {

View File

@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Adam Skogman
*/
public class WhitespaceWildcardsFilterTest {
public class WhitespaceWildcardsFilterTests {
@Test
public void testEncodeValue_blank() {

View File

@@ -23,7 +23,7 @@ import org.springframework.util.StringUtils;
* @author Mattias Hellborg Arthursson
*/
@RunWith(MockitoJUnitRunner.class)
public class DefaultObjectDirectoryMapperTest {
public class DefaultObjectDirectoryMapperTests {
private DefaultObjectDirectoryMapper tested;

View File

@@ -33,7 +33,7 @@ import static org.mockito.Mockito.verify;
* @author Eric Dalquist
* <a href="mailto:eric.dalquist@doit.wisc.edu">eric.dalquist@doit.wisc.edu</a>
*/
public class DelegatingContextTest extends AbstractPoolTestCase {
public class DelegatingContextTests extends AbstractPoolTestCase {
@Test
public void testConstructorAssertions() {

View File

@@ -34,7 +34,7 @@ import static org.mockito.Mockito.verify;
* @author Eric Dalquist
* <a href="mailto:eric.dalquist@doit.wisc.edu">eric.dalquist@doit.wisc.edu</a>
*/
public class DelegatingDirContextTest extends AbstractPoolTestCase {
public class DelegatingDirContextTests extends AbstractPoolTestCase {
@Test
public void testConstructorAssertions() {

View File

@@ -32,7 +32,7 @@ import static org.mockito.Mockito.verify;
* @author Eric Dalquist
* <a href="mailto:eric.dalquist@doit.wisc.edu">eric.dalquist@doit.wisc.edu</a>
*/
public class DelegatingLdapContextTest extends AbstractPoolTestCase {
public class DelegatingLdapContextTests extends AbstractPoolTestCase {
@Test
public void testConstructorAssertions() {

View File

@@ -24,7 +24,7 @@ import static org.mockito.Mockito.verify;
*
* @author Ulrik Sandberg
*/
public class MutableDelegatingLdapContextTest extends AbstractPoolTestCase {
public class MutableDelegatingLdapContextTests extends AbstractPoolTestCase {
@Test
public void testSupportedMethodsAllowedToCall() throws Exception {

View File

@@ -39,7 +39,7 @@ import static org.mockito.Mockito.when;
/**
* @author Eric Dalquist
*/
public class DirContextPoolableObjectFactoryTest extends AbstractPoolTestCase {
public class DirContextPoolableObjectFactoryTests extends AbstractPoolTestCase {
@Test
public void testProperties() throws Exception {

View File

@@ -29,7 +29,7 @@ import static org.mockito.Mockito.when;
*
* @author Ulrik Sandberg
*/
public class MutablePoolingContextSourceTest extends AbstractPoolTestCase {
public class MutablePoolingContextSourceTests extends AbstractPoolTestCase {
@Test
public void testGetReadOnlyLdapContext() throws Exception {

View File

@@ -33,7 +33,7 @@ import static org.mockito.Mockito.when;
/**
* @author Eric Dalquist
*/
public class PoolingContextSourceTest extends AbstractPoolTestCase {
public class PoolingContextSourceTests extends AbstractPoolTestCase {
@Test
public void testProperties() throws Exception {

View File

@@ -33,7 +33,7 @@ import static org.mockito.Mockito.when;
* @author Eric Dalquist
* <a href="mailto:eric.dalquist@doit.wisc.edu">eric.dalquist@doit.wisc.edu</a>
*/
public class DefaultDirContextValidatorTest {
public class DefaultDirContextValidatorTests {
private NamingEnumeration namingEnumerationMock;

View File

@@ -33,7 +33,7 @@ import static org.mockito.Mockito.verify;
* @author Eric Dalquist
* <a href="mailto:eric.dalquist@doit.wisc.edu">eric.dalquist@doit.wisc.edu</a>
*/
public class DelegatingContextTest extends AbstractPoolTestCase {
public class DelegatingContextTests extends AbstractPoolTestCase {
@Test
public void testConstructorAssertions() {

View File

@@ -34,7 +34,7 @@ import static org.mockito.Mockito.verify;
* @author Eric Dalquist
* <a href="mailto:eric.dalquist@doit.wisc.edu">eric.dalquist@doit.wisc.edu</a>
*/
public class DelegatingDirContextTest extends AbstractPoolTestCase {
public class DelegatingDirContextTests extends AbstractPoolTestCase {
@Test
public void testConstructorAssertions() {

View File

@@ -32,7 +32,7 @@ import static org.mockito.Mockito.verify;
* @author Eric Dalquist
* <a href="mailto:eric.dalquist@doit.wisc.edu">eric.dalquist@doit.wisc.edu</a>
*/
public class DelegatingLdapContextTest extends AbstractPoolTestCase {
public class DelegatingLdapContextTests extends AbstractPoolTestCase {
@Test
public void testConstructorAssertions() {

View File

@@ -24,7 +24,7 @@ import static org.mockito.Mockito.verify;
*
* @author Ulrik Sandberg
*/
public class MutableDelegatingLdapContextTest extends AbstractPoolTestCase {
public class MutableDelegatingLdapContextTests extends AbstractPoolTestCase {
@Test
public void testSupportedMethodsAllowedToCall() throws Exception {

View File

@@ -41,7 +41,7 @@ import static org.mockito.Mockito.when;
* @author Eric Dalquist
* @author Anindya Chatterjee
*/
public class DirContextPooledObjectFactoryTest extends AbstractPoolTestCase {
public class DirContextPooledObjectFactoryTests extends AbstractPoolTestCase {
@Test
public void testProperties() throws Exception {

View File

@@ -30,7 +30,7 @@ import static org.mockito.Mockito.when;
* @author Ulrik Sandberg
* @author Anindya Chatterjee
*/
public class MutablePooledContextSourceTest extends AbstractPoolTestCase {
public class MutablePooledContextSourceTests extends AbstractPoolTestCase {
@Test
public void testGetReadOnlyLdapContext() throws Exception {

View File

@@ -24,7 +24,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Anindya Chatterjee
*/
public class PoolConfigTest extends AbstractPoolTestCase {
public class PoolConfigTests extends AbstractPoolTestCase {
@Test
public void testProperties() {

View File

@@ -33,7 +33,7 @@ import static org.mockito.Mockito.when;
* @author Eric Dalquist
* @author Anindya Chatterjee
*/
public class PooledContextSourceTest extends AbstractPoolTestCase {
public class PooledContextSourceTests extends AbstractPoolTestCase {
@Test
public void testProperties() throws Exception {

View File

@@ -9,7 +9,7 @@ import static org.springframework.ldap.query.LdapQueryBuilder.query;
/**
* @author Mattias Hellborg Arthursson
*/
public class LdapQueryBuilderTest {
public class LdapQueryBuilderTests {
@Test
public void buildSimpleWithDefaults() {

View File

@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Adam Skogman
*/
public class LdapEncoderTest {
public class LdapEncoderTests {
@Test
public void testFilterEncode() {

View File

@@ -7,7 +7,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Mattias Hellborg Arthursson
*/
public class LdapNameBuilderTest {
public class LdapNameBuilderTests {
@Test
public void testAddComponentToEmpty() {

View File

@@ -33,7 +33,7 @@ import static org.assertj.core.api.Assertions.fail;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
public class LdapUtilsTest {
public class LdapUtilsTests {
private static final String EXPECTED_DN_STRING = "cn=john.doe, OU=Users,OU=SE,OU=G,OU=I,OU=M";

View File

@@ -27,7 +27,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
public class BindOperationExecutorTest {
public class BindOperationExecutorTests {
private LdapOperations ldapOperationsMock;

View File

@@ -29,7 +29,7 @@ import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
public class BindOperationRecorderTest {
public class BindOperationRecorderTests {
private LdapOperations ldapOperationsMock;

View File

@@ -25,7 +25,7 @@ import javax.naming.directory.DirContext;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
public class LdapCompensatingTransactionOperationFactoryTest {
public class LdapCompensatingTransactionOperationFactoryTests {
private LdapOperations ldapOperationsMock;
@@ -44,8 +44,8 @@ public class LdapCompensatingTransactionOperationFactoryTest {
this.tested = new LdapCompensatingTransactionOperationFactory(this.renamingStrategyMock) {
LdapOperations createLdapOperationsInstance(DirContext ctx) {
assertThat(ctx).isEqualTo(LdapCompensatingTransactionOperationFactoryTest.this.dirContextMock);
return LdapCompensatingTransactionOperationFactoryTest.this.ldapOperationsMock;
assertThat(ctx).isEqualTo(LdapCompensatingTransactionOperationFactoryTests.this.dirContextMock);
return LdapCompensatingTransactionOperationFactoryTests.this.ldapOperationsMock;
}
};
}

View File

@@ -28,7 +28,7 @@ import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
public class LdapTransactionUtilsTest {
public class LdapTransactionUtilsTests {
private DirContext dirContextMock;

View File

@@ -27,7 +27,7 @@ import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoMoreInteractions;
public class ModifyAttributesOperationExecutorTest {
public class ModifyAttributesOperationExecutorTests {
private LdapOperations ldapOperationsMock;

View File

@@ -36,7 +36,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class ModifyAttributesOperationRecorderTest {
public class ModifyAttributesOperationRecorderTests {
private LdapOperations ldapOperationsMock;
@@ -64,7 +64,7 @@ public class ModifyAttributesOperationRecorderTest {
this.tested = new ModifyAttributesOperationRecorder(this.ldapOperationsMock) {
IncrementalAttributesMapper getAttributesMapper(String[] attributeNames) {
return ModifyAttributesOperationRecorderTest.this.attributesMapperMock;
return ModifyAttributesOperationRecorderTests.this.attributesMapperMock;
}
protected ModificationItem getCompensatingModificationItem(Attributes originalAttributes,

View File

@@ -26,7 +26,7 @@ import javax.naming.ldap.LdapName;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
public class RebindOperationExecutorTest {
public class RebindOperationExecutorTests {
private LdapOperations ldapOperationsMock;

View File

@@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class RebindOperationRecorderTest {
public class RebindOperationRecorderTests {
private LdapOperations ldapOperationsMock;

Some files were not shown because too many files have changed in this diff Show More