mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-26 00:00:05 +08:00
#295 Renaming test package
This commit is contained in:
parent
2fde97c039
commit
9f7a00c556
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.mapstruct.ap.test.mapnulltodefault;
|
package org.mapstruct.ap.test.nullvaluemapping;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -26,8 +26,8 @@ import org.mapstruct.Mapper;
|
|||||||
import org.mapstruct.Mapping;
|
import org.mapstruct.Mapping;
|
||||||
import org.mapstruct.Mappings;
|
import org.mapstruct.Mappings;
|
||||||
import org.mapstruct.NullValueMapping;
|
import org.mapstruct.NullValueMapping;
|
||||||
import org.mapstruct.ap.test.mapnulltodefault.source.Car;
|
import org.mapstruct.ap.test.nullvaluemapping.source.Car;
|
||||||
import org.mapstruct.ap.test.mapnulltodefault.target.CarDto;
|
import org.mapstruct.ap.test.nullvaluemapping.target.CarDto;
|
||||||
import org.mapstruct.factory.Mappers;
|
import org.mapstruct.factory.Mappers;
|
||||||
|
|
||||||
import static org.mapstruct.NullValueMappingStrategy.RETURN_DEFAULT;
|
import static org.mapstruct.NullValueMappingStrategy.RETURN_DEFAULT;
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.mapstruct.ap.test.mapnulltodefault;
|
package org.mapstruct.ap.test.nullvaluemapping;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -27,8 +27,8 @@ import org.mapstruct.Mapping;
|
|||||||
import org.mapstruct.Mappings;
|
import org.mapstruct.Mappings;
|
||||||
import org.mapstruct.NullValueMapping;
|
import org.mapstruct.NullValueMapping;
|
||||||
import org.mapstruct.NullValueMappingStrategy;
|
import org.mapstruct.NullValueMappingStrategy;
|
||||||
import org.mapstruct.ap.test.mapnulltodefault.source.Car;
|
import org.mapstruct.ap.test.nullvaluemapping.source.Car;
|
||||||
import org.mapstruct.ap.test.mapnulltodefault.target.CarDto;
|
import org.mapstruct.ap.test.nullvaluemapping.target.CarDto;
|
||||||
import org.mapstruct.factory.Mappers;
|
import org.mapstruct.factory.Mappers;
|
||||||
|
|
||||||
@Mapper(imports = UUID.class, config = CentralConfig.class)
|
@Mapper(imports = UUID.class, config = CentralConfig.class)
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.mapstruct.ap.test.mapnulltodefault;
|
package org.mapstruct.ap.test.nullvaluemapping;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -27,8 +27,8 @@ import org.mapstruct.Mapping;
|
|||||||
import org.mapstruct.Mappings;
|
import org.mapstruct.Mappings;
|
||||||
import org.mapstruct.NullValueMapping;
|
import org.mapstruct.NullValueMapping;
|
||||||
import org.mapstruct.NullValueMappingStrategy;
|
import org.mapstruct.NullValueMappingStrategy;
|
||||||
import org.mapstruct.ap.test.mapnulltodefault.source.Car;
|
import org.mapstruct.ap.test.nullvaluemapping.source.Car;
|
||||||
import org.mapstruct.ap.test.mapnulltodefault.target.CarDto;
|
import org.mapstruct.ap.test.nullvaluemapping.target.CarDto;
|
||||||
import org.mapstruct.factory.Mappers;
|
import org.mapstruct.factory.Mappers;
|
||||||
|
|
||||||
@Mapper(imports = UUID.class, nullValueMappingStrategy = NullValueMappingStrategy.RETURN_DEFAULT)
|
@Mapper(imports = UUID.class, nullValueMappingStrategy = NullValueMappingStrategy.RETURN_DEFAULT)
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.mapstruct.ap.test.mapnulltodefault;
|
package org.mapstruct.ap.test.nullvaluemapping;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
@ -25,8 +25,8 @@ import java.util.Map;
|
|||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.mapstruct.ap.test.mapnulltodefault.source.Car;
|
import org.mapstruct.ap.test.nullvaluemapping.source.Car;
|
||||||
import org.mapstruct.ap.test.mapnulltodefault.target.CarDto;
|
import org.mapstruct.ap.test.nullvaluemapping.target.CarDto;
|
||||||
import org.mapstruct.ap.testutil.WithClasses;
|
import org.mapstruct.ap.testutil.WithClasses;
|
||||||
import org.mapstruct.ap.testutil.runner.AnnotationProcessorTestRunner;
|
import org.mapstruct.ap.testutil.runner.AnnotationProcessorTestRunner;
|
||||||
|
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.mapstruct.ap.test.mapnulltodefault;
|
package org.mapstruct.ap.test.nullvaluemapping;
|
||||||
|
|
||||||
import org.mapstruct.MapperConfig;
|
import org.mapstruct.MapperConfig;
|
||||||
import org.mapstruct.NullValueMappingStrategy;
|
import org.mapstruct.NullValueMappingStrategy;
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.mapstruct.ap.test.mapnulltodefault.source;
|
package org.mapstruct.ap.test.nullvaluemapping.source;
|
||||||
|
|
||||||
|
|
||||||
public class Car {
|
public class Car {
|
@ -16,7 +16,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.mapstruct.ap.test.mapnulltodefault.target;
|
package org.mapstruct.ap.test.nullvaluemapping.target;
|
||||||
|
|
||||||
public class CarDto {
|
public class CarDto {
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user