TestContext.kt 740 Bytes
Newer Older
1 2 3
package org.craftsrecords.talkadvisor.recommendation.stepdefs

import org.craftsrecords.talkadvisor.recommendation.Recommendation
Julien Topçu's avatar
Julien Topçu committed
4
import org.craftsrecords.talkadvisor.recommendation.preferences.Preferences
5
import org.craftsrecords.talkadvisor.recommendation.preferences.Topic
Julien Topçu's avatar
Julien Topçu committed
6
import org.craftsrecords.talkadvisor.recommendation.profile.Profile
7 8 9
import org.craftsrecords.talkadvisor.recommendation.talk.TalkFormat

class TestContext {
Julien Topçu's avatar
Julien Topçu committed
10
    lateinit var requestedTopics: Set<Topic>
11
    lateinit var requestedTalksFormats: Set<TalkFormat>
Julien Topçu's avatar
Julien Topçu committed
12
    lateinit var recommendation: Recommendation
Julien Topçu's avatar
Julien Topçu committed
13 14 15
    lateinit var userId: String
    lateinit var createdProfile: Profile
    lateinit var requestedPreferences: Preferences
16
    var error: Exception? = null
17
}