Skip to content

Instantly share code, notes, and snippets.

@loddar
Created September 22, 2014 12:49
Show Gist options
  • Save loddar/a6e5dc051ab34991eadf to your computer and use it in GitHub Desktop.
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).
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