Annotations/Decorators Flashcards
1
Q
@Ignore
A
JUnit, ignore test
2
Q
@Before
A
JUnit, execute before each test method
3
Q
@BeforeClass
A
JUnit, before running all tests
4
Q
@Test
A
JUnit, test this method
5
Q
@AfterClass
A
JUnit, execute after all tests
6
Q
@After
A
JUnit, execute after each test method
7
Q
@Injectable
A
decorator for angular, dependency injection
8
Q
@NgModule
A
decorator for angular, declaring a module (similar to class in Java)
9
Q
@Component
A
decorator for angular, put before component
10
Q
@WebServlet(urlPatterns=”/name”)
A
Java, “talk” to servlet using url parameter, annotated above class
11
Q
annotation
A
Java