Skip to content

Commit

Permalink
Remove unused imports (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
valfirst committed Jun 20, 2022
1 parent de4ffba commit f77a377
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import org.easymock.EasyMock;
import org.easymock.IExpectationSetters;
import org.easymock.MockType;
import org.easymock.internal.MocksControl;
import org.powermock.core.MockRepository;
import org.powermock.core.spi.NewInvocationControl;
import org.powermock.core.spi.support.InvocationSubstitute;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
import org.powermock.core.transformers.TransformStrategy;
import org.powermock.core.transformers.javassist.support.PowerMockExpressionEditor;

import java.io.File;
import java.io.OutputStream;

public class InstrumentMockTransformer extends AbstractJavaAssistMockTransformer {

private Class<?> mockGetawayClass;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtMethod;
import net.bytebuddy.description.type.TypeDescription;
import net.bytebuddy.dynamic.DynamicType.Builder;
import net.bytebuddy.implementation.FixedValue;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
Expand All @@ -43,7 +40,6 @@

import static org.assertj.core.api.Java6Assertions.assertThat;
import static java.util.Arrays.asList;
import static net.bytebuddy.matcher.ElementMatchers.isDeclaredBy;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertFalse;
import static org.junit.Assume.assumeThat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

import javassist.ClassPool;
import javassist.Loader;
import org.powermock.configuration.GlobalConfiguration;
import org.powermock.configuration.PowerMockConfiguration;
import org.powermock.core.classloader.MockClassLoader;
import org.powermock.core.transformers.MockTransformerChain;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package org.powermock.core.test;

import org.assertj.core.api.Condition;
import org.assertj.core.description.Description;
import org.powermock.core.classloader.MockClassLoaderFactoryTest;

import java.util.Collection;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import samples.powermockito.junit4.finalmocking.MockFinalMethodsCases;
import samples.privateandfinal.PrivateFinal;


/**
* Test class to demonstrate non-static final mocking with Mockito.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
import java.util.LinkedList;
import java.util.List;

import static junit.framework.Assert.assertTrue;
import static org.assertj.core.api.Java6Assertions.assertThat;
import static org.junit.Assert.assertEquals;

/**
* This test demonstrates that the PowerMockRule delegates to other rules.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
import org.jacoco.core.runtime.IRuntime;
import org.jacoco.core.runtime.LoggerRuntime;
import org.jacoco.core.runtime.RuntimeData;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.JUnitCore;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package samples.powermockito.junit4.spy;

import org.assertj.core.api.Assertions;
import org.assertj.core.api.Java6Assertions;
import org.junit.Before;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mockito;
import org.mockito.exceptions.base.MockitoAssertionError;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import samples.expectnew.ExpectNewDemo;
Expand Down

0 comments on commit f77a377

Please sign in to comment.