Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package io.cloudquery.transformers;

import java.lang.reflect.Field;

public interface IgnoreInTestsTransformer {
class DefaultIgnoreInTestsTransformer implements IgnoreInTestsTransformer {
@Override
public boolean transform(Field field) {
return false;
}
}

boolean transform(Field field);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move the impl underneath the methods?

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package io.cloudquery.transformers;

import io.cloudquery.transformers.IgnoreInTestsTransformer.DefaultIgnoreInTestsTransformer;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;

class IgnoreInTestsTransformerTest {
@Test
public void shouldRetrunFalse() {
assertFalse(new DefaultIgnoreInTestsTransformer().transform(null));
}
}