<commit_before>#!/usr/bin/env bash
set -ev
# Generate several sets of entities and launch tests after each cases

cd minimalist-app
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/NakedTable.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/DressedTable.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/OTO_Slave.json" "$JHIPSTER_SAMPLES/.jhipster/OTO_Owner.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/OTM_One.json" "$JHIPSTER_SAMPLES/.jhipster/OTM_Many.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/MTM_Slave.json" "$JHIPSTER_SAMPLES/.jhipster/MTM_Owner.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/MTM_Relation_Slave.json" "$JHIPSTER_SAMPLES/.jhipster/MTM_Relation_Owner.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/OTM_Relation_One.json" "$JHIPSTER_SAMPLES/.jhipster/OTM_Relation_Many.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/NoDBHRelationSlave.json" "$JHIPSTER_SAMPLES/.jhipster/NoDBHRelationOwner.json"

yo jhipster:entity NakedTable --force

yo jhipster:entity DressedTable --force

yo jhipster:entity OTO_Slave --force
yo jhipster:entity OTO_Owner --force

yo jhipster:entity MTM_Slave --force
yo jhipster:entity MTM_Owner --force

yo jhipster:entity OTM_One --force
yo jhipster:entity OTM_Many --force

yo jhipster:entity MTM_Relation_Slave --force
yo jhipster:entity MTM_Relation_Owner --force

yo jhipster:entity OTM_Relation_One --force
yo jhipster:entity OTM_Relation_Many --force

yo jhipster:entity NoDBHRelationSlave --force
yo jhipster:entity NoDBHRelationOwner --force

mvn test<commit_msg>add single entity id renaming travis case<commit_after>#!/usr/bin/env bash
set -ev
# Generate several sets of entities and launch tests after each cases

cd minimalist-app
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/NakedTable.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/DressedTable.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/OTO_Slave.json" "$JHIPSTER_SAMPLES/.jhipster/OTO_Owner.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/OTM_One.json" "$JHIPSTER_SAMPLES/.jhipster/OTM_Many.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/MTM_Slave.json" "$JHIPSTER_SAMPLES/.jhipster/MTM_Owner.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/MTM_Relation_Slave.json" "$JHIPSTER_SAMPLES/.jhipster/MTM_Relation_Owner.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/OTM_Relation_One.json" "$JHIPSTER_SAMPLES/.jhipster/OTM_Relation_Many.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/NoDBHRelationSlave.json" "$JHIPSTER_SAMPLES/.jhipster/NoDBHRelationOwner.json"
cp -t .jhipster "$JHIPSTER_SAMPLES/.jhipster/ID_Single.json"

yo jhipster:entity NakedTable --force

yo jhipster:entity DressedTable --force

yo jhipster:entity OTO_Slave --force
yo jhipster:entity OTO_Owner --force

yo jhipster:entity MTM_Slave --force
yo jhipster:entity MTM_Owner --force

yo jhipster:entity OTM_One --force
yo jhipster:entity OTM_Many --force

yo jhipster:entity MTM_Relation_Slave --force
yo jhipster:entity MTM_Relation_Owner --force

yo jhipster:entity OTM_Relation_One --force
yo jhipster:entity OTM_Relation_Many --force

yo jhipster:entity NoDBHRelationSlave --force
yo jhipster:entity NoDBHRelationOwner --force

yo jhipster:entity ID_Single --force

mvn test
{'fraction_non_alphanumeric': 0.10782175132440013, 'fraction_numerical': 0.0, 'mean_word_length': 5.6875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1353041', 'n_tokens_mistral': 1283, 'n_tokens_neox': 1303, 'n_words': 239}