Skip to content

Commit

Permalink
move PropertiesCompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
clagomess committed Mar 8, 2024
1 parent 658d5f2 commit ed21584
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.clagomess.pirilampo.core.util;
package com.github.clagomess.pirilampo.core.compilers;


import com.github.clagomess.pirilampo.core.dto.ParametersDto;
Expand All @@ -8,7 +8,7 @@
import java.util.Properties;

@Slf4j
public class PropertiesUtil {
public class PropertiesCompiler {
private static final String FILENAME = "/../html/config.properties";

public static ParametersDto getData(String sourcePath){
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.github.clagomess.pirilampo.core.util;
package com.github.clagomess.pirilampo.core.compilers;

import com.github.clagomess.pirilampo.core.dto.ParametersDto;
import com.github.clagomess.pirilampo.core.util.PropertiesUtil;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;

Expand All @@ -10,10 +9,10 @@
import static org.junit.jupiter.api.Assertions.assertNotNull;

@Slf4j
public class PropertiesTest {
public class PropertiesCompiler {
@Test
public void parametroToProperties(){
Properties prop = PropertiesUtil.parametroToProperties(new ParametersDto());
Properties prop = PropertiesCompiler.parametroToProperties(new ParametersDto());

assertNotNull(prop.getProperty("txtNome"));
}
Expand Down

0 comments on commit ed21584

Please sign in to comment.