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 org.failearly.fp.learn; | |
import com.google.common.base.Verify; | |
import org.failearly.xquest.Question; | |
import org.javatuples.Triplet; | |
import org.junit.jupiter.api.Test; | |
import java.util.*; | |
import static org.hamcrest.MatcherAssert.assertThat; |
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 org.failearly.fp.learn; | |
import org.failearly.xquest.Question; | |
import org.junit.jupiter.api.Test; | |
import java.util.List; | |
import java.util.Map; | |
import static org.hamcrest.MatcherAssert.assertThat; | |
import static org.hamcrest.Matchers.is; |
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
name | vorname | alter | |
---|---|---|---|
walter | otto | 77 | |
walter | fritz | tot |
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 mdtaglets; | |
import ch.raffael.doclets.pegdown.mdtaglet.MarkdownTaglet; | |
import ch.raffael.doclets.pegdown.mdtaglet.MarkdownTagletBase; | |
import org.apache.commons.lang3.StringUtils; | |
import java.util.List; | |
/** | |
* # HelloTaglet is a sample {@link MarkdownTaglet}. |
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
// Sample1.java |
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
// This is the content of Gist feafcf888d949627001948b8346e0da7 | |
@AnyAnnotation | |
public class MyClass { | |
// Any method | |
} |
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
/** | |
* ajUnit - Final Step 6 (Override method execute()). | |
* | |
* NOW you're done! No more "ajUnit - Setup Error: ..."! You can start developing your aspect - sorry I mean your pointcut :-) | |
* | |
* You got an test failure (not an setup error): | |
* | |
* java.lang.AssertionError: ajUnit - Pointcut test failed with 2 error(s). | |
* | |
* Details: |
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; | |
import org.failearly.ajunit.builder.JoinPointSelector; | |
/** | |
* ajUnit - Step 5 (Override method assertPointcut(JoinPointSelector) and "implement" it by calling JoinPointSelector.notYetSpecified()). | |
* | |
* Next error messages: |
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.testfixture; | |
/** | |
* A test fixture class for ajUnit. These class exists only for ajUnit tests. | |
*/ | |
public class MyTestFixture { | |
} |
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 4 (Create at least one test fixture class and add it/them). | |
* | |
* Next error message: | |
* |
NewerOlder