private boolean hasCleanupUsingScriptAnnotation() { return metadataExtractor.cleanupUsingScript().isDefinedOnClassLevel() || metadataExtractor.cleanupUsingScript().isDefinedOnAnyMethod(); }
private boolean hasCleanupUsingScriptAnnotation() { return metadataExtractor.cleanupUsingScript().isDefinedOnClassLevel() || metadataExtractor.cleanupUsingScript().isDefinedOnAnyMethod(); }
private boolean hasCleanupUsingScriptAnnotation() { return metadataExtractor.cleanupUsingScript().isDefinedOnClassLevel() || metadataExtractor.cleanupUsingScript().isDefinedOnAnyMethod(); } }
public boolean shouldCleanupUsingScript() { return metadataExtractor.cleanupUsingScript().fetchUsingFirst(testMethod) != null; }
public boolean shouldCleanupUsingScript() { return metadataExtractor.cleanupUsingScript().fetchUsingFirst(testMethod) != null; }
public boolean shouldCleanupUsingScript() { return metadataExtractor.cleanupUsingScript().fetchUsingFirst(testMethod) != null; }
private boolean hasCleanupUsingScriptAnnotation(final Method method) { return metadataExtractor.get().cleanupUsingScript().isDefinedOn(method); }
private boolean hasCleanupUsingScriptAnnotation(final Method method) { return metadataExtractor.get().cleanupUsingScript().isDefinedOn(method); }
private boolean hasCleanupUsingScriptAnnotationOnClass() { return metadataExtractor.get().cleanupUsingScript().isDefinedOnClassLevel(); }
private boolean hasCleanupUsingScriptAnnotationOnClass() { return metadataExtractor.get().cleanupUsingScript().isDefinedOnClassLevel(); }
private boolean hasCleanupUsingScriptAnnotation(final Method method) { return metadataExtractor.get().cleanupUsingScript().isDefinedOn(method); } }
private boolean hasCleanupUsingScriptAnnotationOnClass() { return metadataExtractor.get().cleanupUsingScript().isDefinedOnClassLevel(); }
public boolean shouldCleanup() { final CleanupUsingScript cleanupUsingScriptAnnotation = metadataExtractor.cleanupUsingScript().fetchUsingFirst(testMethod); return cleanupUsingScriptAnnotation == null || TestExecutionPhase.NONE.equals(cleanupUsingScriptAnnotation.phase()); }
public boolean shouldCleanup() { final CleanupUsingScript cleanupUsingScriptAnnotation = metadataExtractor.cleanupUsingScript().fetchUsingFirst(testMethod); return cleanupUsingScriptAnnotation == null || TestExecutionPhase.NONE.equals(cleanupUsingScriptAnnotation.phase()); }
public boolean shouldCleanup() { final CleanupUsingScript cleanupUsingScriptAnnotation = metadataExtractor.cleanupUsingScript().fetchUsingFirst(testMethod); return cleanupUsingScriptAnnotation == null || TestExecutionPhase.NONE.equals( cleanupUsingScriptAnnotation.phase()); }
public TestExecutionPhase getCleanupUsingScriptTestPhase() { final CleanupUsingScript cleanupAnnotation = metadataExtractor.cleanupUsingScript().fetchUsingFirst(testMethod); TestExecutionPhase phase = configuration.getDefaultCleanupUsingScriptPhase(); if (cleanupAnnotation != null && !TestExecutionPhase.DEFAULT.equals(cleanupAnnotation.phase())) { phase = cleanupAnnotation.phase(); } return phase; }
public TestExecutionPhase getCleanupUsingScriptTestPhase() { final CleanupUsingScript cleanupAnnotation = metadataExtractor.cleanupUsingScript().fetchUsingFirst(testMethod); TestExecutionPhase phase = configuration.getDefaultCleanupUsingScriptPhase(); if (cleanupAnnotation != null && !TestExecutionPhase.DEFAULT.equals(cleanupAnnotation.phase())) { phase = cleanupAnnotation.phase(); } return phase; }
public TestExecutionPhase getCleanupUsingScriptTestPhase() { final CleanupUsingScript cleanupAnnotation = metadataExtractor.cleanupUsingScript().fetchUsingFirst(testMethod); TestExecutionPhase phase = configuration.getDefaultCleanupUsingScriptPhase(); if (cleanupAnnotation != null && !TestExecutionPhase.DEFAULT.equals(cleanupAnnotation.phase())) { phase = cleanupAnnotation.phase(); } return phase; }