Difference between revisions of "Fritzbox-java-api"

From BITPlan Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
</source>
 
</source>
 
If you did not setup your configuration file yet there will be a warning:
 
If you did not setup your configuration file yet there will be a warning:
'''You might want to set your application properties in /Users/wf/.fritzbox/application.properties
+
'''You might want to set your application properties in $HOME.fritzbox/application.properties
 
'''
 
'''
 
When the application properties are set more tests are run. E.g. one test should show "Logged in with session id ..."
 
When the application properties are set more tests are run. E.g. one test should show "Logged in with session id ..."

Revision as of 11:00, 26 October 2017

Unit tests

The unit tests can be run with:

mvn test

If you did not setup your configuration file yet there will be a warning: You might want to set your application properties in $HOME.fritzbox/application.properties When the application properties are set more tests are run. E.g. one test should show "Logged in with session id ..."

Configuration File

You might want to set your application properties in $HOME/.fritzbox/application.properties

fritzbox.url=http://fritz.box:443
fritzbox.username=user
fritzbox.password=secret

Links