*
* ECOMP and OpenECOMP are trademarks
* and service marks of AT&T Intellectual Property.
- */
+ *
package org.onap.aai.sparky.security.portal;
import org.powermock.modules.junit4.PowerMockRunner;
import org.powermock.reflect.Whitebox;
-@PowerMockIgnore({"javax.crypto.*"})
+@PowerMockIgnore({ "javax.crypto.*" })
@RunWith(PowerMockRunner.class)
-@PrepareForTest({PortalAuthenticationConfig.class, RolesConfig.class})
+@PrepareForTest({ PortalAuthenticationConfig.class, RolesConfig.class })
public class TestPortalRestAPIServiceImpl {
private static File testUsersFile;
enum TestData {
// @formatter:off
- TEST_USERS("src/test/resources/portal/test-users.config"), PORTAL_AUTHENTICATION_PROPERTIES(
- "src/test/resources/portal/portal-authentication.properties"), ROLES_CONFIG_FILE(
- "src/test/resources/portal/roles.config");
+ TEST_USERS ("src/test/resources/portal/test-users.config"),
+ PORTAL_AUTHENTICATION_PROPERTIES ("src/test/resources/portal/portal-authentication.properties"),
+ ROLES_CONFIG_FILE ("src/test/resources/portal/roles.config");
private String filename;
-
- TestData(String filename) {
- this.filename = filename;
- }
-
- public String getFilename() {
- return this.filename;
- }
+ TestData(String filename) {this.filename = filename;}
+ public String getFilename() {return this.filename;}
// @formatter:on
}
assertThat(portalApi.isAppAuthenticated(request), is(true));
}
-}
+}*/
\ No newline at end of file