|
1 | 1 | /*
|
2 |
| - * Copyright 2002-2015 the original author or authors. |
| 2 | + * Copyright 2002-2016 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
51 | 51 |
|
52 | 52 | /**
|
53 | 53 | * Alias for {@link #profiles}.
|
54 |
| - * |
55 | 54 | * <p>This attribute may <strong>not</strong> be used in conjunction with
|
56 | 55 | * {@link #profiles}, but it may be used <em>instead</em> of {@link #profiles}.
|
57 | 56 | */
|
|
60 | 59 |
|
61 | 60 | /**
|
62 | 61 | * The bean definition profiles to activate.
|
63 |
| - * |
64 | 62 | * <p>This attribute may <strong>not</strong> be used in conjunction with
|
65 | 63 | * {@link #value}, but it may be used <em>instead</em> of {@link #value}.
|
66 | 64 | */
|
|
70 | 68 | /**
|
71 | 69 | * The type of {@link ActiveProfilesResolver} to use for resolving the active
|
72 | 70 | * bean definition profiles programmatically.
|
73 |
| - * |
74 | 71 | * @since 4.0
|
75 | 72 | * @see ActiveProfilesResolver
|
76 | 73 | */
|
|
79 | 76 | /**
|
80 | 77 | * Whether or not bean definition profiles from superclasses should be
|
81 | 78 | * <em>inherited</em>.
|
82 |
| - * |
83 | 79 | * <p>The default value is {@code true}, which means that a test
|
84 | 80 | * class will <em>inherit</em> bean definition profiles defined by a
|
85 | 81 | * test superclass. Specifically, the bean definition profiles for a test
|
86 | 82 | * class will be appended to the list of bean definition profiles
|
87 | 83 | * defined by a test superclass. Thus, subclasses have the option of
|
88 | 84 | * <em>extending</em> the list of bean definition profiles.
|
89 |
| - * |
90 | 85 | * <p>If {@code inheritProfiles} is set to {@code false}, the bean
|
91 | 86 | * definition profiles for the test class will <em>shadow</em> and
|
92 | 87 | * effectively replace any bean definition profiles defined by a superclass.
|
93 |
| - * |
94 | 88 | * <p>In the following example, the {@code ApplicationContext} for
|
95 | 89 | * {@code BaseTest} will be loaded using only the "base"
|
96 | 90 | * bean definition profile; beans defined in the "extended" profile
|
|
110 | 104 | * // ...
|
111 | 105 | * }
|
112 | 106 | * </pre>
|
113 |
| - * |
114 | 107 | * <p>Note: {@code @ActiveProfiles} can be used when loading an
|
115 | 108 | * {@code ApplicationContext} from path-based resource locations or
|
116 | 109 | * annotated classes.
|
117 |
| - * |
118 | 110 | * @see ContextConfiguration#locations
|
119 | 111 | * @see ContextConfiguration#classes
|
120 | 112 | * @see ContextConfiguration#inheritLocations
|
|
0 commit comments