Skip to content

Commit

Permalink
Fixed test titles
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Oct 15, 2024
1 parent b2e8c2d commit b2f5b95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class DynamicPreloadParseProcessorTest {
private val processor = DynamicPreloadParseProcessor()

@Test
fun `usesDynamicPreload is null when xpath does not contain pulldata`() {
fun `DynamicPreloadExtra is null when xpath does not contain pulldata`() {
val formDef = FormDef()

processor.processXPath(createNonPullDataExpression())
Expand All @@ -27,7 +27,7 @@ class DynamicPreloadParseProcessorTest {
}

@Test
fun `usesDynamicPreload is not null when xpath does contain pulldata`() {
fun `DynamicPreloadExtra is not null when xpath does contain pulldata`() {
val formDef = FormDef()

processor.processXPath(createPullDataExpression())
Expand All @@ -39,7 +39,7 @@ class DynamicPreloadParseProcessorTest {
}

@Test
fun `usesDynamicPreload is null when question appearance does not contain search`() {
fun `DynamicPreloadExtra is null when question appearance does not contain search`() {
val formDef = FormDef()

processor.processQuestion(createQuestion(appearance = "minimal"))
Expand All @@ -51,7 +51,7 @@ class DynamicPreloadParseProcessorTest {
}

@Test
fun `usesDynamicPreload is not null when question appearance does contain search`() {
fun `DynamicPreloadExtra is not null when question appearance does contain search`() {
val formDef = FormDef()

processor.processQuestion(createQuestion(appearance = "search('fruits')"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ExternalDataUseCasesTest {
}

@Test
fun `create() does not create a db file if the FormDef has not a DynamicPreloadExtra()`() {
fun `create() does not create a db file if the FormDef does not have a DynamicPreloadExtra`() {
val form = FormDef()

val mediaDir = TempFiles.createTempDir().also {
Expand All @@ -37,7 +37,7 @@ class ExternalDataUseCasesTest {
}

@Test
fun `create() creates a db file if the FormDef has a DynamicPreloadExtra()`() {
fun `create() creates a db file if the FormDef has a DynamicPreloadExtra`() {
val form = FormDef().also {
it.extras.put(DynamicPreloadExtra())
}
Expand Down

0 comments on commit b2f5b95

Please sign in to comment.