adds rest communication

- test cases for push and pop
- rest singleton instantiated in MainApplication
  access through context
- pop and peek work, push needs encryption process
  still
This commit is contained in:
2021-12-16 12:21:17 +01:00
parent 3d42f0ca2e
commit 10ba4cf31b
8 changed files with 283 additions and 57 deletions

View File

@ -41,14 +41,6 @@ class FirstFragment : Fragment() {
}
fun testDecryption() {
val code = "dydoes-unknowledgeable-indiscretion-househusbands-pot-walloper-indiscretion-discophorous-transcriptions-dydoes-poodle-faker-transcriptions-budlike"
var mp = MessageProcessor()
if(mp.codeValid(code)) {
mp.codeSave(code)
}
mp.decrypt("M1dEAxKZ5HUHCJoRkgGOvAABhqCAAAAAAGG2eKTSlKXWLDQx5B_wssZsNwsanzQID2UyUm4KKuKYKgfwH5MG2N-qzt6K4mg3pfZmWPaiDB9PiqlX236k6zo9Yvvq")
}
override fun onDestroyView() {