Java Code Examples for com.google.common.collect.testing.testers.SetHashCodeTester

The following are top voted examples for showing how to use com.google.common.collect.testing.testers.SetHashCodeTester. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: guava-mock   File: SetTestSuiteBuilder.java   View source code 6 votes vote down vote up
@Override
protected List<Class<? extends AbstractTester>> getTesters() {
  List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters());

  testers.add(CollectionSerializationEqualTester.class);
  testers.add(SetAddAllTester.class);
  testers.add(SetAddTester.class);
  testers.add(SetCreationTester.class);
  testers.add(SetHashCodeTester.class);
  testers.add(SetEqualsTester.class);
  testers.add(SetRemoveTester.class);
  // SetRemoveAllTester doesn't exist because, Sets not permitting
  // duplicate elements, there are no tests for Set.removeAll() that aren't
  // covered by CollectionRemoveAllTester.
  return testers;
}
 
Example 2
Project: googles-monorepo-demo   File: SetTestSuiteBuilder.java   View source code 6 votes vote down vote up
@Override
protected List<Class<? extends AbstractTester>> getTesters() {
  List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters());

  testers.add(CollectionSerializationEqualTester.class);
  testers.add(SetAddAllTester.class);
  testers.add(SetAddTester.class);
  testers.add(SetCreationTester.class);
  testers.add(SetHashCodeTester.class);
  testers.add(SetEqualsTester.class);
  testers.add(SetRemoveTester.class);
  // SetRemoveAllTester doesn't exist because, Sets not permitting
  // duplicate elements, there are no tests for Set.removeAll() that aren't
  // covered by CollectionRemoveAllTester.
  return testers;
}
 
Example 3
Project: guava-libraries   File: SetTestSuiteBuilder.java   View source code 6 votes vote down vote up
@Override protected List<Class<? extends AbstractTester>> getTesters() {
  List<Class<? extends AbstractTester>> testers
      = Helpers.copyToList(super.getTesters());
  
  testers.add(CollectionSerializationEqualTester.class);
  testers.add(SetAddAllTester.class);
  testers.add(SetAddTester.class);
  testers.add(SetCreationTester.class);
  testers.add(SetHashCodeTester.class);
  testers.add(SetEqualsTester.class);
  testers.add(SetRemoveTester.class);
  // SetRemoveAllTester doesn't exist because, Sets not permitting
  // duplicate elements, there are no tests for Set.removeAll() that aren't
  // covered by CollectionRemoveAllTester.
  return testers;
}
 
Example 4
Project: guava   File: SetTestSuiteBuilder.java   View source code 6 votes vote down vote up
@Override
protected List<Class<? extends AbstractTester>> getTesters() {
  List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters());

  testers.add(CollectionSerializationEqualTester.class);
  testers.add(SetAddAllTester.class);
  testers.add(SetAddTester.class);
  testers.add(SetCreationTester.class);
  testers.add(SetHashCodeTester.class);
  testers.add(SetEqualsTester.class);
  testers.add(SetRemoveTester.class);
  // SetRemoveAllTester doesn't exist because, Sets not permitting
  // duplicate elements, there are no tests for Set.removeAll() that aren't
  // covered by CollectionRemoveAllTester.
  return testers;
}
 
Example 5
Project: guava   File: SetTestSuiteBuilder.java   View source code 6 votes vote down vote up
@Override
protected List<Class<? extends AbstractTester>> getTesters() {
  List<Class<? extends AbstractTester>> testers = Helpers.copyToList(super.getTesters());

  testers.add(CollectionSerializationEqualTester.class);
  testers.add(SetAddAllTester.class);
  testers.add(SetAddTester.class);
  testers.add(SetCreationTester.class);
  testers.add(SetHashCodeTester.class);
  testers.add(SetEqualsTester.class);
  testers.add(SetRemoveTester.class);
  // SetRemoveAllTester doesn't exist because, Sets not permitting
  // duplicate elements, there are no tests for Set.removeAll() that aren't
  // covered by CollectionRemoveAllTester.
  return testers;
}