Created
September 22, 2014 12:49
-
-
Save loddar/a6e5dc051ab34991eadf to your computer and use it in GitHub Desktop.
ajUnit - Step 3 (Extend your aspect from one of the provided ajUnit (classic or annotation) aspects).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.company.project.aspects; | |
import org.failearly.ajunit.AjUnit4Test; | |
import org.failearly.ajunit.AjUnitSetup; | |
/** | |
* ajUnit - Step 3 (Extend your aspect from one of the provided ajUnit (classic or annotation) aspects). | |
* | |
* Next Error message: | |
* | |
* ajUnit - Setup Error: Missing test fixture class(es). | |
* - Apply addTestFixtureClass(<class> or <class name>) for every test fixture class. | |
*/ | |
public class MyAjUnit3Test extends AjUnit4Test { | |
@Override | |
public void setup(AjUnitSetup ajUnitSetup) { | |
ajUnitSetup.assignAspect("com.company.project.aspects.MyAspect"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment