Guest User

Untitled

a guest
May 25th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. reactor
  2. | core
  3. | console
  4. | custom-maven-plugin (depends on core)
  5. | test-deployment
  6.  
  7. public abstract class TestBase {
  8. private static final ResourceBundle constants = ResourceBundle.getBundle("constants");
  9. private static final ResourceBundle bundle = ResourceBundle.getBundle("login");
  10. private Connection connection;
  11.  
  12. // ...
  13.  
  14. Connection getConnection() {
  15. // Connection will be created in another method, this one just returns it.
  16. }
  17. }
  18.  
  19. public class ActualTest extends TestBase {
  20. // Uses the connection in tests here.
  21. }
  22.  
  23. printf "userName=$bamboo_login_userNamenpassword=$bamboo_login_password" > core/src/test/resources/login.properties
  24.  
  25. java.util.MissingResourceException: Can't find bundle for base name login, locale en_US
Add Comment
Please, Sign In to add comment