<commit_before>package com.github.choonchernlim.choonchernlimArchetypeWebapp.controller

import org.springframework.test.context.ContextConfiguration
import org.springframework.test.web.servlet.ResultActions
import org.springframework.test.web.servlet.setup.MockMvcBuilders
import org.springframework.web.servlet.view.InternalResourceViewResolver
import spock.lang.Specification

import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*

// TODO LIMC fix this test!
@ContextConfiguration(["classpath*:spring-test.xml"])
class MockControllerSpec extends Specification {

    def mockController = new IndexController()

    def mockMvc = MockMvcBuilders.standaloneSetup(mockController).
            setViewResolvers(new InternalResourceViewResolver(prefix: '/WEB-INF/jsp/', suffix: '.jsp')).
            build()<commit_msg>clean up<commit_after>package com.github.choonchernlim.choonchernlimArchetypeWebapp.controller

import org.springframework.test.context.ContextConfiguration
import org.springframework.test.web.servlet.ResultActions
import org.springframework.test.web.servlet.setup.MockMvcBuilders
import org.springframework.web.servlet.view.InternalResourceViewResolver
import spock.lang.Specification

import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.view

@ContextConfiguration(["classpath*:spring-test.xml"])
class MockControllerSpec extends Specification {

    def mockController = new IndexController()

    def mockMvc = MockMvcBuilders.standaloneSetup(mockController).
            setViewResolvers(new InternalResourceViewResolver(prefix: '/WEB-INF/jsp/', suffix: '.jsp')).
            build()
{'fraction_non_alphanumeric': 0.09109838625715773, 'fraction_numerical': 0.0, 'mean_word_length': 6.118518518518519, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6209133', 'n_tokens_mistral': 505, 'n_tokens_neox': 510, 'n_words': 80}